From 99e8e2985114ffdb1c34df6081e7c393b4310617 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 26 Feb 2008 13:48:46 -0500 Subject: [PATCH] Change the touch command to be LPR --- Source/AppController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/AppController.m b/Source/AppController.m index d9e6f3c..5d557e8 100644 --- 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]; -- 2.22.5