TallyGenicom Technical Support

TechNote:

IBM_012

Product Line:

Serial and Line Printers

Description:

AS/400 CPI problems printing with HPT (Host Print Transform)

Date:

09-20-2005

Contributor/s:

Richard Bright

Issue / Symptom:
The wrong CPI is printed. For example 10 cpi is printed instead of 17 cpi or vice versa.

Solution/Action:
HPT outputs assuming a 3811 laser printer, so the customization commands are based on a laser printer.

If there is/are long lines at, for example, 10 CPI, the host will apply output reduction (change the CPI to I.E. 17) to get the line/s to fit on the 3811's paper size.

When the data is passed through a non-laser printer's standard driver or a Workstation Customization Object (WSCST), the rotation command is removed but the CPI has already been changed to 17.

This can be changed by using the Change Printer File command (CHGPRTF) – details available at:
IBM CHGRPTF

There is a parameter called PRGRTT (Page Rotatation). By default this is set to *AUTO, set it to 0.

In addition, changing the Printer File can overcome some other problems:
  • FONT, Identifier should be *CPI and not *DEVD. *DEVD will always select the font in the device description, *CPI selects the font requested by the host application.
  • Printer quality -> PRTQLTY -> should be *DRAFT and not *STD (*STD is default).
Additional Notes/Comments:
 


Specifications subject to change without notice. ® All trademarks are property of their respective holders at the time of this publication.