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. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-oh-scan-scan-picturescanprogress
openharmony 鸿蒙 js-apis-screen-lock
openharmony 鸿蒙 capi-os-account-common-h
openharmony 鸿蒙 js-apis-screen-lock-sys
openharmony 鸿蒙 capi-oh-print-print-propertylist
openharmony 鸿蒙 js-apis-system-device