?
Solved

Relationship between Screen and Printer

Posted on 2001-09-01
5
Medium Priority
?
142 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

771 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