Printer troubleshooting

I have a Samsung CLP 315 and I am using the foo2qpdl driver [1]. When
running openSUSE 11.1 it was able to print in both color and monochrome,
but after upgrading to openSUSE 11.2 and rebuilding the driver even
though YaST2 and CUPS sees that it can print in color when I try it
doesn’t work but monochrome works fine. The thing I don’t get is both
times I followed the directions on the website making sure to grab the
Samsung CLP-315 .ICM files.


“We must plan for freedom, and not only for security, if for no other
reason than only freedom can make security more secure.” Karl Popper

Adam Jimerson wrote:

> I have a Samsung CLP 315 and I am using the foo2qpdl driver [1].
When
> running openSUSE 11.1 it was able to print in both color and
monochrome,
> but after upgrading to openSUSE 11.2 and rebuilding the driver even
> though YaST2 and CUPS sees that it can print in color when I try it
> doesn’t work but monochrome works fine. The thing I don’t get is
both
> times I followed the directions on the website making sure to grab
the
> Samsung CLP-315 .ICM files.
>

It may help if I accutly remember to provide the url the the website
XP

[1] http://foo2qpdl.rkkda.com/

“We must plan for freedom, and not only for security, if for no other
reason than only freedom can make security more secure.” Karl Popper

Have you had any joy with this? My printer is a Xerox 6110N but I’ve exactly the same problem, ie. 11.1 was fine but color prints just sort of “disappear” with this driver on 11.2.

Similar problem reported here, without resolution yet.

My knowledge of CUPS is limited, but apparently, different CUPS configurations (eg mono vs colour printing) get handled via different queues. Explained in further detail here.

It has some useful info concerning key CUPS file locations, and lpoptions commands that can be invoked to update the printing configs. Maybe this can help with the printing diagnosis.

I think that’s just saying you can use different queues which I do but this fails if I try to print a colour page by setting options, eg. with firefox as well.

I think I might be getting somewhere though I’m out of my depth… If I run:

foo2qpdl-wrapper -z0 -r600x600 -p2 -m0 -s1 -d1 -C10 -Gsamclp300-0.icm /home/jon/Tune6382.ps

I get something looking like binary output. If I use the -c option,

foo2qpdl-wrapper -z0 -c -r600x600 -p2 -m0 -s1 -d1 -C10 -Gsamclp300-0.icm /home/jon/Tune6382.ps

I get a few lines saying:

pcache: unable to open ‘/home/jon/.ghostscript/cache/gs_cache’

and this seems to happen in a section of fooqpdl-wrapper starting line 665:

foo2zjs-pstops $PSTOPS_OPTS |
$PREFILTER
| ($GS $PAPERSIZE -g$DIM -r$RES $GSDEV $GSOPTS
-sOutputFile="|cat 1>&3" $GAMMAFILE -_ >/dev/null) 3>&1
| foo2qpdl -r$RES -g$DIM -p$PAPER -m$MEDIA -n$COPIES -d$DUPLEX -s$SOURCE
-z$MODEL $COLOR $CLIP_UL $CLIP_LR $CLIP_LOG $SAVETONER
-J “$LPJOB” -U “$USER”
$BC $AIB $COLOR2MONO $NOPLANES $EXTRAPAD -D$DEBUG

If no-ones got any ideas why it might work on 11.1 but not on 11.2, I’ll try to contact the author of the driver tomorrow.

I need to correct myself.

I’ve just double checked on 11.1. The pcache: unable to open ‘/home/jon/.ghostscript/cache/gs_cache’ do appear there too. I just hadn’t spotted them before as it goes on to produce what looks like binary output. It just stops after them with colour on 11.2.

I could be wrong but maybe I’ve found it? I’ve been trying some of the line the script seems to send to ghostscript.

On both, the mono version:

gs -dCOLORSCREEN -dMaxBitmap=500000000 -sPAPERSIZE=a4 -g4960x7016 -r600x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000 -sOutputFile="/home/jon/jon" /home/jon/Tune6382.ps

Produces a graphic I can view. With the colour version:

gs -dCOLORSCREEN -dMaxBitmap=500000000 -sPAPERSIZE=a4 -g4960x7016 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 -sOutputFile="/home/jon/jon" /home/jon/Tune6382.ps

With 11.1 I get a large file (not sure what format it is) but with 11.2, I get an empty file.

Ghostscript bug?

Ghostscript bug?

I think so…

https://bugzilla.novell.com/show_bug.cgi?id=557948

http://bugs.ghostscript.com/show_bug.cgi?id=690287

Thanks.

Just to confirm, I have compiled and installed ghostscript 8.70 on this PC and now have colour printing on the Xerox Phaser 6110N.

Hopefully there will be a fix for the OpenSuse version soon.

Well done. Yes, very surprising that this bug slipped through, given its implications for many users with respect to printing.