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
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
?>
-- 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
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,
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("\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
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
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
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?.?.?.
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
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
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