Hello Till,
On Thu, Mar 08, 2012 at 10:22:33PM +0100, Till Kamppeter wrote:
> I have checked your error_log and it shows one job which has
> successfully completed. I assume that this is the job which did not
> print for you.
Yes.
> First, a reasonable amount of data gets sent to the printer but it
> does not make the printer printing something.
>
> Second, your attached error_log has only the following part which
> looks strange:
>
> ----------
> D [08/Mar/2012:21:04:00 +0100] [Job 233] Options from the PPD file:
> D [08/Mar/2012:21:04:00 +0100] [Job 233]
> D [08/Mar/2012:21:04:00 +0100] [Job 233]
> ================================================
> D [08/Mar/2012:21:04:00 +0100] [Job 233]
> D [08/Mar/2012:21:04:00 +0100] [Job 233] File: <STDIN>
> D [08/Mar/2012:21:04:00 +0100] [Job 233]
> D [08/Mar/2012:21:04:00 +0100] [Job 233]
> ================================================
> ----------
>
> This makes the impression that foomatic-rip did not read any options
> from the PPD file.
>
> Please run the command
>
> ls -l /etc/cups/ppd/FS-1020D.ppd
root@sneo:~# ls -l /etc/cups/ppd/FS-1020D.ppd
-rw-r--r-- 1 root root 9777 Aug 28 2011 /etc/cups/ppd/FS-1020D.ppd
root@sneo:~# ls -l /etc/cups/ppd/*
-rw-r--r-- 1 root root 9777 Aug 28 2011 /etc/cups/ppd/FS-1020D.ppd
-rw-r--r-- 1 root root 33401 Aug 28 2011 /etc/cups/ppd/Kyocera_FS-1020D.ppd
-rw-r--r-- 1 root lpadmin 33421 Okt 15 2008 /etc/cups/ppd/Kyocera-neu.ppd
-rw-r--r-- 1 root lpadmin 33421 Aug 4 2005 /etc/cups/ppd/Kyocera.ppd
> and attach your /etc/cups/ppd/FS-1020D.ppd file.
Done.
> Thanks.
>
> Till
>
>
> On 03/08/2012 09:19 PM, Helge Kreutzmann wrote:
> >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.
Greetings
Helge
--
Dr. Helge Kreutzmann debian@helgefjell.de
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
*PPD-Adobe: "4.3" *% *% For information on using this, and to obtain the required backend *% script, consult http://www.openprinting.org/ *% *% This file is published under the GNU General Public License *% *% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with *% all programs and environments which use PPD files for dealing with *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 4.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer *% driver option access with all supported printer drivers and printing *% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the *% "Save as..." command in the "File" menu of your browser or in the *% pop-up manu when you click on this document with the right mouse button. *% DO NOT cut and paste this file into an editor with your mouse. This can *% introduce additional line breaks which lead to unexpected results. *% *% You may save this file as 'Kyocera-FS-1020D-Postscript.ppd' *% *% *FormatVersion: "4.3" *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName: "POSTSCRI.PPD" *Manufacturer: "Kyocera" *Product: "(FS-1020D)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Kyocera FS-1020D" *ShortNickName: "Kyocera FS-1020D Postscript" *NickName: "Kyocera FS-1020D Foomatic/Postscript" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" *PSVersion: "(3010.000) 653" *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" *PSVersion: "(3010.000) 815" *PSVersion: "(3010.000) 850" *PSVersion: "(3010.000) 860" *PSVersion: "(3010.000) 861" *PSVersion: "(3010.000) 862" *PSVersion: "(3010.000) 863" *PSVersion: "(3010.000) 864" *PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: False *DefaultColorSpace: Gray *FileSystem: False *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 *1284DeviceID: "MFG:Kyocera;MDL:FS-1020D;DRV:DPostscript,R0,M0,TP;" *driverName Postscript: "" *driverType P/PostScript: "" *driverUrl: "http://partners.adobe.com/public/developer/ps/index_specs.html" *driverObsolete: False *driverManufacturerSupplied: False *HWMargins: 18 36 18 36 *VariablePaperSize: True *MaxMediaWidth: 100000 *MaxMediaHeight: 100000 *NonUIOrderDependency: 100 AnySetup *CustomPageSize *CustomPageSize True: "pop pop pop <</PageSize [ 5 -2 roll ] /ImagingBBox null>>setpagedevice" *End *ParamCustomPageSize Width: 1 points 36 100000 *ParamCustomPageSize Height: 2 points 36 100000 *ParamCustomPageSize Orientation: 3 int 0 0 *ParamCustomPageSize WidthOffset: 4 points 0 0 *ParamCustomPageSize HeightOffset: 5 points 0 0 *FoomaticIDs: Kyocera-FS-1020D Postscript *FoomaticRIPCommandLine: "cat%A%B%Z" *FoomaticRIPNoPageAccounting: True *OpenGroup: General/General *OpenUI *PageSize/Page Size: PickOne *OrderDependency: 100 AnySetup *PageSize *DefaultPageSize: A4 *PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" *PageSize 11x17/11x17: "<</PageSize[792 1224]/ImagingBBox null>>setpagedevice" *PageSize A3/A3: "<</PageSize[842 1191]/ImagingBBox null>>setpagedevice" *PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" *PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" *PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" *PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" *PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" *PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" *PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" *PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" *PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 100 AnySetup *PageRegion *DefaultPageRegion: A4 *PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice" *PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice" *PageRegion 11x17/11x17: "<</PageSize[792 1224]/ImagingBBox null>>setpagedevice" *PageRegion A3/A3: "<</PageSize[842 1191]/ImagingBBox null>>setpagedevice" *PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice" *PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice" *PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice" *PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice" *PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice" *PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice" *PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice" *PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice" *PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" *CloseUI: *PageRegion *DefaultImageableArea: A4 *ImageableArea Letter/US Letter: "18 36 594 756" *ImageableArea A4/A4: "18 36 577 806" *ImageableArea 11x17/11x17: "18 36 774 1188" *ImageableArea A3/A3: "18 36 824 1155" *ImageableArea A5/A5: "18 36 403 559" *ImageableArea B5/B5 (JIS): "18 36 498 693" *ImageableArea Env10/Envelope #10: "18 36 279 648" *ImageableArea EnvC5/Envelope C5: "18 36 441 613" *ImageableArea EnvDL/Envelope DL: "18 36 294 588" *ImageableArea EnvISOB5/Envelope B5: "18 36 481 673" *ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" *ImageableArea Executive/Executive: "18 36 504 720" *ImageableArea Legal/US Legal: "18 36 594 972" *DefaultPaperDimension: A4 *PaperDimension Letter/US Letter: "612 792" *PaperDimension A4/A4: "595 842" *PaperDimension 11x17/11x17: "792 1224" *PaperDimension A3/A3: "842 1191" *PaperDimension A5/A5: "421 595" *PaperDimension B5/B5 (JIS): "516 729" *PaperDimension Env10/Envelope #10: "297 684" *PaperDimension EnvC5/Envelope C5: "459 649" *PaperDimension EnvDL/Envelope DL: "312 624" *PaperDimension EnvISOB5/Envelope B5: "499 709" *PaperDimension EnvMonarch/Envelope Monarch: "279 540" *PaperDimension Executive/Executive: "522 756" *PaperDimension Legal/US Legal: "612 1008" *OpenUI *Duplex/Double-Sided Printing: PickOne *OrderDependency: 130 AnySetup *Duplex *DefaultDuplex: None *Duplex DuplexNoTumble/Long Edge (Standard): "<</Duplex true /Tumble false>>setpagedevice" *Duplex DuplexTumble/Short Edge (Flip): "<</Duplex true /Tumble true>>setpagedevice" *Duplex None/Off: "<</Duplex false>>setpagedevice" *CloseUI: *Duplex *OpenUI *Resolution/Resolution: PickOne *OrderDependency: 90 AnySetup *Resolution *DefaultResolution: 600x600dpi *Resolution 150x150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice" *Resolution 300x300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice" *Resolution 600x600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice" *Resolution 1200x1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice" *CloseUI: *Resolution *CloseGroup: General *% Generic boilerplate PPD stuff as standard PostScript fonts and so on *DefaultFont: Courier *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM *Font Bookman-Demi: Standard "(001.004S)" Standard ROM *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM *Font Bookman-Light: Standard "(001.004S)" Standard ROM *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM *Font Courier: Standard "(002.004S)" Standard ROM *Font Courier-Bold: Standard "(002.004S)" Standard ROM *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM *Font Courier-Oblique: Standard "(002.004S)" Standard ROM *Font Helvetica: Standard "(001.006S)" Standard ROM *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM *Font Palatino-Bold: Standard "(001.005S)" Standard ROM *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM *Font Palatino-Italic: Standard "(001.005S)" Standard ROM *Font Palatino-Roman: Standard "(001.005S)" Standard ROM *Font Symbol: Special "(001.007S)" Special ROM *Font Times-Bold: Standard "(001.007S)" Standard ROM *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM *Font Times-Italic: Standard "(001.007S)" Standard ROM *Font Times-Roman: Standard "(001.007S)" Standard ROM *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM *Font ZapfDingbats: Special "(001.004S)" Standard ROM
Attachment:
signature.asc
Description: Digital signature