18#include <QtPrintSupport/private/qtprintsupportglobal_p.h>
19#include <QtPrintSupport/private/qprint_p.h>
20#include "QtCore/qstring.h"
21#include "QtCore/qstringlist.h"
22#include "QtPrintSupport/qprinter.h"
23#include "QtCore/qdatetime.h"
35#define PPK_CupsOptions QPrintEngine::PrintEnginePropertyKey(0xfe00)
37#define PDPK_PpdFile QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase)
38#define PDPK_PpdOption QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 1)
39#define PDPK_CupsJobPriority QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 2)
40#define PDPK_CupsJobSheets QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 3)
41#define PDPK_CupsJobBilling QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 4)
42#define PDPK_CupsJobHoldUntil QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 5)
43#define PDPK_PpdChoiceIsInstallableConflict QPrintDevice::PrintDevicePropertyKey(QPrintDevice::PDPK_CustomBase + 6)
90 LeftToRightTopToBottom = 0,
97 TopToBottomRightToLeft
102 static void clearCupsOptions(
QPrinter *printer);
106 static void setJobPriority(
QPrinter *printer,
int priority = 50);
111 static void setPageRange(
QPrinter *printer,
int pageFrom,
int pageTo);
117 : startBannerPage(
s), endBannerPage(
e) {}
127 : jobHold(jh),
time(
t) {}
134 static ppd_option_t *findPpdOption(
const char *optionName,
QPrintDevice *printDevice);
145 QCUPSSupport__JobHoldUntil, Q_PRINTSUPPORT_EXPORT)
147 QCUPSSupport__BannerPage, Q_PRINTSUPPORT_EXPORT)
150 QCUPSSupport__PagesPerSheetLayout, Q_PRINTSUPPORT_EXPORT)
152 QCUPSSupport__PagesPerSheet, Q_PRINTSUPPORT_EXPORT)
static void setCupsOption(QPrinter *printer, const QString &option, const QString &value)
\macro QT_RESTRICTED_CAST_FROM_ASCII
\inmodule QtCore \reentrant
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define QT_REQUIRE_CONFIG(feature)
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
JobHoldUntilWithTime(JobHoldUntil jh=NoHold, QTime t=QTime())
BannerPage startBannerPage
JobSheets(BannerPage s=NoBanner, BannerPage e=NoBanner)