Solved

# Relationship between Screen and Printer

Posted on 2001-09-01
131 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
Question by:vterekh
• 3
• 2
5 Comments

LVL 9

Expert Comment

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

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

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

ID: 6447593
Thanks, Igor

-----
Vasily
0

LVL 9

Expert Comment

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

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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

#### 785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.