Apologies for late reply, but just seen your question.
My settings are:
NWF.FormFiller.Functions.DecimalSymbol = ".";
NWF.FormFiller.Functions.ThousandSeparatorSymbol = ",";
NWF.FormFiller.PrintToPDF.PageOrientation = "Portrait";
NWF.FormFiller.PrintToPDF.PageSize = "A4";
NWF.FormFiller.PrintToPDF.FormLayoutWidth = "1000";
NWF.FormFiller.PrintToPDF.FormLayoutHeight = "1500";
The relevant setting for you is PageSize, which I think you can just change to "Letter".
And, I only included the other settings in case you want to adjust these also.
(Again, these are only useful to you if you have the Enterprise version; I do not.)
Hi Chris, where do you place those settings? and how do you call them? We have the 2010 enterprise version but for some reason it stopped working. I'm trying to create a new custom button and call the Print to PDF function.
Thanks for sharing this code. I was able to call the function from a custom button:
on client click:
but when I click on my new "Print" button, it goes into an infinite loop of thinking, it does open the "convert to pdf" pop-up window and seems to be doing something, but eventually it gives an error that the page has a long running script and i have no option other than having to stop the script.
once i stop the script, i get this forever..
I go back, it shows again:
This tells me that I'm able to call the function correct. but something is broken somewhere in that class files in the backend...
any ideas what's going on?!