https://src.bluestatic.org
/
printdrop.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5241ec6
)
Change the touch command to be LPR
1.0-b1
author
Robert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:48:46 +0000
(13:48 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:48:46 +0000
(13:48 -0500)
Source/AppController.m
patch
|
blob
|
history
diff --git
a/Source/AppController.m
b/Source/AppController.m
index d9e6f3cb00e455cd261b0e57588aa9dc4d1cbb63..5d557e8126066fa69c90613a18c06852557c43e8 100644
(file)
--- a/
Source/AppController.m
+++ b/
Source/AppController.m
@@
-217,7
+217,7
@@
[self readChannel:channel];
// send the job to lpr
- char *cmd = (char *)[[NSString stringWithFormat:@"
touch ~/print-%@.drop
\r\n\0", printer] UTF8String];
+ char *cmd = (char *)[[NSString stringWithFormat:@"
lpr -P%@ __bu_print_drop__.pdf
\r\n\0", printer] UTF8String];
libssh2_channel_write(channel, cmd, sizeof(char) * strlen(cmd));
[self readChannel:channel];