Hi again!!
I am stuck into a new problem.I have a invoice form with regular fields in it and when the user press the print button, I want to print it out in desired formatting like, company name, address etc. at the top of the page, and so on.
Can anyone (as always) suggest me some simple solution for this??I found lot of examples on google for this which mainly emphasis on PDF format.I dont need to save the form at all but just want to print the form.
Looking forward for answer in anticipation.
anita_86
14
Light Poster
Recommended Answers
Jump to PostShould not be that difficult. Create a printer-friendly page using a table based layout. This can be done by either redirecting the user to another "Print" page or can be done using a popup window. Once the page has loaded, use the
window.print()
javascript event to prompt for printing.…
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.