in reply to Re: Raw Data to Printer on Win XP in thread Raw Data to Printer on Win XP
question is how to print raw data to printer -- NOT how to re-direct a port!!!!
in the plethora of options for most decent printer drivers, you get an option to print RAW data, so that's accessed through the printer's control panel. then it's only a matter of actually sending the output to the printer...which i'm not too sure on.
Re^3: Raw Data to Printer on Win XP
by jfroebe (Parson) on Sep 29, 2004 at 21:50 UTC
|
Hi,
I think what you are looking for is for a perl module or code that allows you to print to the Windows Print API ... you can do so using Win32::Printer. You will also want to use Win32::Printer::Enum to determine which printers are available.
hope this helps
Jason L. Froebe
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
| [reply] |
|
I was quite hopeful when I first ran across Win32::Printer during the course of this current quest. In fact, I went ahead and installed it for use later with other projects.
But in reading and re-reading the docs. And in re-reading them yet again before responding to your suggestion just now, I can find no way to use that module to send a raw string as-is directly to the printer. After my eyes got "scrolled-out" I finally tried a text search for 'raw' and 'direct' in the pod. But no good.
I'd love for you to point out the option for that module I have missed that allows such a thing.
| [reply] |
Re^3: Raw Data to Printer on Win XP
by terra incognita (Pilgrim) on Sep 29, 2004 at 22:14 UTC
|
Since the OP has "brushed up on MODE" which alows you to re-direct printer ports I figured it was on topic. You can often also FTP directly to the newer printers. Putting a file will cause a the printer to print it, it will also bypass the print server queue. :-) Of course that may not solve you problem either. Just my 2 cents. | [reply] |
|
| [reply] |
|