Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Win32 Printing

by harryC (Sexton)
on Feb 19, 2006 at 19:18 UTC ( [id://531283]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32 Printing
in thread Win32 Printing

i want to print a text file from to the default windows printer . I don't know wich printer that wil be on the pc's who wil run the software it could be a local printer or a network printer

Replies are listed 'Best First'.
Re^3: Win32 Printing
by BrowserUk (Patriarch) on Feb 20, 2006 at 00:07 UTC

    Maybe the simplest option is system "print $file";.

    The downside is that if they don't have printer configured, or if it is turned off, or it is set to a network printer and they aren't connected to it, then the user will be prompted by popup.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-03-29 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found