RE: [PHP] sending to local printer

From: Date: Fri, 18 Oct 2002 14:25:24 +0000
Subject: RE: [PHP] sending to local printer
Groups: php.general 
Request: Send a blank email to php-general+get-120510@lists.php.net to get a copy of this message
<< All these "printer" functions seem to refer to the printer attached to the server. I am looking for a way to send a print job to the client's printer (without having to display the page they want to print out first). Is this possible? Any help would be appreciated. I am actually looking to print to a COD form, so any tips on how to format the printing for a COD form would be appreciated too. Thanks in advance,>> As far as I know, I don't think you can because PHP works solely on the server. It can't force the client to do anything but display a page. But I think there's a JavaScript way to invoke the printer dialog. You could have PHP spit out some JavaScript, but that's supposing the client computer has JS enabled.

« previous php.general (#120510) next »