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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

width and height in 'browser' pixels matching A3 papersize ?

Status
Not open for further replies.

safra

Technical User
Jan 24, 2001
319
NL
Hi,

I need to set up the size of an html page so it will print on A3 format.

Does anyone know the exact width of A3 papersize in (browser) pixels or how many mm or inches 1 browser pixel is?

Thanks,
Ron
 
this is a no win situation as there are no hards and fasts about screen size - paper size conversion. it depends greatly on the printing resolution so it is almost impossible to reliable produce something at A3 size for every printer.

most printers operate at 72dpi (i think) - but i dont think this relates to pixels per inch but to dots per inch (ie. the number of individual spots of ink per inch which is used to control print quality) - a good printer may have a higher resolution than this to give better quality printouts.

My advice would be to have a play around with printing form different browsers and to different printers and use the screen sizes which fot best for most.

If anyone knows more about this id be interested to find out as this is one of the things clients want all the time - web pages which print reliably!

good luck

rob
 
Hi mate,

Sorry, I should have mentioned about the resolution I was using...

It was late and I wasn't thinking...

This was on an 800x600 res and I am pretty sure that 72px is one inch on that res.

To test this, make an image 72px wide and measure it on screen..

The only way that I can see a possible solution to do this is either to alert the user that they must change their res before printing or provide a link to a different page for each res.

I suppose it depends what it is you are trying to print..

As for the dpi on a printer, you are correct that it relates to dots per inch and is print quality only.

Hope this helps Wullie

 
It all depends on the printer being used. Some printers can be configured to adjust the page to fit the paper size being used, and others don't. Some printers won't print a page 600 pixels wide on 8-1/2" wide paper, and some will handle 800 pixels without a hitch. Which means you have to make everything narrow and short to accomplish what you want to do.
 
Hey Guys,

Thanks for all the responses. When getting here to the forum I was just thinking about what has been said here. The most important part is the resolution used for printing.

In my case this project will be used on only one printer so it is a matter of getting the right number of pixels correctly. Unfortunately I don't have access to the printer thats why I hoped to find out some guidelines to this.

So the first thing to know is at what resolution they are printing.

I guess this is going to be a "trial an error" thing.

Thanks guys,
Ron


Btw. anyone knows if it is possible to get A3 format size as an option in page setup for IE. A4 is the largest option. I installed printer drivers for printers that can print in A3 format in the hope that it would add A3 format to the options but no luck.
 
Hi,

After 'trial and error', this is what worked for me:

width = 1550 px
height = 1020 px

Might be useful to keep as a reference for some of you, or maybe not?

Ron,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top