openharmony 鸿蒙 capi-oh-print-print-printattributes

2026-08-25 浏览 (1)

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

NameDescription
Print_Range pageRangePage range.
Print_PageSize pageSizePage size.
Print_Margin pageMarginPage margin.
uint32_t copyNumberNumber of copies to print.
uint32_t duplexModeDuplex mode.
uint32_t colorModeColor mode.
bool isSequentialWhether pages are printed in sequential order.
The value true indicates that pages are printed in sequential order, and false indicates the opposite.
bool isLandscapeWhether 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 hasOptionWhether 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 鸿蒙 errorcode-zlib

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 鸿蒙 capi-oh-scan

openharmony 鸿蒙 js-apis-system-device

openharmony 鸿蒙 errorcode-intelligentVoice

openharmony 鸿蒙 js-apis-request-sys

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/rUhGAe4D