Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



PDRSTORE overview


Purpose

PDRSTORE component is used to load printer driver information files and to create printer drivers. In a secure platform environment, the PDR information files are available in the \resource\printers folder.

[Top]


Key concepts

The component has the following key concepts:

Banding

Banding is the breaking up of a whole page into smaller bands, or strips, so that less memory or disk space is required to render the image.

[Top]


Architectural relationships

The PDRSTORE component has the following internal and external dependency relationships with other components.

Internal relationships

PDRSTORE classes

PDRSTORE classes

External relationships

Components must statically link to pdrstr.dll to access the PDRSTORE functionality.

[Top]


API summary

Class Name Description

CCommPrinterPort

Comms-based printer port base class.

CPdrControl

Generic concrete printer control class.

CPdrDevice

Generic concrete printer device class.

CMetafilePlayback

Utility class for converting the stream of graphics commands generated by a CMetafileDevice object to a metafile for transmitting to a PC. The metafile is then printed by a PC-based connection application to any printer connected to the PC.

CBandedDevice

CGraphicsDevice derived class for breaking drawing into bands. This class prints using bitmaps and not a printer control language, because the high resolution of printers prevents a bitmap representing a whole page being created due to memory constraints.

[Top]


Typical uses

The following are the typical use cases for this API:

Load printer driver information files

.pdr files contain printer driver access information. This access information can be used by applications to build printer driver lists. In a secure platform environment, the PDR information files are available in the \resource\printers folder. For more details, see Loading printer driver information files

Create printer drivers

.pdr files can be used to load and create appropriate printer drivers for a printer.

Printer driver plugins developed for unsecure Symbian OS versions will not work with the secure GDI & PDRSTORE. Therefore, they must be migrated to the generic ECOM plug-in framework. For more details, see Creating a printer driver

[Top]


See also