adpater打印接口解析传入的参数 Signed-off-by:xiongqiao3@huawei.com

Signed-off-by: xiongqiao <xiongqiao3@huawei.com>
This commit is contained in:
xiongqiao 2023-11-22 15:35:22 +08:00
parent c43f550932
commit 3469a757ef

View File

@ -187,8 +187,8 @@ declare namespace print {
PAGE_ISO_DL = 5,
PAGE_LETTER = 6,
PAGE_LEGAL = 7,
PAGE_PHOTO_4x6 = 8,
PAGE_PHOTO_5x7 = 9,
PAGE_PHOTO_4X6 = 8,
PAGE_PHOTO_5X7 = 9,
PAGE_INT_DL_ENVELOPE = 10,
PAGE_B_TABLOID = 11,
}
@ -231,13 +231,6 @@ declare namespace print {
verticalDpi: number; // vertical DPI
}
interface PrintPageSize {
id: string; // page size id
name: string; // page size name
width: number; // unit: millimeter
height: number; // unit: millimeter
}
interface PrinterCapability {
/* Printer Capability */
colorMode: number; // color mode