1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _SV_PRNTYPES_HXX 25 #define _SV_PRNTYPES_HXX 26 27 #include <tools/string.hxx> 28 #include <vcl/sv.h> 29 #include <i18npool/paper.hxx> 30 31 // --------------- 32 // - Duplex Mode - 33 // --------------- 34 35 enum DuplexMode { DUPLEX_UNKNOWN, DUPLEX_OFF, DUPLEX_LONGEDGE, DUPLEX_SHORTEDGE }; 36 37 // --------------- 38 // - Orientation - 39 // --------------- 40 41 enum Orientation { ORIENTATION_PORTRAIT, ORIENTATION_LANDSCAPE }; 42 43 // ------------------- 44 // - QueueInfo-Types - 45 // ------------------- 46 47 #define QUEUE_STATUS_READY ((sal_uLong)0x00000001) 48 #define QUEUE_STATUS_PAUSED ((sal_uLong)0x00000002) 49 #define QUEUE_STATUS_PENDING_DELETION ((sal_uLong)0x00000004) 50 #define QUEUE_STATUS_BUSY ((sal_uLong)0x00000008) 51 #define QUEUE_STATUS_INITIALIZING ((sal_uLong)0x00000010) 52 #define QUEUE_STATUS_WAITING ((sal_uLong)0x00000020) 53 #define QUEUE_STATUS_WARMING_UP ((sal_uLong)0x00000040) 54 #define QUEUE_STATUS_PROCESSING ((sal_uLong)0x00000080) 55 #define QUEUE_STATUS_PRINTING ((sal_uLong)0x00000100) 56 #define QUEUE_STATUS_OFFLINE ((sal_uLong)0x00000200) 57 #define QUEUE_STATUS_ERROR ((sal_uLong)0x00000400) 58 #define QUEUE_STATUS_SERVER_UNKNOWN ((sal_uLong)0x00000800) 59 #define QUEUE_STATUS_PAPER_JAM ((sal_uLong)0x00001000) 60 #define QUEUE_STATUS_PAPER_OUT ((sal_uLong)0x00002000) 61 #define QUEUE_STATUS_MANUAL_FEED ((sal_uLong)0x00004000) 62 #define QUEUE_STATUS_PAPER_PROBLEM ((sal_uLong)0x00008000) 63 #define QUEUE_STATUS_IO_ACTIVE ((sal_uLong)0x00010000) 64 #define QUEUE_STATUS_OUTPUT_BIN_FULL ((sal_uLong)0x00020000) 65 #define QUEUE_STATUS_TONER_LOW ((sal_uLong)0x00040000) 66 #define QUEUE_STATUS_NO_TONER ((sal_uLong)0x00080000) 67 #define QUEUE_STATUS_PAGE_PUNT ((sal_uLong)0x00100000) 68 #define QUEUE_STATUS_USER_INTERVENTION ((sal_uLong)0x00200000) 69 #define QUEUE_STATUS_OUT_OF_MEMORY ((sal_uLong)0x00400000) 70 #define QUEUE_STATUS_DOOR_OPEN ((sal_uLong)0x00800000) 71 #define QUEUE_STATUS_POWER_SAVE ((sal_uLong)0x01000000) 72 73 #define QUEUE_JOBS_DONTKNOW ((sal_uLong)0xFFFFFFFF) 74 75 // ----------------- 76 // - Printer-Types - 77 // ----------------- 78 79 #define PRINTER_CAPABILITIES_SUPPORTDIALOG ((sal_uInt16)1) 80 #define PRINTER_CAPABILITIES_COPIES ((sal_uInt16)2) 81 #define PRINTER_CAPABILITIES_COLLATECOPIES ((sal_uInt16)3) 82 #define PRINTER_CAPABILITIES_SETORIENTATION ((sal_uInt16)4) 83 #define PRINTER_CAPABILITIES_SETPAPERBIN ((sal_uInt16)5) 84 #define PRINTER_CAPABILITIES_SETPAPERSIZE ((sal_uInt16)6) 85 #define PRINTER_CAPABILITIES_SETPAPER ((sal_uInt16)7) 86 #define PRINTER_CAPABILITIES_FAX ((sal_uInt16)8) 87 #define PRINTER_CAPABILITIES_PDF ((sal_uInt16)9) 88 #define PRINTER_CAPABILITIES_EXTERNALDIALOG ((sal_uInt16)10) 89 #define PRINTER_CAPABILITIES_SETDUPLEX ((sal_uInt16)11) 90 #define PRINTER_CAPABILITIES_USEPULLMODEL ((sal_uInt16)12) 91 92 #endif // _SV_PRNTYPES_HXX 93