From: Robert Sesek Date: Fri, 28 Mar 2008 21:31:42 +0000 (-0400) Subject: Add a way to bypass the ACS outage messages so it works again X-Git-Tag: 1.0~1 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=9596c1382b37e78b7a9e1a1409cdf259053b8031;p=printdrop.git Add a way to bypass the ACS outage messages so it works again * Source/AppController.m: ([AppController uploadAndPrint:]): Send the "q" character to postpone displaying messages --- diff --git a/Source/AppController.m b/Source/AppController.m index 6959a3b..000cb72 100644 --- a/Source/AppController.m +++ b/Source/AppController.m @@ -247,6 +247,11 @@ end: // read the banner [self readChannel:channel]; + // f!cking ACS messages --> skip some more + char *delay = "q\r\n\0"; + libssh2_channel_write(channel, delay, sizeof(char) * strlen(delay)); + [self readChannel:channel]; + // send the job to lpr char *cmd; #ifndef BLU_DEBUG