equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Contains the TPrinter class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TPRINTER_H |
|
20 #define TPRINTER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 /** |
|
25 * @brief A printer abstraction. |
|
26 * |
|
27 * Class representing the basic properties of a printing device. |
|
28 * Published as part of the ImagePrint Server API. |
|
29 */ |
|
30 class TPrinter |
|
31 { |
|
32 public: |
|
33 enum TPrinterProperty |
|
34 { |
|
35 Cached = 1, |
|
36 SupportsPreview = 2 |
|
37 }; |
|
38 enum TPrinterVendor |
|
39 { |
|
40 EVendorNone = 0, // No Vendor |
|
41 EVendorHp |
|
42 // Add other vendors |
|
43 }; |
|
44 TInt iPrinterID; |
|
45 TBuf<84> iDisplayName; |
|
46 TUint iProperties; |
|
47 TUint iProtocol; |
|
48 TUint iVendor; |
|
49 }; |
|
50 |
|
51 #endif // TPRINTER_H |
|
52 |
|
53 // End of File |