in reply to How does a perl program connect to a windows network printer?

Depending very-much on the exact printer that is involved, you can set up “profiles” for a printer in Windows which control exactly how printing is to be done.

Here is a node that might help: http://www.perlmonks.org/?node_id=678462.

Googling perl printfile landscape windows seemed to produce some promising-looking results.   If you no longer see the shell-commands that would have been needed in Solaris, nor anything directly comparable to them, then the necessary setup most likely isn’t in the Perl software anymore at all.   Windows is heavily dependent upon settings that must be “correctly” made elsewhere.

Replies are listed 'Best First'.
Re^2: How does a perl program connect to a windows network printer?
by iskinner (Novice) on Feb 08, 2011 at 16:08 UTC

    "Here is a node that might help: http://www.perlmonks.org/?node_id=678462."

    Unfortunately that was my node from 2008 when I was porting the code from Unix to Windows. I have never managed to get the Win32:Printer method to work with a text file. The currently working printer does not use that functionality.

    "Windows is heavily dependent upon settings that must be 'correctly' made elsewhere."

    That is what I am hoping to find. Other "elsewhere" locations that Window's printer settings can be made. Because the ones I know about and have looked at are not apparently controlling the current printer.