How to select Output Tray from PDFPrint Command Line application?


How can I configure pdfprint to print to an output tray? I have a taskalfa 4500i and want to print to different output-trays.

Thanks for your message, you can use -chgbin or -papersource option to control the output trays,

-listbins : list bins/trays of a printer
-listjobs : list print jobs in printer's queue
-listall : list printers, ports, monitors etc.
-listpapers : list supported papers from a printer.
-chgbin <int> : change bin/tray for printer by number
-papersource <string> : change bin/tray for printer by name

for example,

pdfprint.exe -listbins -printer "docPrint"
pdfprint.exe -listpapers -printer "docPrint"
pdfprint.exe -chgbin 15 -printer "docPrint" C:\input.pdf
pdfprint.exe -papersource "auto" -printer "docPrint" C:\input.pdf
pdfprint.exe -papersource "Tray 1" -printer "docPrint" C:\input.pdf
pdfprint.exe -papersource "Manual Feed" -printer "docPrint" C:\input.pdf
pdfprint.exe -papersource "Media Tray" -printer "docPrint" C:\input.pdf
pdfprint.exe -papersource "Tray 3" -settraytopclfile C:\test.pcl


actually I need to change output tray, not input tray. Tray where the
printed papers are output.


PDFPrint Command Line does support "-savedevmode" and "-loaddevmode" options, you can use these options to control the output trays.

You may by following steps to set output trays, nUp, margins, duplex, paper size, staple, fold, tray (paper source), etc. options,

1. Please run following command line to prompt the user Printer Dialog and save the printer settings to a disk file,
   pdfprint.exe -savedevmode D:\printer.dat -printer "Your Printer Name"

2. In the Printer Dialog, you can set following options, such as,

   set output trays,
   set nUp option to printer,
   set "Duplex" option to "Top-Top" or others,
   set default paper tray to "Tray 3" or others,
   set the paper size to "11x17" or others,
   set other options that you want,
   set staple to "on" or others,
   set fold or staple option,
   set double sided printing option,
   set tray (paper source) option,
   set dithering option,
   specify the paper "type", for example: Plain, High Quality, Color Specific, Coated GL, Coated ML, Coated GO and Coated MO, etc.

   click "OK" to close Printer Dialog, you will get a D:\printer.dat file,

3. Please run following command line to load the devmode from disk file and set it to printer,
   pdfprint.exe -loaddevmode D:\printer.dat -printer "Your Printer Name" D:\input.pdf

4. OK, you will able to print your PDF file with correct options.

We hope above solution will helpful to you, please to try.


VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!