openharmony 鸿蒙 capi-oh-print-print-printjob

2026-08-25 浏览 (1)

Print_PrintJob

typedef struct {...} Print_PrintJob

Overview

Defines a struct for the print job.

Since: 12

Related module: OH_Print

Header file: ohprint.h

Summary

Member Variables

NameDescription
char *jobNameJob name.
uint32_t *fdListArray of file descriptors to be printed.
uint32_t fdListCountNumber of file descriptors to be printed.
char *printerIdPrinter ID.
uint32_t copyNumberNumber of copies to print.
char *paperSourcePaper source.
char *mediaTypeMedia type.
char *pageSizeIdPage size ID.
Print_ColorMode colorModeColor mode.
Print_DuplexMode duplexModeDuplex mode.
Print_Resolution resolutionPrint resolution, in dpi.
Print_Margin printMarginPage margin.
bool borderlessWhether to print without margins.
Print_OrientationMode orientationModeOrientation mode.
Print_Quality printQualityPrint quality.
Print_DocumentFormat documentFormatDocument format.
char *advancedOptionsAdvanced options in JSON format.
The supported keys are as follows:
- isReverse: Boolean type, indicating whether to print in reverse order.
- isCollate: Boolean type, indicating whether to print copies one by one.

你可能感兴趣的鸿蒙文章

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/GQG0FKt9