I have a CLP-310, which seems to be the same as a CLP-315 (at least it is advertised as such on the printer demo page).
I managed to print with it, but I had much trouble with SPL-C errors :
SPL-C ERROR - Including corrupted Header Data
POSITION : 0x0 (0)
SYSTEM : src/xl_image
LINE : 811
VERSION : SPL-C 5.35 11-20-2007
By messing around with fooqpdl-wrapper, I tracked down that the problem is related to paper size : with letter, it works, with a4, it fails with the previous error.
I didn't try with many other sizes yet but at least with one other it also fails.
I tried to peek in the wrapper and found the paper values seem somewhat inconsistent (foo2qpdl wants 9 for a4, but the wrapper says 2). Changing this didn't help, however.
Edited 1 time(s). Last edit at 09/17/2008 04:55PM by rickrich.
Sure, I first followed your directions, but I wasn't successful. I then tried the debian-supplied package but the CLP-315 driver isn't included, and I removed it. I retried by following your instructions two times, and restarted clean with make uninstall, to no avail. Could something bad remain ? Does make uninstall really clean up proper ?
I then tried to execute foo2qpdl-wrapper by hand, just as cups runs it internally, and then fed the printer with the output, which usually led to the previously posted error. Then I removed options one by one and found that when the -p parameter is not provided or set to the default (letter) the printer works without error (except the incorrect page size of course).
I then tried it with openoffice and other apps, and found that printing documents in the letter format works nice. Documents using a4 format (cups tries to use -p2) fail.
If you want me to do particular tests with my printer, it is possible in the evening (GMT+2). I can also send output files from foo2qpdl to you, along with the original postscript files if you need them, especially the ones which generate an error.
Additionnally, we could check if it is my copy of foo2qpdl which has a problem if you can send me a .prn file generated with the -p2 option.