• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Print_PrintAttributes
2
3
4## Overview
5
6Defines the print attributes.
7
8**Since**: 13
9
10**Related module**: [OH_Print](_o_h___print.md)
11
12**Header file**: [ohprint.h](ohprint_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| [Print_Range](_print___range.md) [pageRange](#pagerange) | Defines the page range. |
22| [Print_PageSize](_print___page_size.md) [pageSize](#pagesize) | Defines the page size. |
23| [Print_Margin](_print___margin.md) [pageMargin](#pagemargin) | Defines the page margin. |
24| uint32_t [copyNumber](#copynumber) | Defines the number of copies to print. |
25| uint32_t [duplexMode](#duplexmode) | Defines the duplex mode. |
26| uint32_t [colorMode](#colormode) | Defines the color mode. |
27| bool [isSequential](#issequential) | Defines whether to print in a sequential manner. |
28| bool [isLandscape](#islandscape) | Defines whether to print in the landscape mode. |
29| bool [hasOption](#hasoption) | Defines whether the printing has an option flag. |
30| char [options](#options) [256] | Defines the printing options. |
31
32
33## Member Variable Description
34
35
36### colorMode
37
38```
39uint32_t Print_PrintAttributes::colorMode
40```
41**Description**
42
43Defines the color mode.
44
45
46### copyNumber
47
48```
49uint32_t Print_PrintAttributes::copyNumber
50```
51**Description**
52
53Defines the number of copies to print.
54
55
56### duplexMode
57
58```
59uint32_t Print_PrintAttributes::duplexMode
60```
61**Description**
62
63Defines the duplex mode.
64
65
66### hasOption
67
68```
69bool Print_PrintAttributes::hasOption
70```
71**Description**
72
73Defines whether the printing has an option flag.
74
75
76### isLandscape
77
78```
79bool Print_PrintAttributes::isLandscape
80```
81**Description**
82
83Defines whether to print in the landscape mode.
84
85
86### isSequential
87
88```
89bool Print_PrintAttributes::isSequential
90```
91**Description**
92
93Defines whether to print in a sequential manner.
94
95
96### options
97
98```
99char Print_PrintAttributes::options[256]
100```
101**Description**
102
103Defines the printing options.
104
105
106### pageMargin
107
108```
109Print_Margin Print_PrintAttributes::pageMargin
110```
111**Description**
112
113Defines the page margin.
114
115
116### pageRange
117
118```
119Print_Range Print_PrintAttributes::pageRange
120```
121**Description**
122
123Defines the page range.
124
125
126### pageSize
127
128```
129Print_PageSize Print_PrintAttributes::pageSize
130```
131**Description**
132
133Defines the page size.
134