First, we are trying to print a legal size document and the printer is not requesting legal size paper. If legal size paper is loaded, it still prints a letter size image only. Can this be done? If so what is the configuration needed? Secondly, is there any way to configure the printer so a print page range can be printed?
If printing to an ASCII printer, then you should use Host Print Transform (HPT). The best starting point for the configuration for your particular printer can be found here.
As far as printing to legal sized paper with a 'request' for the paper, that can get tricky with ASCII printers. You want to make sure that the device description accurately reflects the paper in each printer drawer. If the printer description thinks it only has letter sized paper, then you are likely to encounter problems. You will want to check your device description:
Word length . . . . . . . . . . 8 *SAME, *TYPE, 7, 8 Type of parity . . . . . . . . . *NONE *SAME, *TYPE, *EVEN, *ODD... Stop bits . . . . . . . . . . . 1 *SAME, *TYPE, 1, 2 Host print transform . . . . . . *YES *SAME, *NO, *YES Manufacturer type and model . . *HP5SI Paper source 1 . . . . . . . . . *LETTER *SAME, *MFRTYPMDL, *LETTER... Paper source 2 . . . . . . . . . *LETTER *SAME, *MFRTYPMDL, *LETTER... Envelope source . . . . . . . . *NUMBER10 *SAME, *MFRTYPMDL... ASCII code page 899 support . . *NO *SAME, *NO, *YES Image configuration . . . . . . *NONE *SAME, *NONE, *IMGA01... Character identifier:Regarding your second question, page range support should work fine with an ASCII printer, assuming that you get the above issues resolved first. The only caveat is that if you are using HPT with overlays and/or *FORMDF/*PAGDFN, then page ranges only work beginning from page 1. If you start printing after page 1, then any of your AFP functionality will be lost. This is because PSF/400 stores the AFP information in front of page 1.
Related Q&A from Chip Milosch
To print a single document with all of the one page reports generated by the iSeries you need to first create a program that bundles all the ...continue reading
When encountering difficulties printing using Personal Communications 5.7, analyze the printer setup process to fix any problems.continue reading
Issue an override print file command before copying a file to QSYSPRT in order to acknowledge control characters without writing a program on the AS/...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.