From ba009100bd35f89df5fffa9b01f6f833d2c8be1e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 27 Feb 2008 17:13:45 -0500 Subject: [PATCH] Add the -m flag to lpr so the user gets an email confirmation message * Source/AppController.m --- Source/AppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.22.5