Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How many pixels when printing?

Posted on 2003-10-24
6
Medium Priority
?
155 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
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

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!

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

926 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