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

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.30
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health
$360.00
G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives
$149.95
Dell PERC H740p Mini Mono RAID Controller 8GB 0878M 5FMY4 GP6RN
$55.00
LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US
$29.88
Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$202.46
Dell PowerVault MD3000i AMP01 Storage Array 4x Cad 2x PSUs No HDDs/Controllers
$164.95