How do I code a SalesLogix Form to print?

Question:

I’ve created a Saleslogix data entry and calculation form that our users will need to print a copy of to present to their customers. What code do I need to add to the form that will allow me to print this form when the ‘Print’ button is clicked?

 

Answer:

If all you want is print the form as displayed in the browser, you could just use Javascript.
If you are looking for a “Printer Friendly format”, then you need to go a bit further than just that.

For a simple print, just add a button and sets it onclick event (if adding an ASP button, use the clientclick event): “javascript:window.print();”

Otherwise (and this is what I do when tasked with printing) you would want to design a Printer Friendly format page (no controls, just nice layout for Printing) and then open it up on a separate browser. On that page you have some button for Print and Close (which you can hide during printing using CSS)…..

 

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!