Platforms to show: All Mac Windows Linux Cross-Platform

Back to CUPSMBS module.

CUPSMBS.kJobAborted = 8

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job was aborted.

CUPSMBS.kJobCanceled = 7

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job was canceled.

CUPSMBS.kJobCompleted = 9

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job was completed.

CUPSMBS.kJobHeld = 4

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job is held.

CUPSMBS.kJobIDAll = -1

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
A job constant for all jobs.

CUPSMBS.kJobIDCurrent = 0

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
A job constant for the current job.

CUPSMBS.kJobPending = 3

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job is pending

CUPSMBS.kJobProcessing = 5

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job is processing.

CUPSMBS.kJobStopped = 6

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the constants for the job state.
Example
dim jobs(-1) as CUPSJobMBS = CUPSMBS.GetJobs("", false, CUPSMBS.kWhichJobsAll)
dim state as Integer = jobs(0).State // check state of first job
dim s as string = "?"

Select case state
case CUPSMBS.kJobAborted
s = "Aborted"
case CUPSMBS.kJobCanceled
s = "Canceled"
case CUPSMBS.kJobCompleted
s = "Completed"
case CUPSMBS.kJobHeld
s = "Held"
case CUPSMBS.kJobStopped
s = "Stopped"
case CUPSMBS.kJobPending
s = "Pending"
case CUPSMBS.kJobProcessing
s = "Processing"
end Select

MsgBox str(State)+": "+s

Job is stopped.

CUPSMBS.kPrinterAUTHENTICATED = &h400000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer requires authentication

CUPSMBS.kPrinterBIND = &h0400

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can bind output

CUPSMBS.kPrinterBW = &h0004

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterBW)=CUPSMBS.kPrinterBW then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Can do B&W printing

CUPSMBS.kPrinterCLASS = &h0001

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer class

CUPSMBS.kPrinterCOLLATE = &h0080

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can collage copies

CUPSMBS.kPrinterCOLOR = &h0008

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterCOLOR)=CUPSMBS.kPrinterCOLOR then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Can do color printing

CUPSMBS.kPrinterCOMMANDS = &h800000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer supports maintenance commands

CUPSMBS.kPrinterCOPIES = &h0040

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can do copies

CUPSMBS.kPrinterCOVER = &h0200

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can cover output

CUPSMBS.kPrinterDEFAULT = &h20000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Default printer on network

CUPSMBS.kPrinterDELETE = &h100000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Delete printer

CUPSMBS.kPrinterDISCOVERED = &h1000000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer was automatically discovered and added.

CUPSMBS.kPrinterDUPLEX = &h0010

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterDUPLEX)=CUPSMBS.kPrinterDUPLEX then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Can do duplexing

CUPSMBS.kPrinterFAX = &h40000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterFAX)=CUPSMBS.kPrinterFAX then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Fax queue

CUPSMBS.kPrinterIMPLICIT = &h10000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Implicit class

CUPSMBS.kPrinterLARGE = &h4000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can do D/E/A1/A0

CUPSMBS.kPrinterLOCAL = &h0000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Local printer or class

CUPSMBS.kPrinterMEDIUM = &h2000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can do Tabloid/B/C/A3/A2

CUPSMBS.kPrinterMFP = &h4000000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterMFP)=CUPSMBS.kPrinterMFP then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Printer with scanning capabilities

CUPSMBS.kPrinterNotShared = &h200000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer is not shared.

CUPSMBS.kPrinterOPTIONS = &h6fffc

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

CUPSMBS.kPrinterPUNCH = &h0100

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can punch output.

CUPSMBS.kPrinterREJECTING = &h80000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Printer is rejecting jobs.

CUPSMBS.kPrinterREMOTE = &h0002

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Remote printer or class.

CUPSMBS.kPrinterSCANNER = &h2000000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterSCANNER)=CUPSMBS.kPrinterSCANNER then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Scanner-only device

CUPSMBS.kPrinterSMALL = &h1000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.
Example
dim lines(-1) as string

for each c as CUPSDestinationMBS in CUPSMBS.GetDestinations
for each o as CUPSOptionMBS in c.Options
if o.Name="printer-type" then
dim x as Integer = val(o.Value)

if BitwiseAnd(x, CUPSMBS.kPrinterSMALL)=CUPSMBS.kPrinterSMALL then
lines.Append c.Name+": yes"
else
lines.Append c.Name+": no"
end if
end if
next
next

MsgBox Join(lines,EndOfLine)

