ASPDaddy
asked on
How to insert printer commands into a MS Word doc to determine printer tray
I have a HP Laser Jet Pro M401dne and P3015X with 2 and 3 trays respectively.
How do I insert Printer control codes into the document to send a print job to multiple trays e.g page 1 to tray 1 page 2 to tray 2.
We are using a PCL5 Driver for the M401dne and PCL6 for the P3015X, botha are installed on the Server (windows 2003) . The clients are mostly Windows 7 Pro and a few XP Pro running MS Office 2010 Pro.
Thanks
How do I insert Printer control codes into the document to send a print job to multiple trays e.g page 1 to tray 1 page 2 to tray 2.
We are using a PCL5 Driver for the M401dne and PCL6 for the P3015X, botha are installed on the Server (windows 2003) . The clients are mostly Windows 7 Pro and a few XP Pro running MS Office 2010 Pro.
Thanks
ASKER
Do you know how I can dtermine the Tray ID for the Printer Trays
Do you know any alternative approach for PCL6 to send output to a pre-determined tray
Thanks
Do you know any alternative approach for PCL6 to send output to a pre-determined tray
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Very clear!
For example:
{ PRINT 27"&l4H" }
will pass the PCL5 escape sequence
Open in new window
(which should cause the printer to select the source tray with identifier 4 - note that this is an internal identifier, and not the same as as the external, user visible, tray number); these identifiers are not necessarily the same on different printer models.You will not be able to use this technique with a PCL6 driver, since the PCL6 (PCL XL) Page Description Language is totally different to the escape-based PCL5 PDL; there is no equivalent mechanism (it would be too complex to do, due to the nature of the PCL XL PDL).