[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Changing trays for Windows printers



>There is no generique code, every printer may have a special setup
>command.
>If you want to know what code to use to do this ...
>
>I recommend to connect to
>http://www.hp.com/cpso-support/generic/pcl/pjlwiz.html#resultwin
>it is a graphical tools that generate the code for you.


Hi Franck, Helen, and Sameer,

thanks for your answers. I came up with a different idea that I will try out
in a couple of days, which can be used with the WP printer driver:
One could write an external function (DLL) that switches the printer tray as
needed. IIRC, this piece of information is part of the DEVMODE structure.
That way, there is no need to know the specific ASCII codes for the
different printers the report output is sent to - the Windows driver takes
care of that.

Did anyone try this?

Regards,
Thomas Althammer