Can do Letter/Legal/A4.

CUPSMBS.kPrinterSORT = &h0800

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can sort output.

CUPSMBS.kPrinterSTAPLE = &h0020

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can staple output.

CUPSMBS.kPrinterVARIABLE = &h8000

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the printer type/capability bit constants.

Can do variable sizes.

CUPSMBS.kStatusAttributes = &h040B

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error attributes or values not supported

CUPSMBS.kStatusAttributesNotSettable = &h0413

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error attributes not settable

CUPSMBS.kStatusBadRequest = &h0400

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error bad request

CUPSMBS.kStatusCharset = &h040D

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error charset not supported

CUPSMBS.kStatusCompressionError = &h0410

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error compression error

CUPSMBS.kStatusCompressionNotSupported = &h040F

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error compression not supported

CUPSMBS.kStatusConflict = &h040E

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error conflicting attributes

CUPSMBS.kStatusDeviceError = &h0504

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error device error

CUPSMBS.kStatusDocumentAccessError = &h0412

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error document access error

CUPSMBS.kStatusDocumentFormat = &h040A

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error document format not supported

CUPSMBS.kStatusDocumentFormatError = &h0411

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error document format error

CUPSMBS.kStatusErrorJobCanceled = &h0508

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error job canceled

CUPSMBS.kStatusForbidden = &h0401

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error forbidden

CUPSMBS.kStatusGone = &h0407

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error gone

CUPSMBS.kStatusIgnoredAllNotifications = &h0416

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error ignored all notifications

CUPSMBS.kStatusIgnoredAllSubscriptions = &h0414

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error ignored all subscriptions

CUPSMBS.kStatusInternalError = &h0500

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error internal error

CUPSMBS.kStatusMultipleJobsNotSupported = &h0509

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error multiple document jobs not supported

CUPSMBS.kStatusNotAccepting = &h0506

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error not accepting jobs

CUPSMBS.kStatusNotAuthenticated = &h0402

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error not authenticated

CUPSMBS.kStatusNotAuthorized = &h0403

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error not authorized

CUPSMBS.kStatusNotFound = &h0406

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error not found

CUPSMBS.kStatusNotPossible = &h0404

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error not possible

CUPSMBS.kStatusOK = 0

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok

CUPSMBS.kStatusOKButCancelSubscription = 6

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok but cancel subscription

CUPSMBS.kStatusOKConflict = 2

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok conflicting attributes

CUPSMBS.kStatusOKEventsComplete = 7

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok events complete

CUPSMBS.kStatusOKIgnoredNotifications = 4

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok ignored notifications

CUPSMBS.kStatusOKIgnoredSubscriptions = 3

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok ignored subscriptions

CUPSMBS.kStatusOKSubst = 1

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok ignored or substituted attributes

CUPSMBS.kStatusOKTooManyEvents = 5

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

successful ok too many events

CUPSMBS.kStatusOperationNotSupported = &h0501

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error operation not supported

CUPSMBS.kStatusPrinterBusy = &h0507

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error busy

CUPSMBS.kStatusPrinterIsDeactivated = &h050A

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error printer is deactivated

CUPSMBS.kStatusPrintSupportFileNotFound = &h0417

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error print support file not found

CUPSMBS.kStatusRedirectionOtherSite = &h200

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

redirection other site

CUPSMBS.kStatusRequestEntity = &h0408

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error request entity too large

CUPSMBS.kStatusRequestValue = &h0409

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error request value too long

CUPSMBS.kStatusSeeOther = &h280

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

cups see other

CUPSMBS.kStatusServiceUnavailable = &h0502

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error service unavailable

CUPSMBS.kStatusTemporaryError = &h0505

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error temporary error

CUPSMBS.kStatusTimeout = &h0405

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error timeout

CUPSMBS.kStatusTooManySubscriptions = &h0415

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error too many subscriptions

CUPSMBS.kStatusURIScheme = &h040C

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

client error uri scheme not supported

CUPSMBS.kStatusVersionNotSupported = &h0503

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One of the CUPS error constants.

server error version not supported

CUPSMBS.kWhichJobsActive = 0

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One constant for using in GetJobs.

CUPSMBS.kWhichJobsAll = -1

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One constant for using in GetJobs.

CUPSMBS.kWhichJobsComplete = 1

Type Topic Plugin Version
const CUPS MBS Tools Plugin 9.7
One constant for using in GetJobs.

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...