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!

Seneind parameters to teh Print Dialog box

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
GB
I have a web page that sends a copy to the printer just fine and dandy.

However, now the customer wants to send 2 copies to the printer (one for customer, one for records etc)

now, Im guessing I could do
Code:
window.print();window.print();

But hat seems inelegant. Is there a way of sending copies=2 via the javascript call? (Ive tried window.print(2); and that didnt work :-/

Cheers

K
 
You really don't have very much control of the printer settings with plain old JavaScript. You could possibly do it in IE only with an ActiveX control, but I doubt you'd find a nice cross-browser way of achieving this.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top