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

Yes the printer is listed in the windows printer and faxes control panel. That was a great deal of the confusion. Changing anything in the printer control dialog for the new printer did not have any affect on the output produced by the Perl code. Also, looking at the printer control dialog of the current printer that is producing proper results showed none of the settings required to produce the desired output!

The solution has been found. A different set of settings on the HP printer. The PCL settings. I don't really know what the PCL settings are, how they differ from the other printer settings normally accessed through the print driver dialog, nor why the Perl Win32::Print::Direct printfile function sends the jobs utilizing the PCL settings rather then the print driver settings. But changing the appropriate options on the PCL configuration through the printer control panel produced the desired output!

Hurray!!!

  • Comment on Re^2: How does a perl program connect to a windows network printer?

Replies are listed 'Best First'.
Re^3: How does a perl program connect to a windows network printer?
by BrowserUk (Patriarch) on Feb 08, 2011 at 19:20 UTC
    The PCL settings. I don't really know what the PCL settings are, how they differ from the other printer settings normally accessed through the print driver dialog

    PCL is Printer Command Language.

    nor why the Perl Win32::Print::Direct printfile function sends the jobs utilizing the PCL settings rather then the print driver settings.

    I'm guessing that is what the "Direct" bit in the name means. It bypasses the Windows mechanisms by talking printer native PCl directly to the printer.

    Anyway. Well done for coming back and leaving a record of the solution. You never know who it might help in the future.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.