Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <PRNINF.H>
Link against: print.lib

Class TPrintParameters

class TPrintParameters;

Description

Print parameters.

This data is associated with a particular print request, not with the document to be printed, so is separate from the print setup information.

An object of this class is passed to CPrintSetup::StartPrintL(const TPrintParameters &,MPageRegionPrinter &,CPrinterPort *,MPrintProcessObserver *) and to CPrintSetup::StartPreviewPrintL(const TPrintParameters &,MPageRegionPrinter &,MPrintProcessObserver *,CGraphicsDevice &,const TRect &,const TRect &,TInt).

Members

Defined in TPrintParameters:

See also:


Construction and destruction


TPrintParameters()

IMPORT_C TPrintParameters();

Description

Trivial default C++ constructor.

The number of copies is initialised to one, and the number of the first and last pages to zero.

[Top]


Member data


iNumCopies

TInt iNumCopies;

Description

The number of copies to print.


iFirstPage

TInt iFirstPage;

Description

The first page to be printed.

This value should be less than or equal to iLastPage. Zero indicates the first page in the document.


iLastPage

TInt iLastPage;

Description

The last page to be printed.

This value should be greater than or equal to iFirstPage. Zero indicates the first page in the document.