From c18cbf532437be13f547dff8853ae32b30bf016e Mon Sep 17 00:00:00 2001 From: Teja Manthena Date: Wed, 21 Feb 2024 10:57:55 +0100 Subject: [PATCH] Integrate the updated sfAPI in to ezeepjs. --- src/shared/types.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/shared/types.d.ts b/src/shared/types.d.ts index df64397..4b4f3f9 100644 --- a/src/shared/types.d.ts +++ b/src/shared/types.d.ts @@ -92,8 +92,16 @@ export interface Trays { } export interface PrinterConfig { + Preset?: { + Duplex?: string + Color?: string + Resolution?: string + Paper?: string + Tray?: string + }, Collate?: boolean Color?: boolean + ColorSupported?: boolean Driver?: string DuplexMode?: number DuplexSupported?: boolean @@ -106,6 +114,7 @@ export interface PrinterConfig { OrientationsSupportedId?: Array PaperFormats?: Array Resolutions?: Array + DefaultResolution?: string TPUID?: number Trays?: Array }