faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 23 people (39%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I print to client printer by PHP? I can only print to server or share client printer .

Nov 28th, 2008 07:18
healthy man, peter versan setier, satit prapin,


to print to client :

                     1. Use pdf file
                         -  create pdf file
                            * refer to http://www.ros.co.nz/pdf on how
to create pdf file
                         -  open the pdf file using javascript 
(window.open (url))                

                     2. In unix/linux

                         - using system command of PHP
                           * system("lpr -Pprintername   filename")    
                             ;

                         note : but you have to configure the printer of
the client in your server.

http://www.healthdothealth.com
http://www.healthxhealth.com
http://www.mesotheliomainmesothelioma.com
http://www.healthfirewall.com
http://www.flathealth.com
http://www.healthbodyguard.com