Click to See Complete Forum and Search --> : Print choise


Andrebr
08-30-2005, 05:39 AM
Hi. :)
I got a problem. I´ve made a script too make my job easier on work. When I have made a form for a job, then I send it too my mail and wanna print it out. The size of the papper is landscape A4. Take a look at the link for understand it easier.

Form (http://www.sparpaa.net/bygg/Oppdragsrapport_skriv_ut.asp?OrdereNr=5199)

Now when I open the link, the printer will print the page in portrait. I don´t wanna do that. I will print in Landscape.

Best reguards from


André

minority
08-30-2005, 06:25 AM
you could always output it to a word document and then email it to yourself that way it be on a a4 sheet of paper.

Bullschmidt
08-30-2005, 11:21 PM
For security reasons I don't think you're generally allowed to have as much control as you might like over a user's printer.

You might want to send up a JavaScript alert message about suggesting how the paper type should be set before printing (and don't even try to start the printing process which is going to take user intervention anyways).

Response.Write "<script type='text/javascript'>alert('Before printing it is recommended that you set the paper type to A4 and the orientation to landscape.');</script>"