Printer Tray Support when Printing via iSeries Office Integrator
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Problem:
You want to be able to control the paper drawer used when printing via the iSeries Office Integrator or FTP Remote Command Server
Solution:
1.) Download and install V1.12 or later of the FTP Remote Command Server or V1.13 or later of the iSeries Office Integrator.
2.) After installation of the update, run the "RJS Printer Tray List" program from the program group to determine the paper tray numbers associated with the drawers on your printers. These settings come from the selected print driver. The RJS Printer Tray List program simply allows visibility to these settings because they are important when telling MS Word which paper drawer to print from.
3.) When running the MERGELETTERPRINT directive from the FTPRUNPC or OFCRUNPC commands, use the following syntax
Example CL usage:
OFCRUNPC CMD('MERGELETTERPRINT~C:\TEST.DOT~C:\TEST.TXT~HP Laserjet 4~1~2') OPTION(*WORDOLE)
Parm 1 = Word command
Parm 2 = Template File Name
Parm 3 = Merge DataFile Name
Parm 4 = Printer Name
Parm 5 = First Page Drawer Number
Parm 6 = Other Pages Drawer Number
Parms Added PC component V1.1.44 - 10/18/2004
Parm 7 = SQL Where clause for selecting data from Merge Data file on PC after transfer from AS400. The WHERE is implied in the statement
Ex: CUSNUM >= 123456 -or- CUSNUM >= 123456 and CUSNUM <= 999999
Parm 8 = Duplex mode
SIMPLEX
DUPLEXVERTICAL
DUPLEXHORIZONTAL
Parm 9 = Copies
This sample merges the selected template with the selected data and prints to the selected printer. The first page is printed to drawer 1 and all other pages are printed to drawer 2.
4.) When running the WORDFILEOPENPRINT directive from the FTPRUNPC or OFCRUNPC commands, use the following syntax:
Example CL usage:
OFCRUNPC CMD('WORDFILEOPENPRINT~C:\TEST.DOC~HP Laserjet 4~1~2') OPTION(*WORDOLE)
Parm 1 = Word command
Parm 2 = File Name
Parm 3 = Printer Name
Parm 4 = First Page Drawer Number
Parm 5 = Other Pages Drawer Number
Parms Added PC component V1.1.44 - 10/18/2004
Parm 6 = Duplex mode
SIMPLEX
DUPLEXVERTICAL
DUPLEXHORIZONTAL
Parm 7 = Copies
