Some AS/400 printers require special print file characteristics in order to print correctly. Print file characteristics such as page size, lines per inch and characters per inch can be changed using the Override Printer File (OVRPRTF) command. But what if you don't know the name of the printer file you want to override?
No problem. Just use the special value *PRTF for the printer file name in the OVRPRTF command. This method overrides all printer files used by a job. For example, I happen to use, quite often, an HP LaserJet printer which is attached to our AS/400. When I do, I first issue the following command:
OVRPRTF FILE(*PRTF) + PAGESIZE(88 132) + LPI(8) + CPI(16.7) + OVRFLW(80) + PAGRTT(0)
This forces all spool files which I create interactively to automatically print in compressed mode. This way, I am able to print a 132-column report on an 8 1/2 x 11 sheet of paper. Even the printer files used by OS/400 commands which allow OUTPUT-(*PRINT) are overridden, including the output created by pressing the Print key. This technique could also be used to create spool files already on hold or save mode or directed to a particular output queue or device.
LATEST COMMENTS
MC Press Online