Print_PrintAttributes

typedef struct {...} Print_PrintAttributes

Overview

Defines a struct for the print attributes.

Since: 13

Related module: OH_Print

Header file: ohprint.h

Summary

Member Variables

Name Description
Print_Range pageRange Page range.
Print_PageSize pageSize Page size.
Print_Margin pageMargin Page margin.
uint32_t copyNumber Number of copies to print.
uint32_t duplexMode Duplex mode.
uint32_t colorMode Color mode.
bool isSequential Whether pages are printed in sequential order.
The value true indicates that pages are printed in sequential order, and false indicates the opposite.
bool isLandscape Whether pages are printed in landscape mode.
The value true indicates that pages are printed in landscape mode, and false indicates that pages are printed in portrait mode.
bool hasOption Whether the printing has an option flag.
The value true indicates that the printing has an option flag, and false indicates the opposite.
char options[256] Print options.