...

View Full Version : Printing Question



NRastogi
08-07-2002, 04:24 PM
Hi guys,

We have developed a website and in the process of launching it. This issue just came up today.

When printing any page form our site, using browser's print option or window.print(), the pages are getting cut-off.

If I go an change the orientation to "landscape" it seems to be printed ok.

Question: What could be the solution to tell browser to print the page in "LandScape".

Please respond ASAP ....

Any help is appreciated.

Thanks,
Nitesh

Gordo
08-07-2002, 11:45 PM
I could be wrong, but I don't know of any way to change the printing properties. Those are 'settings' on the user's computer that you're not supposed to be able to change.

You can search the "old forum" (see upper right corner of page) for "print landscape" to see if you can find any decent information on the subject.

justame
08-07-2002, 11:51 PM
Originally posted by NRastogi
Question: What could be the solution to tell browser to print the page in "LandScape".

nra...
you could just a haveŽ printing instructions listed somewhere on your site where ya just a mentionŽ in order to just a voidŽ having the 'right' side of the pages 'clipped/cutoff' thattt the viewer will/would have to just a tellŽ their printer to print in landscape mode...

just a notherŽ suggestion...:O)))

brothercake
08-08-2002, 01:10 AM
You can account for printing by bearing in mind the following two things:

1 - a page specified in pixels will print at the same pixel size, but a page specified in percentages will translate to percentages of page size. So - <table width="770" ... will go over the edge, but <table width="100%" will fit perfectly

2 - the pixel width of an A4 page is about 600

Roy Sinclair
08-08-2002, 05:18 PM
Originally posted by brothercake
You can account for printing by bearing in mind the following two things:

1 - a page specified in pixels will print at the same pixel size, but a page specified in percentages will translate to percentages of page size. So - <table width="770" ... will go over the edge, but <table width="100%" will fit perfectly

2 - the pixel width of an A4 page is about 600

Adding to this good stuff by brothercake, remember that you can specify different style sheets by media (assuming the browsers you target aren't antiques like Netscape 4).

http://www.w3.org/TR/CSS2/media.html#at-media-rule



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum