Re: how to print to a file by php_printer functions ?

From: Date: Tue, 24 Feb 2004 00:49:10 +0000
Subject: Re: how to print to a file by php_printer functions ?
Groups: php.windows 
Request: Send a blank email to php-windows+get-22942@lists.php.net to get a copy of this message
$ptr = printer_open($str_printer); printer_set_option($ptr, PRINTER_MODE, "RAW"); printer_set_option($ptr, PRINTER_OUTPUT_FILE, "c:\\test.ptr"); if ($ptr) { printer_write($ptr, $str_text); printer_close($ptr); } else { echo "No default printer found!\n"; } - Frrank > Hi, > > How to print to a file by php_printer functions ? > Thanks. > > > Yue Gong >

« previous php.windows (#22942) next »