Great . . . I’ve developed fpdf for the web and now I have to back it off to desktop again and can’t get it to work. Who knows about fpdf?
This code is giving me nothing (pdf declared as is pdf as fpdf):
dim y as double = 18.0
dim x as double = 36
pdf = New fpdf(“P”,“pt”,“Letter”)
pdf.SetCompression(True)
pdf.setLeftMargin(36)
pdf.setRightMargin(36)
pdf.setAutoPageBreak(false)
pdf.addPage
pdf.setXY(x,y)
pdf.SetFont(“Arial”,"",16)
pdf.MultiCell(300,20,“Hi there”)
FPDF is a PHP implementation create PDF documents…which is probably why he could make it work with WEB.
But integrating PHP into a compiled DESKTOP app is not going to be an easy task.
Perhaps something like the PDF class I am working on might work for the OP.
Andre has it. I’ve been using this forever. It worked with my desktop app and then I made a couple of changes for my web app. Now I’ve got to bring it back to desktop and am having problems.
Please also note that gPDF is not at this time compatible with any of the syntax changes that may or may not still exist in 2019r2, 2019r2.1 or 2019r3 and at this time there is no plans to do so, as I have currently put my Xojo license updates on indefinite hold.