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 4
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
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,
To: [EMAIL PROTECTED]
Subject: [PHP] Printer Functions
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
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,
I'm trying to output HP PCL commeands using the printer_write command.
For example:
$str=sprintf(\033d0D); // Underline Text
$str.=Text to print;
$str.=sprintf(\033cE); // Reset printer
$handle = printer_open('DOMAIN\\PSERVER');
printer_write($handle,$str);
printer_close($handle);
The
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:
?php
$handle = printer_open();
printer_start_doc($handle, Hello World);
printer_start_page($handle);
printer_end_page($handle);
printer_end_doc($handle);
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
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
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
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
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
12 matches
Mail list logo