Solved

How many pixels when printing?

Posted on 2003-10-24
6
153 Views
Last Modified: 2010-04-09
Hi,

If I want to print (landscape) in one page, how many pixels I have to set the table on the code?

Thanks
0
Comment
Question by:mcrmg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 31

Expert Comment

by:seanpowell
ID: 9614616
With 3/4 inch margins, and depending on your printer, your browser, your operating system, and the weather, about 910 pixels would be the maximum.

NOTE: This is only if "you" want to print. If someone else tries it, it's a whole new ballgame :-)
0
 

Author Comment

by:mcrmg
ID: 9614644
okay, so what would be the best way to do this universially?

because this is a report, it is good to fit into a page.  thanks
0
 

Author Comment

by:mcrmg
ID: 9614668
when i print them out, there is a lot of space on the right, why is that?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Accepted Solution

by:
seanpowell earned 100 total points
ID: 9614697
>>okay, so what would be the best way to do this universially?
There is no way to do this universally, unless you're offering the reoprt as a pdf file.

>>when i print them out, there is a lot of space on the right, why is that?
Because every situation is different, and the code on your page will dictate how your printer "decides" to interpret html into printing language.

Monitors use pixels, and printers use points. You're never, ever going to get the two to communicate effectively and consistently. It's the nature of the beast.

So - if a good looking printed report is mandatory, you have to create a PDF from it, and then print that.
0
 

Author Comment

by:mcrmg
ID: 9614702
Thank you...
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9614729
You're welcome, and good luck with your project. (I just wanted to save you hours of grief...)
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question