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.