Solved

Relationship between Screen and Printer

Posted on 2001-09-01
5
127 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, Igor

-----
Vasily
0
 
LVL 9

Expert Comment

by:ITugay
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

12 Experts available now in Live!

Get 1:1 Help Now