[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

Relationship between Screen and Printer

Can I know how many screen's pixels is in the one millimeter(meter) of printed document(in paper)?
0
vterekh
Asked:
vterekh
  • 3
  • 2
1 Solution
 
ITugayCommented:
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
 
vterekhAuthor Commented:
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
 
ITugayCommented:
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
 
vterekhAuthor Commented:
Thanks, Igor

-----
Vasily
0
 
ITugayCommented:
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

Technology Partners: 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!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now