User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,833 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,515 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1085 | Replies: 2
Reply
Join Date: Jul 2005
Posts: 155
Reputation: aparnesh is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 8
aparnesh's Avatar
aparnesh aparnesh is offline Offline
Junior Poster

Question Printing from Php

  #1  
May 30th, 2006
Hi

I need to build a online transaction processing system using php and mySQL. Sorry to say, I am a newbie at this. One of the requirements is that when a transaction is processed, a printed bill/invoice should be generated. Can this be done in php ?

If I am not mistaken, a printed output could be generated from ASP by using Crystal Reports or similar third party tools. Is there any such tool for php ? Also, is there a way to do this directly from php ? It would be Ok, I guess, if a text file could be generated from php and the output directed towards the printer.

I would appreciate any pointers/tips/suggestions.

Regards
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Location: North Carolina
Posts: 25
Reputation: Banderson is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
Banderson's Avatar
Banderson Banderson is offline Offline
Light Poster

Re: Printing from Php

  #2  
May 30th, 2006
Go to: http://php.net/printer_open

Maybe this will help you.
Reply With Quote  
Join Date: Jul 2005
Posts: 155
Reputation: aparnesh is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 8
aparnesh's Avatar
aparnesh aparnesh is offline Offline
Junior Poster

Re: Printing from Php

  #3  
May 31st, 2006
Thanks for the tip.

One of the user comments was that it worked only at the server, not at the client side. So it may not really work for me. Maybe I will have to look for some client side tools like javascript.

regards
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 7:23 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC