Print_PrintJob

typedef struct {...} Print_PrintJob

Overview

Defines a struct for the print job.

Since: 12

Related module: OH_Print

Header file: ohprint.h

Summary

Member Variables

Name Description
char *jobName Job name.
uint32_t *fdList Array of file descriptors to be printed.
uint32_t fdListCount Number of file descriptors to be printed.
char *printerId Printer ID.
uint32_t copyNumber Number of copies to print.
char *paperSource Paper source.
char *mediaType Media type.
char *pageSizeId Page size ID.
Print_ColorMode colorMode Color mode.
Print_DuplexMode duplexMode Duplex mode.
Print_Resolution resolution Print resolution, in dpi.
Print_Margin printMargin Page margin.
bool borderless Whether to print without margins.
Print_OrientationMode orientationMode Orientation mode.
Print_Quality printQuality Print quality.
Print_DocumentFormat documentFormat Document format.
char *advancedOptions Advanced options in JSON format.
The supported keys are as follows:
- isReverse: Boolean type, indicating whether to print in reverse order.
- isCollate: Boolean type, indicating whether to print copies one by one.