Platforms to show: All Mac Windows Linux Cross-Platform
CUPSMBS constants
Constants
Constant | Value | Description |
---|---|---|
kJobAborted | 8 |
One of the constants for the job state.
Job was aborted. Example |
kJobCanceled | 7 |
One of the constants for the job state.
Job was canceled. Example |
kJobCompleted | 9 |
One of the constants for the job state.
Job was completed. Example |
kJobHeld | 4 |
One of the constants for the job state.
Job is held. Example |
kJobIDAll | -1 | A job constant for all jobs. |
kJobIDCurrent | 0 | A job constant for the current job. |
kJobPending | 3 |
One of the constants for the job state.
Job is pending Example |
kJobProcessing | 5 |
One of the constants for the job state.
Job is processing. Example |
kJobStopped | 6 |
One of the constants for the job state.
Job is stopped. Example |
kPrinterAUTHENTICATED | &h400000 |
One of the printer type/capability bit constants.
Printer requires authentication |
kPrinterBIND | &h0400 |
One of the printer type/capability bit constants.
Can bind output |
kPrinterBW | &h0004 |
One of the printer type/capability bit constants.
Can do B&W printing Example |
kPrinterCLASS | &h0001 |
One of the printer type/capability bit constants.
Printer class |
kPrinterCOLLATE | &h0080 |
One of the printer type/capability bit constants.
Can collage copies |
kPrinterCOLOR | &h0008 |
One of the printer type/capability bit constants.
Can do color printing Example |
kPrinterCOMMANDS | &h800000 |
One of the printer type/capability bit constants.
Printer supports maintenance commands |
kPrinterCOPIES | &h0040 |
One of the printer type/capability bit constants.
Can do copies |
kPrinterCOVER | &h0200 |
One of the printer type/capability bit constants.
Can cover output |
kPrinterDEFAULT | &h20000 |
One of the printer type/capability bit constants.
Default printer on network |
kPrinterDELETE | &h100000 |
One of the printer type/capability bit constants.
Delete printer |
kPrinterDISCOVERED | &h1000000 |
One of the printer type/capability bit constants.
Printer was automatically discovered and added. |
kPrinterDUPLEX | &h0010 |
One of the printer type/capability bit constants.
Can do duplexing Example |
kPrinterFAX | &h40000 |
One of the printer type/capability bit constants.
Fax queue Example |
kPrinterIMPLICIT | &h10000 |
One of the printer type/capability bit constants.
Implicit class |
kPrinterLARGE | &h4000 |
One of the printer type/capability bit constants.
Can do D/E/A1/A0 |
kPrinterLOCAL | &h0000 |
One of the printer type/capability bit constants.
Local printer or class |
kPrinterMEDIUM | &h2000 |
One of the printer type/capability bit constants.
Can do Tabloid/B/C/A3/A2 |
kPrinterMFP | &h4000000 |
One of the printer type/capability bit constants.
Printer with scanning capabilities Example |
kPrinterNotShared | &h200000 |
One of the printer type/capability bit constants.
Printer is not shared. |
kPrinterOPTIONS | &h6fffc | One of the printer type/capability bit constants. |
kPrinterPUNCH | &h0100 |
One of the printer type/capability bit constants.
Can punch output. |
kPrinterREJECTING | &h80000 |
One of the printer type/capability bit constants.
Printer is rejecting jobs. |
kPrinterREMOTE | &h0002 |
One of the printer type/capability bit constants.
Remote printer or class. |
kPrinterSCANNER | &h2000000 |
One of the printer type/capability bit constants.
Scanner-only device Example |
kPrinterSMALL | &h1000 |
One of the printer type/capability bit constants.
Can do Letter/Legal/A4. Example |
kPrinterSORT | &h0800 |
One of the printer type/capability bit constants.
Can sort output. |
kPrinterSTAPLE | &h0020 |
One of the printer type/capability bit constants.
Can staple output. |
kPrinterVARIABLE | &h8000 |
One of the printer type/capability bit constants.
Can do variable sizes. |
kStatusAttributes | &h040B |
One of the CUPS error constants.
client error attributes or values not supported |
kStatusAttributesNotSettable | &h0413 |
One of the CUPS error constants.
client error attributes not settable |
kStatusBadRequest | &h0400 |
One of the CUPS error constants.
client error bad request |
kStatusCharset | &h040D |
One of the CUPS error constants.
client error charset not supported |
kStatusCompressionError | &h0410 |
One of the CUPS error constants.
client error compression error |
kStatusCompressionNotSupported | &h040F |
One of the CUPS error constants.
client error compression not supported |
kStatusConflict | &h040E |
One of the CUPS error constants.
client error conflicting attributes |
kStatusDeviceError | &h0504 |
One of the CUPS error constants.
server error device error |
kStatusDocumentAccessError | &h0412 |
One of the CUPS error constants.
client error document access error |
kStatusDocumentFormat | &h040A |
One of the CUPS error constants.
client error document format not supported |
kStatusDocumentFormatError | &h0411 |
One of the CUPS error constants.
client error document format error |
kStatusErrorJobCanceled | &h0508 |
One of the CUPS error constants.
server error job canceled |
kStatusForbidden | &h0401 |
One of the CUPS error constants.
client error forbidden |
kStatusGone | &h0407 |
One of the CUPS error constants.
client error gone |
kStatusIgnoredAllNotifications | &h0416 |
One of the CUPS error constants.
client error ignored all notifications |
kStatusIgnoredAllSubscriptions | &h0414 |
One of the CUPS error constants.
client error ignored all subscriptions |
kStatusInternalError | &h0500 |
One of the CUPS error constants.
server error internal error |
kStatusMultipleJobsNotSupported | &h0509 |
One of the CUPS error constants.
server error multiple document jobs not supported |
kStatusNotAccepting | &h0506 |
One of the CUPS error constants.
server error not accepting jobs |
kStatusNotAuthenticated | &h0402 |
One of the CUPS error constants.
client error not authenticated |
kStatusNotAuthorized | &h0403 |
One of the CUPS error constants.
client error not authorized |
kStatusNotFound | &h0406 |
One of the CUPS error constants.
client error not found |
kStatusNotPossible | &h0404 |
One of the CUPS error constants.
client error not possible |
kStatusOK | 0 |
One of the CUPS error constants.
successful ok |
kStatusOKButCancelSubscription | 6 |
One of the CUPS error constants.
successful ok but cancel subscription |
kStatusOKConflict | 2 |
One of the CUPS error constants.
successful ok conflicting attributes |
kStatusOKEventsComplete | 7 |
One of the CUPS error constants.
successful ok events complete |
kStatusOKIgnoredNotifications | 4 |
One of the CUPS error constants.
successful ok ignored notifications |
kStatusOKIgnoredSubscriptions | 3 |
One of the CUPS error constants.
successful ok ignored subscriptions |
kStatusOKSubst | 1 |
One of the CUPS error constants.
successful ok ignored or substituted attributes |
kStatusOKTooManyEvents | 5 |
One of the CUPS error constants.
successful ok too many events |
kStatusOperationNotSupported | &h0501 |
One of the CUPS error constants.
server error operation not supported |
kStatusPrinterBusy | &h0507 |
One of the CUPS error constants.
server error busy |
kStatusPrinterIsDeactivated | &h050A |
One of the CUPS error constants.
server error printer is deactivated |
kStatusPrintSupportFileNotFound | &h0417 |
One of the CUPS error constants.
client error print support file not found |
kStatusRedirectionOtherSite | &h200 |
One of the CUPS error constants.
redirection other site |
kStatusRequestEntity | &h0408 |
One of the CUPS error constants.
client error request entity too large |
kStatusRequestValue | &h0409 |
One of the CUPS error constants.
client error request value too long |
kStatusSeeOther | &h280 |
One of the CUPS error constants.
cups see other |
kStatusServiceUnavailable | &h0502 |
One of the CUPS error constants.
server error service unavailable |
kStatusTemporaryError | &h0505 |
One of the CUPS error constants.
server error temporary error |
kStatusTimeout | &h0405 |
One of the CUPS error constants.
client error timeout |
kStatusTooManySubscriptions | &h0415 |
One of the CUPS error constants.
client error too many subscriptions |
kStatusURIScheme | &h040C |
One of the CUPS error constants.
client error uri scheme not supported |
kStatusVersionNotSupported | &h0503 |
One of the CUPS error constants.
server error version not supported |
kWhichJobsActive | 0 | One constant for using in GetJobs. |
kWhichJobsAll | -1 | One constant for using in GetJobs. |
kWhichJobsComplete | 1 | One constant for using in GetJobs. |