OCR A Font

Brian K. White bw.aljex at gmail.com
Fri Mar 8 12:25:52 PST 2019


Example, excerpt from a copy of hplaser.prt that has micr font for 
checks added:

330::$1b *c80D %"/u/aljex/resources/fonts/pcl/micr/micr.sfp" $1b 
*(c5F:Load MICR font as font ID# 80
331::$1b (80X:Switch to font ID# 80 (MICR font)

You can stick 330 almost anywhere on the form before where you need to 
use it.
Top-left of the page, or header, just left of the first place where you 
need to use 331.
Or better, add another print code that has 3 and 330, like:

300::%3 %330:Initialize printer and install MICR font.

Then on the output format, in F8 -> O Options, Initialization print code 
number: 300
Then you just use code 331 wherever you want in the form like any other 
font selection code.

OCR font would work exactly the same.

-- 
bkw

On Tue, Mar 5, 2019 at 5:19 PM Brian White <bw.aljex at gmail.com 
<mailto:bw.aljex at gmail.com>> wrote:

    You can use a soft font on pcl printers, or run through ghostpcl to
    pdf or others.
    We do it for bar codes, postnet, and for the micr font on the bottom
    of checks.
    You buy the font from someone, stick the file somewhere, add a few
    new print codes to your hplaser print code table, and adjust your
    form to include the code to load the font file in the printer init,
    or even just in the top-left character cell of the form though that
    is a little inefficient. Then somewhere else in the form you use the
    print code to select that font. The fonts are bitmaps, so you
    generally get a few files for a few different sizes, and you have to
    pick a size that works with the rest of your form.

    You usually get examples for the right pcl codes to show how to use
    the font, but a little familiarity with how pcl works helps. Some
    parts of the pcl codes can't necessarily be simply copied verbatim,
    but must be understood and then adjusted from there as needed.


    On Tue, Mar 5, 2019 at 11:33 AM JohnMac via Filepro-list
    <filepro-list at lists.celestial.com
    <mailto:filepro-list at lists.celestial.com>> wrote:

        Is there a font solution other than installing an aftermarket
        font chip that
        I can use to produce an OCR A character set.



        John McNaughton



        -------------- next part --------------
        An HTML attachment was scrubbed...
        URL:
        <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190305/7b2d359e/attachment.html>
        _______________________________________________
        Filepro-list mailing list
        Filepro-list at lists.celestial.com
        <mailto:Filepro-list at lists.celestial.com>
        Subscribe/Unsubscribe/Subscription Changes
        http://mailman.celestial.com/mailman/listinfo/filepro-list



    -- 
    bkw



-- 
bkw


More information about the Filepro-list mailing list