Comment 17 for bug 172264

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: Ghostscript in Gutsy and Hardy is not able to print encrypted PDFs out of Adobe Reader 8.1.1

I have discovered two problems in your error_log:

1. Possible AppArmor problem, Samsung driver cannot write log file:

D [08/Dec/2007:02:06:10 +0000] [Job 207] /var/tmp/rastertosamsungspl.log file open error

Do

sudo aa-complain cupsys

to work around this.

2. This is probably the real problem. The Samsung driver is callin Ghostscript on its own:

D [08/Dec/2007:02:06:10 +0000] [Job 207] ExecProgramV: 'gs' '-dNOPAUSE' '-dBATCH' '-dSAFER' '-q' '-sOutputFile=-' '-sDEVICE=pbmraw' '-r600x600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dFIXEDMEDIA' '-'

This you can only fix if you can find this Ghostscript call in a script file provided by Samsung (open the executables of the Samsung driver with an editor, some are probably scripts. Searching for "ExecProgramV" could help here). Edit the script to use -_ instead of - at the end of the command line. Tell here what you have edited. Unfortunately, I cannot help if the Ghostscript command line is generated by a closed-source parts of the Samsung driver. In this case we need really a fix of the upstream bug in Ghostscript.