Win32Prn() > Printer methods xHarbour Developers Network  

oWin32Prn:setPrintQuality()

Queries or changes the printing quality.

Syntax

:setPrintQuality( [<nNewPrintQuality>] ) --> nOldPrintQuality

Arguments

<nNewPrintQuality>
This is a numeric value specifying the new printing quality. The following #define constants listed in WinGdi.ch can be used:

Constants for the printing quality
ConstantValue
DMRES_DRAFT-1
DMRES_LOW-2
DMRES_MEDIUM-3
DMRES_HIGH-4

Description

Method :setPrintQuality() returns the currently defined setting for the printing quality as a numeric value. When <nNewPrintQuality> is specified, :setPrintQuality() must either be called before method :create(), or method :startPage() must be called afterwards to activate the changed printing quality on the next page.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe