Printer class and other print functions appropriately decide if the pdf is to be generated using HaruPdf, Image2pdf, Microsoft word or as the last resort use the least efficient internal function FWSavePreviewToPDF() depending upon user preferences as well as the availability of MSWord on the system.
So it is desirable to let the printer class and other functions decide how to generate the pdf.
If we have a preference, let us specify with the CLASSDATA of TPrinter class:
CLASSDATA lUseI2PDF INIT .f.
CLASSDATA lUseHaruPDF INIT .f.
CLASSDATA lUseFWPDF INIT .f.