We have varying fonts used on forms printed on *AFPDS printers, using FNTCHRSET in the printer files. When we specify the POSITION exactly, the FNTCHRSET is used for printing as requested. However, if we use a variable for the line in POSITION, the FNTCHRSET seems to be ignored.
Example which prints fine using Helvetica Italic Bold:
------------
A R PRTLIN
A #DESC 30 TEXT('DESCRIPTION')
A FNTCHRSET(C0H50000 T1V10037)
A POSITION(1.500 .600)
------------
Example changed, and which prints in the correct position, but now ignores the selected font:
------------
A R PRTLIN
A #DESC 30 TEXT('DESCRIPTION')
A FNTCHRSET(C0H50000 T1V10037)
A POSITION(&LINE .600)
A LINE 5S 3P
------------
Thanks! - kc5f
Example which prints fine using Helvetica Italic Bold:
------------
A R PRTLIN
A #DESC 30 TEXT('DESCRIPTION')
A FNTCHRSET(C0H50000 T1V10037)
A POSITION(1.500 .600)
------------
Example changed, and which prints in the correct position, but now ignores the selected font:
------------
A R PRTLIN
A #DESC 30 TEXT('DESCRIPTION')
A FNTCHRSET(C0H50000 T1V10037)
A POSITION(&LINE .600)
A LINE 5S 3P
------------
Thanks! - kc5f
Comment