Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: Raw Data to Printer on Win XP

by jfroebe (Parson)
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


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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-11-24 23:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (665 votes), past polls