https://src.bluestatic.org
/
printdrop.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038a3b9
)
Add the -m flag to lpr so the user gets an email confirmation message
author
Robert Sesek <rsesek@bluestatic.org>
Wed, 27 Feb 2008 22:13:45 +0000
(17:13 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Wed, 27 Feb 2008 22:13:45 +0000
(17:13 -0500)
* Source/AppController.m
Source/AppController.m
patch
|
blob
|
history
diff --git
a/Source/AppController.m
b/Source/AppController.m
index 2e4dcb35c3ae9a4384221a7b63ddf4e9def86855..6943754186a56ab64aaa8e5975b1484be44e0cc7 100644
(file)
--- a/
Source/AppController.m
+++ b/
Source/AppController.m
@@
-204,7
+204,7
@@
[self readChannel:channel];
// send the job to lpr
- char *cmd = (char *)[[NSString stringWithFormat:@"lpr -P%@ __bu_print_drop__.pdf\r\n\0", printer] UTF8String];
+ char *cmd = (char *)[[NSString stringWithFormat:@"lpr -
m -
P%@ __bu_print_drop__.pdf\r\n\0", printer] UTF8String];
libssh2_channel_write(channel, cmd, sizeof(char) * strlen(cmd));
[self readChannel:channel];