Ansicht
Dokumentation

CPD4037 - Position of BARCODE, FONT, or CHRSIZ placed with 10 pitch font. ( OS/400 )

CPD4037 - Position of BARCODE, FONT, or CHRSIZ placed with 10 pitch font. ( OS/400 )

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by IBM.
SAP E-Book


Message : CPD4037
Position of BARCODE, FONT, or CHRSIZ placed with 10 pitch font.

Message Long Text :

Cause . . . . . : When the positions for the DDS BARCODE, FONT, or CHRSIZ keywords are calculated the row/column position is converted to a absolute position on the page. Since it is not possible to know the font width at this time, the default value of 10 CPI is being used. The following conditions may cause errors in the positioning of text in conjunction with BARCODE, FONT, or CHARSIZ DDS:
-- If the Font parameter on the printer file has a value of *DEVD, the computer does not know the number of characters per inch before the data is printed. Therefore, the computer assumes 10 characters per inch and calculates the positioning of the BARCODE, FONT, or CHRSIZ keywords at 10 characters per inch.
-- If a coded font or font character set are used on the printer file, the computer does not know the number of characters per inch before the data is printed. Therefore, the computer assumes 10 characters per inch and calculates the positioning of the BARCODE, FONT, or CHRSIZ keywords at 10 characters per inch.

Recovery . . . : To eliminate any chance of incorrect positioning, use the CRTPRTF, the CHGPRTF, or the OVRPRTF commands to: select a specific font ID for the printer file FONT parameter.
Technical description . . . . . . . . : The position of the BARCODE, FONT or CHRSIZE keywords must be placed on the page using an absolute position. The actual positions are supplied in Row /column format so a translation from row/column position to absolute position must take place. Since the width of the font is unknown, a 10 pitch font will be assumed. Therefore, if the printer device font or the coded font or font character set used is not 10 pitch, positioning may vary.

Message File : QCPFMSG
Library Message File : QSYS2924


Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by IBM.

Length: 3253 Date: 20240420 Time: 163045     sap01-206 ( 3 ms )