Solved

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

Posted on 2008-10-31
2
3,600 Views
Last Modified: 2013-12-15
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
Comment
Question by:OnInfo
2 Comments
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 125 total points
Comment Utility
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
 

Author Closing Comment

by:OnInfo
Comment Utility
Thanks.  The information directed me to two helpful references.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now