Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: open print dialog box

by liverpole (Monsignor)
on Mar 06, 2010 at 01:10 UTC ( #827087=note: print w/ replies, xml ) Need Help??


in reply to open print dialog box

Hi memo.garciasir,

The following will do it:

use strict; use warnings; use Win32::Printer; my $dc = new Win32::Printer(dialog => '1');

If you want to do more than that, please read the documentation for Win32::Printer.  I had never used it myself until I saw your question, but a few minutes with Google pointed me right to that documentation.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/


Comment on Re: open print dialog box
Download Code
Replies are listed 'Best First'.
Re^2: open print dialog box
by memo.garciasir (Acolyte) on Mar 24, 2010 at 18:49 UTC

    Thanks, after a couple of problems to download Win32::Printer, all works fine

    I there something similar for Linux?

    Regards,

    memo

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-28 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls