Cloud Printing
Print Jobs
Print jobs represent documents queued for printing. When you create a print job, the system automatically routes it to the best available printer based on document requirements and queue length.
Endpoints
Required Scopes
print_jobs:read- For listing and retrieving jobsprint_jobs:write- For creating and updating jobs
Create Print Job
Creates a new print job. The system will route the job to the most suitable printer based on capabilities and queue length.
Request Body
Parameters
Document Data Formats
The data field accepts two formats:
URL:
Base64 with data URI:
Resource Types
Link print jobs to PackageX resources for tracking:
Configuration Options
Auto-Selection Logic
When print_station_id is not provided, the system automatically selects the best printer:
- Filter by Capability - Only printers supporting the required paper size and orientation
- Check User Access - Only stations the user can access
- Match Location - Only stations at the specified location
- Optimize Queue - Select the printer with the fewest queued jobs
Minimal Request Example
Response
Update Print Job Status
Updates the status of a print job. This endpoint is typically used by the print station application to report job progress.
Status Transitions
Request Examples
Mark as Processing:
Mark as Completed:
Mark as Failed:
The reason field is required when status is failed and must be 3-1023 characters.
Cancel Job:
Response
List Print Jobs
Returns a paginated list of print jobs.
Query Parameters
Example Request
Response
Retrieve Print Job
Retrieves a single print job by ID.
Example Request
Response
Error Codes
Webhooks
Print job status changes trigger webhook events: