• Welcome to the upgraded JDELIST forum and thank you for your patience.
    Please restrict discussions and issues regarding the new forum software to the Off Topic forum. We will be monitoring that forum for issues.
    If you have trouble logging in, please reset your password using the forgotten password form: https://www.jdelist.com/community/index.php?lost-password/
    If you are unable to successfully reset your password, please contact us: Click here!
    We hope that you enjoy the upgraded forum.
  • Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Win2PDF in Formscape 3.3

I have a Formscape setup that is using Win2PDF to convert a text file into a pdf. I need to change the page to landscape for some documents based on the number of characters in the longest line of the document (basically, if more than 150, then switch to landscape). The setup is as follows:
GlobalConstant.fsp: contains EmailPrinter Printer object pointing to Win2PDF printer
MainProg.fsp:
Write to File (print graphic)
Printer (print capture)
Reference Printer = GlobalConstant.EmailPrinter (cnt pr)
Output (write file)
File Path (sentence)
... < specify path > ...

I have very little experience working with Formscape, but neither does anyone else here. I believe I have to add a Page Setup object but it won't allow me to place that anywhere in this structure. Any ideas why?

Thanks for any help.
 
We use Formscape and have projects that use the page setup to control tray selection.
The area of the branch that contains the page setup is as follows:
Print Graphic... Binder... Page Setup... Form
Basically, the page setup needs to go between a print graphic and the form as it controls the form output.
 
Top