I'm not sure if this is the best place to post this question. It is a programming question, but it is not specific to VFP.
I am simply trying to create a PDF file in landscape mode.
The document that I am trying to convert to PDF is itself landscape. It is generated by a third-party component within my VFP application. The document always prints in landscape when I print it to a physical printer, or when I convert it to PDF using a different driver (not the Amyuni driver). It is only when I use Amyuni that it fails.
Here is the relevant part of my code.
Code: Select all
WITH this.oAmy
.EnablePrinter(this.cCustomer, this.cCode)
.DefaultFileName = lcTargetFile
.Orientation = 2
.FileNameOptionsEx = 3
ENDWITH
Thank you in advance for your help.
Mike