Solved

Relationship between Screen and Printer

Posted on 2001-09-01
5
130 Views
Last Modified: 2010-04-06
Can I know how many screen's pixels is in the one millimeter(meter) of printed document(in paper)?
0
Comment
Question by:vterekh
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 6447541
Hi vterekh,
it depends from printer resolution and size of document.

Let say that page width 210mm and printers DPI = 600.

210mm / 25.4 (1") = 8.26"
8.26" * 600DPI = 4960 pixels. Width of document in pixels.

-----
Igor.
0
 
LVL 1

Author Comment

by:vterekh
ID: 6447555
Igor

For example I draw the line on the printer canvas with size 100 pixels whether it length on the paper will depent on printer's DPI?

0
 
LVL 9

Accepted Solution

by:
ITugay earned 50 total points
ID: 6447590
Hi vterekh,
yes, it depend from DPI.

600 DPI / 25.4 = 23.622 pixel per mm

100 pix  / 23.622 = 4 mm

Be carefull, sometimes vertical and horizontal resolutions are different. Let say horizontal resolution can be 1200 but vertical can be only 320 DPI.

------
Igor.
0
 
LVL 1

Author Comment

by:vterekh
ID: 6447593
Thanks, Igor

-----
Vasily
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6447601
Hi vterekh,

another way is to look at TPrinter property
PageWidth
PageHeight

Indicates the height and width in pixels of the currently printing page.
-----
Igor.
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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

948 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

21 Experts available now in Live!

Get 1:1 Help Now