Link to home
Start Free TrialLog in
Avatar of vterekh
vterekh

asked on

Relationship between Screen and Printer

Can I know how many screen's pixels is in the one millimeter(meter) of printed document(in paper)?
Avatar of Igor UL7AAjr
Igor UL7AAjr
Flag of Kazakhstan image

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.
Avatar of vterekh
vterekh

ASKER

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?

ASKER CERTIFIED SOLUTION
Avatar of Igor UL7AAjr
Igor UL7AAjr
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vterekh

ASKER

Thanks, Igor

-----
Vasily
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.