From: Robert Sesek Date: Wed, 27 Feb 2008 22:13:45 +0000 (-0500) Subject: Add the -m flag to lpr so the user gets an email confirmation message X-Git-Tag: 1.0-b2~2 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=ba009100bd35f89df5fffa9b01f6f833d2c8be1e;p=printdrop.git Add the -m flag to lpr so the user gets an email confirmation message * Source/AppController.m --- diff --git a/Source/AppController.m b/Source/AppController.m index 2e4dcb3..6943754 100644 --- 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];