https://src.bluestatic.org
/
printdrop.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95f11f7
)
Add a way to bypass the ACS outage messages so it works again
author
Robert Sesek <rsesek@bluestatic.org>
Fri, 28 Mar 2008 21:31:42 +0000
(17:31 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Fri, 28 Mar 2008 21:31:42 +0000
(17:31 -0400)
* Source/AppController.m:
([AppController uploadAndPrint:]): Send the "q" character to postpone displaying messages
Source/AppController.m
patch
|
blob
|
history
diff --git
a/Source/AppController.m
b/Source/AppController.m
index 6959a3be332e2fe597f225c3fa1309c417b1775b..000cb72d7c3b9b54d3b166b9a76a0f3598708805 100644
(file)
--- 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