From 9596c1382b37e78b7a9e1a1409cdf259053b8031 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 28 Mar 2008 17:31:42 -0400 Subject: [PATCH] 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 --- Source/AppController.m | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.43.5