From d9295de18658351f272e4df0a5189afcd3479e56 Mon Sep 17 00:00:00 2001 From: Maff Date: Fri, 4 Oct 2019 21:31:28 +0100 Subject: [PATCH] computers are real bad. it dithers now and it actually does work (tho looks not so great with the P1) - potential for using more dithering algos in the future due to the AForge.Imaging lib --- libpaperang/Interfaces/USB.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libpaperang/Interfaces/USB.cs b/libpaperang/Interfaces/USB.cs index eccc53e..d1e2bab 100644 --- a/libpaperang/Interfaces/USB.cs +++ b/libpaperang/Interfaces/USB.cs @@ -38,10 +38,12 @@ namespace libpaperang.Interfaces { public short BasePrintDelay { get { switch(PrinterVariant) { + //A delay when actually -printing- is necessary; moreso with the P2 model, as higher DPI means more packets for the same physical length of paper + // and when faced with a print data buffer exhaustion, the printer will simply discard what's in the buffer and start printing whatever data is received after case BaseTypes.Model.P1: - return 80; + return 100; case BaseTypes.Model.P2: - return 140; + return 170; default: throw new InvalidOperationException(); }