Solved

How many pixels when printing?

Posted on 2003-10-24
6
149 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

939 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now