Home
last modified time | relevance | path

Searched refs:SetPrinterAttrNameAndValue (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_attribute.cpp120 printerCaps.SetPrinterAttrNameAndValue("printer-state", in SetCapabilityGroupAttribute()
137 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), duplexModeJson.c_str()); in ParseDuplexModeAttributes()
160 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), colorModeJson.c_str()); in ParseColorModeAttributes()
215 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), attrString.c_str()); in ParseQualityAttributes()
354 printerCaps.SetPrinterAttrNameAndValue("media-bottom-margin-supported", in ParseMediaMarginAttributes()
358 printerCaps.SetPrinterAttrNameAndValue("media-top-margin-supported", in ParseMediaMarginAttributes()
362 printerCaps.SetPrinterAttrNameAndValue("media-left-margin-supported", in ParseMediaMarginAttributes()
366 printerCaps.SetPrinterAttrNameAndValue("media-right-margin-supported", in ParseMediaMarginAttributes()
406 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), attrString.c_str()); in ParseOtherAttributes()
413 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), attrString.c_str()); in ParseOtherAttributes()
[all …]
H A Dvendor_helper.cpp453 printerCap.SetPrinterAttrNameAndValue("defaultPageSizeId", pageId.c_str()); in UpdateDefaultPageSizeId()
514 … printerCap.SetPrinterAttrNameAndValue("print-quality-supported", supportedQualities.c_str()); in UpdateQualityCapability()
533 printerCap.SetPrinterAttrNameAndValue("print-color-mode-supported", colorModeJson.c_str()); in UpdateColorCapability()
558 printerCap.SetPrinterAttrNameAndValue("sides-supported", duplexModeJson.c_str()); in UpdateDuplexCapability()
600 printerCap.SetPrinterAttrNameAndValue("printer-resolution-default", object.dump().c_str()); in UpdateResolutionDefaultValue()
623 printerCap.SetPrinterAttrNameAndValue("orientation-requested-default", in UpdateOrientationCapability()
634 printerCap.SetPrinterAttrNameAndValue("orientation-requested-supported", in UpdateOrientationCapability()
648 … printerCap.SetPrinterAttrNameAndValue("media-type-supported", capability->supportedMediaTypes); in UpdateMediaCapability()
658 printerCap.SetPrinterAttrNameAndValue("media-type-default", defaultValue->defaultMediaType); in UpdateMediaCapability()
664 … printerCap.SetPrinterAttrNameAndValue("media-source-default", defaultValue->defaultPaperSource); in UpdateMediaCapability()
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprinter_capability_test.cpp263 capability.SetPrinterAttrNameAndValue("key1", "value1");
264 capability.SetPrinterAttrNameAndValue("key2", "value2");
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprinter_capability.h111 void SetPrinterAttrNameAndValue(const char* name, const char* value);
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprinter_capability.cpp443 void PrinterCapability::SetPrinterAttrNameAndValue(const char *name, const char *value) in SetPrinterAttrNameAndValue() function in OHOS::Print::PrinterCapability