Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get a report printed double sided

Status
Not open for further replies.

ashishsmith

Programmer
Jun 23, 2004
46
US
I have created an application which shows the records in a reporting tool. Now, each tuesday I have to print all the records which are around 50 records each week and are of approximately 2 pages. To save paper and reduce the paper work, I want to program my appliation in cold fusion using any scripting language to print the records double sided (Back and Front). Is this possible?

Ashish Smith
 
Probably not. Printing is controlled by the client, so all printer settings will need to be modified from your computer, not a web site. You might can find some type of CSS, JavaScript, or ActiveX code to help you out, but there's nothing in ColdFusion that can do that.



Hope This Helps!

Ecobb
Beer Consumption Analyst

"My work is a game, a very serious game." - M.C. Escher
 
or something like crystal reports or cognos. you'd need a reporting tool of some kind.

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Yeah I am looking for a kind of java script to print the records back to back instead of wasting 2 pages for one record. Is it possible?


Thank you,

Amar Shah
 
I don't think you'd be able to do that with JS. and i wouldn't want you to anyways! My printer! Mine! An end user or employee should know how to do this, the best you can do is provide clear instruction on how to change the settings. I think the most you can do with JS is open the print dialog window.print() (i think)

OR~

I could be totaly wrong on all accounts....

 
I think the most you can do with JS is open the print dialog window.print()
I think so too. see my previous post you'll need a reporting tool for that.

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Not to mention you'd need a printer that can actually handle the duplex printing. In all of the 75+ printers here in my building, we have 2 that have duplexers. Mainly because they aren't needed, but I hope your users each have access to one. Otherwise, I concur, this isn't a coldfusion thing. It's a printer-setup and hardware thing. :)

MG
 
Consider using html2pdf to format your output. It gives you several basic format controls and the user can fine tune it from there.

Lyndon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top