?
Solved

How many pixels when printing?

Posted on 2003-10-24
6
Medium Priority
?
154 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
Industry Leaders: 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 400 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

718 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