These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Printing from Different trays in an application

Jaggernaut
Registered: May 4 2007
Posts: 2

I have Acrobat Reader 8.0 on a machine and I'd like to print PDF's silently from a Windows Application. Today we use the AcroRd32.exe /t function, however, I need to specify the tray in which the printouts should end up, depending on the file that is being printed. If I print blablabla.std.pdf it absolutely positively needs to go out from Tray2 on the printer and if I print blablabla.t3.pdf it HAS to come from Tray3 on the printer. For this purpose I've created two separate Printer Cues, which uses the different Trays as Printing defaults. Acrobat for some reason chooses to print them from a random tray thou, which causes ~60% of all printouts to come from the wrong tray.
 
Is there a way to solve this? Either by another command using the shell or through Adobe Acrobat 8 SDK?

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
No, Acrobat does not provide a method for selecting the print tray. This is a property of the specific printer(i.e., the specific print driver), which Acrobat doesn't know anything about. Acrobat can however select the "printer" that the document is sent too, look in the Acrobat JS Ref at the "app.printerNames" property.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script