Need HTML command on button to trigger Print to CutePDF

Wednesday - 08/8/2007
I am using a response form to gather information from clients (much like a survey but busier).  I would like to have HTML code in the form that will force a save to, or print to CutePDF.  I can handle the CutePDF or other PDF creator program on the local PC but is there HTML code that triggers a print?
Who is Participating?
javascript code includes print();

You would need to include an event handler, so the function gets triggered.

print is a method of the window object.

I don't think this will work for you, since print() leads to a confirm dialogue.  It's the equivalent of clicking on the browser "print" button or selecting file > print.  Their default printer will be selected, not your pdf maker.
cepesAuthor Commented:

I guess for now I'l use this:

<A HREF="javascript:window.print()">Click to Print This Page</A>

which I just found on the web.

Thanks for your help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.