Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4071
  • Last Modified:

Where do I find Font Identifier Codes for changing fonts on AS/400 printouts?

I want to change the printer font on AS400 printouts. The OVRPRTF command has a FONT parameter.  Many values are shown in the drop-down.  Where do I find out the type of font?  And will this work to change the font for my printouts?
0
OnInfo
Asked:
OnInfo
1 Solution
 
Gary PattersonVP Technology / Senior Consultant Commented:
When it comes right down to it, fonts are either printer-resident (stored in your printer), or host-resident (stored in objects on the AS/400).

The programming reference manual for your specific printer will contain the list of supported fonts.  If you try to print an unsupported font, either the AS/400 print support programs will try to substitute a font code that is valid for you r printer (you typically get a message on the job log of the printing job, and on the job log of the writer that font substitution occurred), or the bad font request can get passed to the printer, and the printer tries to substitute the font it thinks is the closest fit).

To make things more complicated, the AS/400 supports an ever-increasing number of different printer data streams (print job protocols, print line protocols, and page description protocols).  Common print data streams include SNA character Stream (SCS), used for basic printing if lists with a single font and little in the way of formatting; Intelligent Printer Data Stream (IPDS), for more sophisticated laser-printer type printing with graphics, fonts, etc.; and Advanced Function Printing/Presentation (AFP), an abstracted printer and job definition protocol that is typically translated into a native printer language like IPDS, PJL.PCL, or Postscript.

Once you get up to AFP printing, things get complicated on the font front.  Probably the best resources to help you understand the complexities of AS/400 printing (including font tables for common printers) are these two references:

IBM AS/400 Printing V: http://www.redbooks.ibm.com/abstracts/sg242160.html
iSeries Printer Device Programming:  http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4157135.pdf

- Gary Patterson



 
0
 
OnInfoAuthor Commented:
Thanks.  The information directed me to two helpful references.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now