PDF and FONTS

Kenneth Brody kenbrody at spamcop.net
Sat Apr 4 08:46:07 PDT 2015


On 4/4/2015 7:38 AM, Rami Mantoura wrote:
> I do have a bar code and it works when I print it direct to the Printer but
> does not on the PDF form through FPML.

Then you need to set an appropriate PFFONT_xxx variable, preferably in the 
filePro config file.  For example, assuming the font is in "code39.ttf" (and 
there are no bold/italic versions, and the license allows it to be embedded):

Windows:
     PFFONT_barcode=1;code39.ttf
*nix:
     PFFONT_barcode=1:code39.ttf

(Don't forget to set PFFONTDIR as well, if needed.)

Then surround the code with the appropriate <FONT> tags.  For example:

     <font name="barcode">*xx         <font name="Courier">

[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list