Hello,
On Mon, Mar 05, 2012 at 12:32:02PM +0100, Till Kamppeter wrote:
We need some more information about your problem. First, can you tell
us which printer (manufacturer/model), connection type (USB,
Kyocera Ecosys FS-1020D, now connected via USB (used to be parallel, I
still have the conection wired to the old (shut down) machine).
Parallel, USB->Parallel adapter, network, ...), driver you are using?
Driver?? None specifilly. Or do you men ppd file?
Can you also follow the instructions of the sections "CUPS error_log"
and "Capturing print job data" on
https://wiki.ubuntu.com/DebuggingPrintingProblems. The site is for
Ubuntu, but the steps of the mentioned sections also work under
Debian. If "sudo<command>" does not work or if some administrative
command of CUPS does not work, run the command in a second terminal
window where you get root via "su -", without the "sudo " in the
beginning.
Ok.
Note that we need this information to be able to fix the bug.
Fine.
a) There is no »ubuntu-bug« within Debian main (testing).
b) apport-collect does not exist neither
c) Output of printdebuginfo:
== System information ==
Ubuntu Release : testing (wheezy)
Desktop Environment: none
Architecture : x86_64
Kernel : 3.2.9sneo.01-grsec
Locale : LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8,
LC_PAPER=de_DE.UTF-8
/etc/papersize : a4
== Configured printers ==
FS-1020D: Kyocera FS-1020D Foomatic/Postscript
Kyocera-neu: Kyocera Mita FS-1020D
Kyocera: Kyocera Mita FS-1020D
Kyocera_FS-1020D: Kyocera Mita FS-1020D
device for FS-1020D: usb://Kyocera/FS-1020D?serial=XAX5560374
device for Kyocera_FS-1020D: usb://Kyocera/FS-1020D?serial=XAX5560374
== Installed versions of important printing packages ==
ii cups-ppdc 1.5.2-5
Common UNIX Printing System(tm) - PPD manipulation utilities
ii foomatic-filters 4.0.12-1
OpenPrinting printer support - filters
ii gs-cjk-resource 1.20100103-3
Resource files for gs-cjk, ghostscript CJK-TrueType extension
ii hp-ppd 0.9-0.2 HP
Postscript Printer Definition (PPD) files
ii hpijs 3.11.12-2
transitional dummy package for hpijs printer driver
ii libcupsppdc1 1.5.2-5
Common UNIX Printing System(tm) - PPD manipulation library
ii printer-driver-gutenprint 5.2.7-5
printer drivers for CUPS
ii system-config-printer 1.3.7-3
graphical interface to configure the printing system
Created with printingbuginfo script v1.5
(https://wiki.ubuntu.com/PrintingBugInfoScript)
Thu, 08 Mar 2012 20:54:48 +0100
d) 1. Connected, powered on (on not working foomatic version)
2. root@sneo:/tmp# lsmod | grep usb
usblp 12593 0
usbhid 30418 0
3.-5: tail -f /var/log/syslog
Mar 8 20:56:27 sneo kernel: usblp0: removed
Mar 8 20:56:46 sneo kernel: usb 4-5.2: new full-speed USB device number 4
using ohci_hcd
Mar 8 20:56:46 sneo kernel: usblp0: USB Bidirectional printer dev 4 if 0
alt 0 proto 2 vid 0x0482 pid 0x000E
Mar 8 20:56:46 sneo mtp-probe: checking bus 4, device 4:
"/sys/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5.2"
Mar 8 20:56:46 sneo mtp-probe: bus: 4, device: 4 was not an MTP device
Mar 8 20:56:47 sneo udev-configure-printer: add
/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5.2/4-5.2:1.0
Mar 8 20:56:47 sneo udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5.2
Mar 8 20:56:47 sneo udev-configure-printer: Device already handled
Mar 8 20:56:47 sneo udev-configure-printer: add
/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5.2/4-5.2:1.0/usb/lp0
Mar 8 20:56:47 sneo udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5.2
Mar 8 20:56:47 sneo udev-configure-printer: Device already handled
6. lsusb:
...
Bus 004 Device 004: ID 0482:000e Kyocera Corp. FS-1020D Printer
7. ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-T 1 root root 189, 0 Mär 8 20:54 /dev/bus/usb/001/001
crw-rw-r-T 1 root root 189, 128 Mär 8 20:54 /dev/bus/usb/002/001
crw-rw-r-T 1 root root 189, 256 Mär 8 20:54 /dev/bus/usb/003/001
crw-rw-r-T 1 root root 189, 384 Mär 8 20:54 /dev/bus/usb/004/001
crw-rw-r-T 1 root root 189, 385 Mär 8 20:54 /dev/bus/usb/004/002
crw-rw-r-T 1 root lp 189, 386 Mär 8 20:52 /dev/bus/usb/004/003
crw-rw-r-T 1 root lp 189, 387 Mär 8 20:56 /dev/bus/usb/004/004
crw-rw-r-T 1 root root 189, 512 Mär 8 20:54 /dev/bus/usb/005/001
crw-rw-r-T 1 root root 189, 513 Mär 8 20:54 /dev/bus/usb/005/002
crw-rw-r-T 1 root root 189, 640 Mär 8 20:54 /dev/bus/usb/006/001
crw-rw-r-T 1 root root 189, 768 Mär 8 20:54 /dev/bus/usb/007/001
crw-rw---T 1 root lp 180, 0 Mär 8 20:56 /dev/usb/lp0
8. usb_printerid /dev/usb/lp0 (installed printer-driver-foo2zjs for
this test):
GET_DEVICE_ID string:
ID:FS-1020D;MFG:Kyocera;CMD:PCLXL,PostScript
Emulation,PCL5E,PJL;MDL:FS-1020D;CLS:PRINTER;DES:Kyocera Mita FS-1020D;CID:HP
Laserjet 1300 Series;
usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'
lpinfo -v
network beh
network http
network ipps
network https
network ipp
direct usb://Kyocera/FS-1020D?serial=XAX5560374
network lpd
network socket
direct scsi
network smb
e) 2) CUPS error log is already on debug, but ran "cupsctl
LogLevel=debug" anyway
/etc/init.d/cups restart (not cupsys!)
6) lpr /etc/passwd
Printer warms up, receiving lights appear (normally the next would
be actual print out), but nothing appears
lpq retunrs nothing, and
root@sneo:/tmp# echo $?
0
Waited a moment, then attached the error log
f) 1. cancel -a
No output
2. cupsdisable FS-1020D
No output
3. root@sneo:/tmp# lpr /etc/passwd
root@sneo:/tmp# lpstat -o
FS-1020D-234 root 2048 Do 08 Mär 2012
21:10:04 CET
4. ls -1 /var/spool/cups
c00234
d00234-001
tmp
5. root@sneo:/tmp# cupsenable FS-1020D
root@sneo:/tmp# lpq
But nothing gets printed
6. file
/home/helge/download/printout: ASCII text
root@sneo:/tmp# diff -u /home/helge/download/printout /etc/passwd
root@sneo:/tmp# echo $?
0
7. Ooops, nope, won't do that. Please tell me, if you really need
it, than I'll repeat the steps with a different file.
Please let me know if I should try/do something else. (But give me 1-2
days to respond, I'm not every night online atm).
Thanks for taking care and this extensive documentation for reporting.