Setting Printer Default Settings with with iSeries Office Integrator
From Support
This article describes setting the default Windows printer as well as printer bin/printer tray and duplex settings for a selected printer using the iSeries Office Integrator.
Note: Requires the iSeries Office Integrator PC server component V1.1.38 as well as EVENTVB5.DLL (V1.3.2) which is installed with the iSeries Office Integrator V1.1.38 full install.
The following command sets the default printer to HP LaserJet 5 and then changes the duplex to duplexvertical and the printer tray to 15 - (Auto Select). Always delimit parameters with the tilde (~) character.
OFCRUNPC RMTSYS(*CURRENT) CMD('PRINTERSELECT~HP LaserJet 5~SIMPLEX~1') OPTION(*OTHER)
P1 = PRINTERSELECT (Select printer option)
P2 = Printer Name
P3 = Duplex Mode
SIMPLEX - Print single sided output.
DUPLEXHORIZONTAL - Print duplex output and flip page horizontally.
DUPLEXVERTICAL - Print duplex output and flip page horizontally.
P4 = Numeric printer bin/printer tray number.
Note: Use the RJS Printer Tray List program (included with iSeries Office Integrator) to determine the correct tray numbers. 15 = auto select.
