Article View: adobe.postscript.programming
Article #271Adding characters to font definition array
From: RobertSpicer
Date: Fri, 20 Oct 2006 18:36
Date: Fri, 20 Oct 2006 18:36
46 lines
1946 bytes
1946 bytes
I'm really new to PostScript, but think this would provide a perfect option for my project. I have 300,000+ IRS year end tax forms that I need to generate as either .tif or .pdf files for eventual committal to an imaging system. The original forms are being produced by a vendor, and they are supplying me with an XML file which I intend to use as a 'mailmerge' source. I have a sample image template with dummy information related to the recipient, received in PDF format which I've saved as a PostScript file. I can recreate the .ps file and insert my recipient-specific data. However, I've noticed that not all of my characters are being output. I believe that this is related to the Font Definition routine. Sample below... /FontName /N692 def /FontMatrix [1 0 0 1 0 0 ]def /FontBBox [0 -7 20 26 ]def /Encoding [ 32 nND /c20 15 nND /c30 1 nND /c32 /c33 1 nND /c35 1 nND /c37 /c38 8 nND /c41 /c42 /c43 /c44 /c45 1 nND /c47 1 nND /c49 2 nND /c4C /c4D /c4E /c4F 2 nND /c52 /c53 2 nND /c56 2 nND /c59 166 nND] def I'd like to be able to modify this (and other fonts contained within the file) so that all alphanumeric characters are accounted for. I've tried adding the appropriate hex values (/c46 for the letter 'F') but then end up with errors when attempting to distill to pdf. Any help would be greatly appreciated. Thanks, Robert
Technical Details
Message-ID:
<3bc2088d.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,3132b23ea6a2d0d3,start X-Google-Attributes: gid10c61a,public X-Google-Language: ENGLISH,ASCII-7-bit From: RobertSpicer@adobeforums.com Newsgroups: adobe.postscript.programming Subject: Adding characters to font definition array Message-ID: <3bc2088d.-1@webcrossing.la2eafNXanI> Date: Fri, 20 Oct 2006 11:36:13 -0700 Lines: 60 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing