cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

Thanks Manjusha and Ryan,

Your tips will be great help for me.  I will try both the options.

Cheers:)

Sunil

Reply
Highlighted
Automation Master
Automation Master

Re: Want to print a Form, what are different options available.

The Print to PDF icon will appear on your forms if you have Enterprise edition.  Just  wanted to throw that out there if someone hasn't said it previously.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

Does anyone know how to configure the print button so that the form prints on a legal size of paper?

Reply
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

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.)

Reply
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

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.  

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

HI Michael,

Thanks for sharing this code. I was able to call the function from a custom button: 

on client click: 

NWF$(document).ready(function(){NWF.FormFiller.PrintToPDF.PrintToPDF();});

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?!

Reply
Highlighted
Nintex Newbie

Re: Want to print a Form, what are different options available.

Adding the button works perfect for my forms..  Thank you.

0 Kudos
Reply