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.