How to replace and map fonts in PCL to PDF Converter software?

Hello

In Version 2.6 of the pcltool.exe there are new options -mapfont and -embedfonts.

pcltool.exe -mapfont “mapfont.ini” C:\in.pcl C:\out.pdf

pcltool.exe -mapfont default C:\in.pcl C:\out.pdf

pcltool.exe -mapfont “C:\mapfont.ini” C:\in.pcl C:\out.pdf

pcltool.exe -mapfont “C:\mapfont.ini” -embedfonts yes C:\in.pcl C:\out.pdf

pcltool.exe -mapfont “C:\mapfont.ini” -embedfonts no C:\in.pcl C:\out.pdf

I unfortunately found no description on the internet about this.

Do you have more information how these options must be used?

Thank you and best regards
Customer
——————————————–
Thanks for your message, yes, you can use following command lines to map fonts in generated PDF files,

pcltool.exe -mapfont “mapfont.ini” C:\in.pcl C:\out.pdf
pcltool.exe -mapfont default C:\in.pcl C:\out.pdf
pcltool.exe -mapfont “C:\mapfont.ini” C:\in.pcl C:\out.pdf
pcltool.exe -mapfont “C:\mapfont.ini” -embedfonts yes C:\in.pcl C:\out.pdf
pcltool.exe -mapfont “C:\mapfont.ini” -embedfonts no C:\in.pcl C:\out.pdf

Please look at a simple “mapfont.ini” file at below,

—————————————————————–

[MapFonts]
Number=7 ; The number of [MapFontXXX] entries in mapfont.ini file, if Number=3, it is indicate mapfont.ini file contain [MapFont1], [MapFont2], [MapFont3] three entries.

EmbedFont=0 ; 0 is unembed fonts, 1 will embed all fonts in [MapFont1], [MapFont2], [MapFont3], etc. entries.

; Map from BordeauxRomanBoldLetPlain to Arial font name
[MapFont1]
PDFFont=BordeauxRomanBoldLetPlain ; PDF Font in PDF file
WinFont=Arial ; Windows Font

; Map from NimbusMono-Reg to Arial Black font name
[MapFont2]
PDFFont=NimbusMono-Reg
WinFont=Arial Black

; Map from NimbusMono-Bol to Arial font name
[MapFont3]
PDFFont=NimbusMono-Bol
WinFont=Arial

[MapFont4]
PDFFont=NimbusRomanNo9-Med
WinFont=Arial Narrow

[MapFont5]
PDFFont=NimbusRomanNo9-MedIta
WinFont=Calibri

[MapFont6]
PDFFont=NimbusRomanNo9-Reg
WinFont=Times New Roman

[MapFont7]
PDFFont=URWGothicL-Demi
WinFont=Arial

If you can’t get font mapping function to work, please send to us your sample PCL file for test purpose, we will figure out a solution to you as soon as we check your PCL file.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!