Getting printer information


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on November 08, 2005 at 11:23:39:

I've been using a program for several years to get a printer's page and margin information.

! Actual printable area
PRINT (LUN, FMT.PAGEINFOPRINTABLE)
GOSUB GETRESULT
PPW = LORESULT
PPH = HIRESULT
!
! Physical width of paper
PRINT (LUN, FMT.PAGEINFOPHYSICAL)
GOSUB GETRESULT
PW = LORESULT
PH = HIRESULT
!
! Exclude non-printable area
PRINT (LUN, FMT.PAGEINFOPHYSOFFSET)
GOSUB GETRESULT
XOFF = LORESULT
YOFF = HIRESULT

It has always given the correct information on laser printers. The physical size has always come out 8.5 x 11.0.

-------------- My office HP4+ ----------------------
GET PRINTER PAGE INFORMATION

ENTER PRINTER LP1
TWIP INCH
PRINTABLE WIDTH 11520 8.000
PRINTABLE HEIGHT 15360 10.666
PHYSICAL WIDTH 12240 8.500
PHYSICAL HEIGHT 15840 11.000
GRAY 150
LEFT MARGIN 360 .250
TOP MARGIN 240 .166
LINE HEIGHT 634 .166

However, I'm getting the wrong physical height and width on some printers at one of my customers.

------------- Canon iR7200 PCL6 --------------------
GET PRINTER PAGE INFORMATION

ENTER PRINTER LP1
TWIP INCH
PRINTABLE WIDTH 11509 7.992
PRINTABLE HEIGHT 15250 10.590
PHYSICAL WIDTH 12228 8.491
PHYSICAL HEIGHT 15806 10.976
GRAY 150
LEFT MARGIN 360 .250
TOP MARGIN 271 .188
LINE HEIGHT 632 .177

-------------- Canon iR7200 PCL5e ------------------
GET PRINTER PAGE INFORMATION

ENTER PRINTER LP4
TWIP INCH
PRINTABLE WIDTH 11679 8.110
PRINTABLE HEIGHT 15307 10.629
PHYSICAL WIDTH 12191 8.465
PHYSICAL HEIGHT 15820 10.986
GRAY 150
LEFT MARGIN 256 .177
TOP MARGIN 256 .177
LINE HEIGHT 633 .177

I've looked at the properties of the driver (2000/XP) and it says the printer page size is 8.5 x 11.0.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]