Solved

How many pixels when printing?

Posted on 2003-10-24
6
151 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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mobile page Scrolling down when refreshing 4 63
html Uncheck Checkbox 2 25
html input 8 44
I'm a Human captcha checkbox 13 23
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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