[ Home ] [ Features ] [ Products ] [ FAQ's ] [ Screens ] [ Support ] [ Downloads ] [ About ] [ Discussion ]


the software that grows with you

 

V32PGetCaps()

Returns an array of printer capabilities associated with paper dimensions.

Syntax

V32PGetCaps( [ncPrinter], [nOrientation] )

Arguments

Param Default

Description

ncPrinter 0 Character string representing the name of the printer in question, either in full or partial, OR, numeric position of the installed printers. Default is 0, means the current default printer.
nOrientation 1 Portrait  or Landscape orientation. Default is Portrait.

Returns

One dimensional array of printer capabilities associated with paper dimensions. See below.

Description

PHYSICALWIDTH 1 Paper width in pixels
PHYSICALHEIGHT 2 Paper height in pixels
HORZRES 3 Printable area width in pixels
VERTRES 4 Printable area height in pixels
PHYSICALOFFSETX 5 Left margin in pixels
PHYSICALOFFSETY 6 Top margin in pixels
LOGPIXELSX 7 Number of pixels per horizontal inch
LOGPIXELSY 8 Number of pixels per vertical inch
BITSPIXEL 9 Number of bits per pixel. 1 = B & W and > 1 = color.
HORZSIZE 10 Paper width in Milimeters
VERTSIZE 11 Paper height in Milimeters
AVECHARWIDTH 12 Average character width 
CHARHEIGHT 13 Average character height
 

Usage

 

Tips

 

[ Home ][ Features ] [ Products ][ About Us ][ FAQ's ][ Screen Shots ][ Downloads ][ Support ][ Discussion ]
.

Vouch is a Trademark of Pritpal Bedi
All other Trade Marks are the property of their respective owners.
Copyright 1993-2011 Pritpal Bedi. All rights reserved.
Hit Counter  
You are Visitor # since 14 May 2002