Change the touch command to be LPR 1.0-b1
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:48:46 +0000 (13:48 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 26 Feb 2008 18:48:46 +0000 (13:48 -0500)
Source/AppController.m

index d9e6f3cb00e455cd261b0e57588aa9dc4d1cbb63..5d557e8126066fa69c90613a18c06852557c43e8 100644 (file)
        [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];