What is the best method to silently create a pdf copy of the reports being previewed since image2pdf is no longer available?
I had made an attempt before using the following code (FWH15.01). But later I removed it after some customer complained that the system hang after using the amended version of the exe
- Code: Select all Expand view
oPrn:lMeta := .f.
oPrn:End()
msgrun( "Please wait. Preparing pdf copy of year-end reports for future reference.",, {|| FWSavePreviewToPdf(oPrn, cPdf, .f.)} )
aeval(oPrn:aMeta,{|val| ferase(val) }) // coz we set :lMeta as .f. earlier