Problem:

When using iSeries Office Integrator or FTP Remote Command Server, you need to choose the paper drawer for printing.
 

Solution:

Prerequisite: Either:
  • iSeries Office Integrator version 1.13 or above.
  • FTP Remote Command Server version 1.12 or above.
To set up the printer paper drawer:
  1. In Programs, run RJS Printer Tray List to display a list of the paper tray numbers for your printers.
  2. To use:
    • The MERGELETTERPRINT directive from the FTPRUNPC or OFCRUNPC commands, use the following syntax:

      OFCRUNPC CMD('MERGELETTERPRINT~C:\TEST.DOT~C:\TEST.TXT~HP Laserjet 4~1~2') OPTION(*WORDOLE)

      • Parameter 1 - MERGELETTERPRINT, the Microsoft Word command.
      • Parameter 2 - The template file name. In this example: C:\TEST.DOT
      • Parameter 3 - The merge data-file name. In this example: C:\TEST.TXT
      • Parameter 4 - The printer name. In this example: HP Laserjet 4
      • Parameter 5 - The drawer number for the first page. In this example: 1
      • Parameter 6 - The drawer number for the other pages. In this example: 2
    • The WORDFILEOPENPRINT directive from the FTPRUNPC or OFCRUNPC commands, use the following syntax:

      OFCRUNPC CMD('WORDFILEOPENPRINT~C:\TEST.DOC~HP Laserjet 4~1~2') OPTION(*WORDOLE)  

      • Parameter 1 - WORDFILEOPENPRINT, the Microsoft Word command.
      • Parameter 2 - The file name. In this example: C:\TEST.DOC
      • Parameter 3 - The printer name. In this example: HP Laserjet 4
      • Parameter 4 - The drawer number for the first page. In this example: 1
      • Parameter 5 - The drawer number for the other pages. In this example: 2

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016