Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Print RAW data on macOS (for label printers).
You can send raw commands to label printers. Or print a file directly to a printer.
For a laser printer you may also send directly PostScript or PDF data.
See also Printer functions.
Version | macOS | Windows | Linux | Server | iOS SDK |
2.5 / 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ❌ No |
Item | Details |
---|---|
CUPS.CancelJob Cancel a print job on the default server. | Mac only 2.5 |
CUPS.GetDefaultPrinterName Get the default printer or class for the default server. | Mac only 2.5 |
CUPS.GetJobCompletionTime Queries the completion time of the job. | Mac only 2.5 |
CUPS.GetJobCreationTime Queries the creation time of the job. | Mac only 2.5 |
CUPS.GetJobFormat Queries job's document format. | Mac only 2.5 |
CUPS.GetJobID Queries job number. | Mac only 2.5 |
CUPS.GetJobIndex Queries job index for ID. | Mac only 7.4 |
CUPS.GetJobPrinter Queries job's printer name. | Mac only 2.5 |
CUPS.GetJobPriority Queries job's priority. | Mac only 2.5 |
CUPS.GetJobProcessingTime Queries the processing time of the job. | Mac only 2.5 |
CUPS.GetJobSize Queries job size. | Mac only 2.5 |
CUPS.GetJobState Queries job state. | Mac only 2.5 |
CUPS.GetJobTitle Queries job title. | Mac only 2.5 |
CUPS.GetJobUser Queries which user submitted the job. | Mac only 2.5 |
CUPS.GetJobsAsJSON Queries some jobs and returns JSON Array. | Mac only 10.5 |
CUPS.GetJobsCount Selects some jobs and returns the count of jobs found. | Mac only 2.5 |
CUPS.GetPrinterCount Queries number of printers. | Mac only 2.5 |
CUPS.GetPrinterDefault Queries whether this printer is the default printer. | Mac only 2.5 |
CUPS.GetPrinterName Queries the name of this printer. | Mac only 2.5 |
CUPS.GetPrintersAsJSON Queries list of printers as JSON. | Mac only 10.5 |
CUPS.LastErrorCode Return the last IPP status code. | Mac only 2.5 |
CUPS.LastErrorMessage Return the last status-message. | Mac only 2.5 |
CUPS.PrintData Print a file to a printer or class on the default server. | Mac only 2.5 |
CUPS.PrintDataEncoding Print a file to a printer or class on the default server. | Mac only 6.3 |
CUPS.PrintFile Print a file to a printer or class on the default server. | Mac only 2.5 |
25 functions.
Feedback: Report problem or ask question.