Re: Printing on a local printer

From: Date: Sat, 23 Dec 2000 23:52:51 +0000
Subject: Re: Printing on a local printer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31717@lists.php.net to get a copy of this message
"Kraa de Simon" <Simon.de.Kraa@icl.nl> wrote ... > A customer wants data from an html form printed on a local printer. > We are talking about pre-printed forms; so only data like name, > address, price must be send to the printer. > How could/should I handle this using PHP? If you are in a controlled environment and know the type of printer, perhaps you could generate a Postscript file that the user could download and copy to their (Postscript) printer. If the forms are pre-printed and you only need to print a few lines of text in accurate postions on the page Postscript would be a good choice. As Postscript is fairly simple you should be able to generate a simple file yourself, without needing external libraries as is the case for PDF.

« previous php.general (#31717) next »