Re: problem with printing to a usb printer using php_printer.dll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is the dell 720 capable of recieving raw text with no leading escape codes ?

I know modern epson prointers are not.

why are you sending "raw"

-- 
Louis Solomon
www.SteelBytes.com

"Sean Rowe" <ichabooka@xxxxxxxxx> wrote in message 
news:2C.CC.42553.F1863C24@xxxxxxxxxxxxxxx
> if no one knows the answer to this, do you at least know where i should go 
> to find it?  i'm in a bit of a bind here, and i'm willing to figure it out 
> on my own.  if anyone knows where i can start, i would really appreciate 
> it. thanks.
>
> sean rowe
>
> Sean Rowe wrote:
>> I have been trying to get this small bit of code to work using my dell 
>> photo
>> printer 720 (or any usb printer, for that matter):
>>
>> <?php
>> $handle = printer_open("Dell Photo Printer 720"); // printer being the 
>> name
>> of the printer
>> printer_set_option($handle, PRINTER_MODE, "raw");
>> printer_set_option($handle, PRINTER_COPIES, "3"); // i want 3 copies
>> printer_write($handle, "This is a test");
>> printer_close($handle);
>> ?>
>>
>> The printer is initialized, and the job is spooled; however, before it
>> prints anything the print manager deletes the job!  I have tries this on
>> several different computers running IIS and Apache with the same results. 
>> I
>> tried it from the command line too, with the same results.  I'm about to
>> lose my mind.  This code works fine if I use a non-usb printer.  Any 
>> ideas?
>>
>> Sean Rowe 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux