Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Raw Data to Printer on Win XP

by jfroebe (Vicar)
on Sep 29, 2004 at 21:50 UTC ( #395148=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Raw Data to Printer on Win XP
in thread Raw Data to Printer on Win XP

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


Comment on Re^3: Raw Data to Printer on Win XP
Re^4: Raw Data to Printer on Win XP
by dvergin (Monsignor) on Sep 29, 2004 at 22:34 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://395148]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-09-30 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (385 votes), past polls