Re: [PHP] printer functions

2007-02-23 Thread Richard Lynch
On Tue, February 20, 2007 7:57 am, Leslie Aguilera wrote: > I am having problems with the printer functions, > I have a touch screen pos system and it works very fine, > all prints works ok on receipt, ticket printers, > now the problem I am having is getting it to work on a lan, > with 2 computer

[PHP] printer functions

2007-02-21 Thread Leslie Aguilera
Hi PHP I am having problems with the printer functions, I have a touch screen pos system and it works very fine, all prints works ok on receipt, ticket printers, now the problem I am having is getting it to work on a lan, with 2 computer 4 printers, if I send information to from A to computer B

RE: [PHP] Printer Functions

2004-04-05 Thread jon roig
?> -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Lou Apolonia [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 6:02 AM To: [EMAIL PROTECTED] Subject: [PHP] Printer Functions My question inv

[PHP] Printer Functions

2004-04-05 Thread Lou Apolonia
My question involves sending html to the printer to be printed properly. Here is my code: $handle = printer_open('Lexmark Z25-Z35'); printer_start_doc($handle, "test"); printer_start_page($handle); printer_set_option($handle, PRINTER_MODE, 'raw'); printer_set_option($handle, PRINTER_PAPER_FORMAT,

[PHP] Printer functions

2004-03-31 Thread Lou Apolonia
My question involves sending html to the printer to be printed properly. Here is my code: $handle = printer_open('Lexmark Z25-Z35'); printer_start_doc($handle, "test"); printer_start_page($handle); printer_set_option($handle, PRINTER_MODE, 'raw'); printer_set_option($handle, PRINTER_PAPER_FORMAT,

[PHP] printer functions and pcl

2003-11-03 Thread Mark Newnham
I'm trying to output HP PCL commeands using the printer_write command. For example: $str=sprintf("\033&d0D"); // Underline Text $str.="Text to print"; $str.=sprintf("\033cE"); // Reset printer $handle = printer_open('DOMAIN\\PSERVER'); printer_write($handle,$str); printer_close($handle); The

Re: [PHP] Printer Functions

2003-10-03 Thread Evan Nemerson
php.net/printer: "These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. Installation Add the line extension=php_printer.dll to your php.ini file." On Friday 03 October 2003 02:15 pm, Roger Spears wrote: > Hello, > > I was wondering if a

Re: [PHP] Printer Functions

2003-10-03 Thread Marek Kilimajer
Check the manual. It's windows only extension, you must have php_printer.dll in your extension directory and extension=php_printer.dll must be in php.ini Roger Spears wrote: Hello, I was wondering if anyone has had any level of success with printer functions. I'm trying to get the following co

[PHP] Printer Functions

2003-10-03 Thread Roger Spears
Hello, I was wondering if anyone has had any level of success with printer functions. I'm trying to get the following code to work: I get the following error: "printer_open() is an undefined function". I'm guessing that the printer functions were never installed with my version of PHP?.?.?.

[PHP] Re: php printer functions...

2002-04-18 Thread Yasuo Ohgaki
Jimmy wrote: > I'm running PHP 4.1.1 on a Win2K box. If I understand the manual correctly, > the printer functions have been integrated into PHP as of v4.0.4. However, > when I try to call any of the printer functions, nothing works. > > Any ideas or suggestions? > You need to build/install e

[PHP] php printer functions...

2002-04-18 Thread Jimmy
I'm running PHP 4.1.1 on a Win2K box. If I understand the manual correctly, the printer functions have been integrated into PHP as of v4.0.4. However, when I try to call any of the printer functions, nothing works. Any ideas or suggestions? TIA -josh -- PHP General Mailing List (http://ww

[PHP] PHP Printer functions

2002-03-14 Thread J. Wharton
I am attempting to change the orienation of printing for a page with a huge table to landscape instead of portrait. This is the code I used: $defprintercon=printer_open(); printer_set_option( $defprintercon, PRINTER_ORIENTATION, PRINTER_ORIENTATION_LANDSCAPE); printer_close($defprintercon); When