Hi all,
I'm working with in a weird environment - because we use fox 2.6 and visual foxpro at the same time, most of the reports are fox 2.6 style (thus no font information included in the frx/frt files).
Printing those reports from visual foxpro to a printer is fine - a mono space font is used so that an X takes the same space as an i and the document looks o.k.
However, printing to a pdf file using amyuni pdf a non mono-spaced font like arial is used. I am using the latest version from the web site (trial version).
Is there a way to set the font used (e.g. Courier New) in the created PDF document ?
Any help is greatly appreciated.
Holger
How to set font
additional information:
below is the code that I am using. Please note that when activating the preview option in the REPORT FORM clause the report looks fine on the screen (mono-space font used).
------------
SET LIBRARY TO "C:\amyunipdf\fox\FllIntf.fll" ADDITIVE
#define printername "Amyuni PDF Converter"
#define filename "c:\temp\invoice.pdf"
PDF = DriverInit(printername)
DefaultFileName( PDF, filename )
set printer to name printername
REPORT FORM c:\temp\invoice.frx NOEJECT NOCONSOLE TO PRINTER && preview
set printer to
below is the code that I am using. Please note that when activating the preview option in the REPORT FORM clause the report looks fine on the screen (mono-space font used).
------------
SET LIBRARY TO "C:\amyunipdf\fox\FllIntf.fll" ADDITIVE
#define printername "Amyuni PDF Converter"
#define filename "c:\temp\invoice.pdf"
PDF = DriverInit(printername)
DefaultFileName( PDF, filename )
set printer to name printername
REPORT FORM c:\temp\invoice.frx NOEJECT NOCONSOLE TO PRINTER && preview
set printer to