harmony 鸿蒙Print_PrintAttributes

  • 2025-06-12
  • 浏览 (4)

Print_PrintAttributes

Overview

Defines the print attributes.

Since: 13

Related module: OH_Print

Summary

Member Variables

Name Description
Print_Range pageRange Defines the page range.
Print_PageSize pageSize Defines the page size.
Print_Margin pageMargin Defines the page margin.
uint32_t copyNumber Defines the number of copies to print.
uint32_t duplexMode Defines the duplex mode.
uint32_t colorMode Defines the color mode.
bool isSequential Defines whether to print in a sequential manner.
bool isLandscape Defines whether to print in the landscape mode.
bool hasOption Defines whether the printing has an option flag.
char options [256] Defines the printing options.

Member Variable Description

colorMode

uint32_t Print_PrintAttributes::colorMode

Description Defines the color mode.

copyNumber

uint32_t Print_PrintAttributes::copyNumber

Description Defines the number of copies to print.

duplexMode

uint32_t Print_PrintAttributes::duplexMode

Description Defines the duplex mode.

hasOption

bool Print_PrintAttributes::hasOption

Description Defines whether the printing has an option flag.

isLandscape

bool Print_PrintAttributes::isLandscape

Description Defines whether to print in the landscape mode.

isSequential

bool Print_PrintAttributes::isSequential

Description Defines whether to print in a sequential manner.

options

char Print_PrintAttributes::options[256]

Description Defines the printing options.

pageMargin

Print_Margin Print_PrintAttributes::pageMargin

Description Defines the page margin.

pageRange

Print_Range Print_PrintAttributes::pageRange

Description Defines the page range.

pageSize

Print_PageSize Print_PrintAttributes::pageSize

Description Defines the page size.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Basic Services Kit

harmony 鸿蒙DeviceInfo

harmony 鸿蒙InitSync

harmony 鸿蒙OH_Print

harmony 鸿蒙OsAccount

harmony 鸿蒙Pasteboard

harmony 鸿蒙Print_Margin

harmony 鸿蒙Print_PageSize

harmony 鸿蒙Print_PrintDocCallback

harmony 鸿蒙Print_Range

0  赞