Hi,
I've been experiencing printing problems from knoppix for some time. Now I know what the problem is, and know how to workaround it.
This forum seems to be the best place to post the bug report. If I am wrong, my apologies.
The bug report follows.
-Mike
*********************************
Knoppix: printing to a TCP printer via CUPS/foomatic-gs does not work:
Could not open the scratch file /var/spool/cups/tmp/gs_8MziHz error
from ghostscript.
The problem: attempting to use a networked non-PostScript printer (i.e. the one that
requires ghostscript to render) does not work.
Versions: this seems to be broken in all Knoppix releases, tested Knoppix 3.4
and Knoppix 4.02 from two different computers.
To duplicate the problem follow these steps:
1. Open "Configure Printers" from knoppix menu.
KDE printer configuration utility pops up.
2. Check "TCP printer" and then go to next panel
3. Fill in printer address and port, then follow to the next panel.
4. Pick non-postscript printer here (e.g Epson Stylus Photo 950, or HP DeskJet 930, or
whatever). Proceed to the next panel.
5. Print the test page. Note that NOTHING happens.
To diagnose the problem:
- open KDE printer configurator, and click "configure server".
- In the "Log" group, check "debug" as the logging level.
- Repeat the repro steps listed above, expect to see in the log something similar to
the following:
---------------------------
D [09/Oct/2005:14:32:13 +0200] [Job 3] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dNOPAUS
E' '-dBATCH' '-sDEVICE=ijs' '-sIjsServer=ijsgimpprint' '-dIjsUseOutputFD' '-sDeviceManufa
cturer=EPSON' '-sDeviceModel=escp2-950' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=7
92' '-r360x360' '-sProcessColorModel=DeviceRGB' '-sIjsParams=Quality=360swuni,InkType=Pho
toCMYK,MediaType=Plain,MediaSource=Standard,Dither =Adaptive,ImageType=2,Density=1.000000,
Brightness=1.000000,Gamma=1.000000,Contrast=1.0000 00,Saturation=1.000000,Cyan=1.000000,Ma
genta=1.000000,Yellow=1.000000' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [09/Oct/2005:14:32:13 +0200] [Job 3] ESP Ghostscript 7.07 (2003-07-12)
D [09/Oct/2005:14:32:13 +0200] [Job 3] Copyright 2003 artofcode LLC and Easy Software Pro
ducts, all rights reserved.
D [09/Oct/2005:14:32:13 +0200] [Job 3] This software comes with NO WARRANTY: see the file
PUBLIC for details.
D [09/Oct/2005:14:32:13 +0200] [Job 3] ESP Ghostscript 7.07.1: Could not open the scratch
file /var/spool/cups/tmp/gs_8MziHz.
D [09/Oct/2005:14:32:13 +0200] [Job 3] **** Unable to open the initial device, quitting.
D [09/Oct/2005:14:32:13 +0200] [Job 3] renderer return value: 1
D [09/Oct/2005:14:32:13 +0200] [Job 3] renderer received signal: 1
------------------------------
To workaround the problem:
1. Go to the Printer configurator, and select "Configure Server"
2. In the "Folders" group, change "Temporary files" from
/var/spool/cups/tmp
to
/tmp
3. Configure the printer, and print the test page. Expect it to work this time.
Remarks:
The /var/spool/cups/tmp directory exists, but is not writable to the general public:
root@2[knoppix]# ls -ld /var
lrwxrwxrwx 1 root root 12 Oct 9 04:24 /var -> /UNIONFS/var
root@2[knoppix]# ls -ld /var/spool
drwxr-xr-x 14 root root 60 Oct 9 08:26 /var/spool
root@2[knoppix]# ls -ld /var/spool/cups
drwx--x--- 4 root sys 260 Oct 9 08:32 /var/spool/cups
root@2[knoppix]# ls -ld /var/spool/cups/tmp
drwxrwx--T 2 root sys 140 Oct 9 08:58 /var/spool/cups/tmp

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98
Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99
Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48
Lenovo ThinkServer TS460 Part Number: 70TS-S01U00
$279.00
INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00
Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49
DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid
$139.99
Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor
$249.99
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00