Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: ok, still tryna print!

by krisahoch (Deacon)
on Aug 28, 2002 at 15:58 UTC ( [id://193487]=note: print w/replies, xml ) Need Help??


in reply to ok, still tryna print!

Alex,

Try this

use Printer; use Data::Dumper; my $prn = new Printer('linux' => 'lp', 'MSWin32' => 'LPT1' ); my %data = $prn->list_printers; print Dumper %data;
That should tell you what is stored in the hash, and give you the means to figure problems like this out in the future

Data::Dumper has been an valuable tool for me.

Kristofer A. Hoch

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found