Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
58 EPcl5DeskjetPrinter = 1,
59 EPcl5LandscapeNotAvailable = 2,
60 EPcl5LandscapeBandingRightToLeft = 4
66 enum TPcl5RasterGraphicsMode
68 EPcl5LogicalPageOrientation=0,
69 EPcl5PhysicalPageOrientation=3
75 IMPORT_C CPrinterDevice* NewPrinterDeviceL();
77 class CPcl5Device : public CFbsDrvDevice
85 TInt CreateContext(CGraphicsContext*& aGC);
86 void CreateControlL(CPrinterPort* aPrinterPort);
89 class CPcl5Control : public CFbsDrvControl
95 static CPcl5Control* NewL(CPdrDevice* aPdrDevice, CPrinterPort* aPrinterPort, CStreamStore& aStore, TStreamId aResourcesStreamId);
97 TMoreOnPage QueueGetBand(TRequestStatus& aStatus, TBandAttributes& aBand);
98 // print control functions
100 CPcl5Control(CPdrDevice* aPdrDevice, CPrinterPort* aPrinterPort);
101 void ConstructL(CStreamStore& aStore, TStreamId aResourcesStreamId);
106 void SetPageOrientationL();
107 void SetTextColorL(const TRgb& aColor);
110 TBool iLandscapeMode;