Public bug reported:
When using the printer it prints this on the sheet:
___________________________________________________________________________________________________
userdict dup(\004)cvn{}put (\004\004)cvn{}put
/cups_handleerror{
2B$error /newerror false put
(:PostScript error in") print cups_query_keywords print (": ) print
$error /errorname get 128 string cvs print
(;offending command:) print $error /command get 128 string cvs print(
) print flush
} bind def
errordict /timeout {} put
/cups_query_query_keyword(?Unknown) def
_________________________________________________________________________________________________
THIS IS THE TERMINAL OUTPUT
overlord@OverLord:~$ lsmod|grep usb
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
btusb 61440 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 28672 1 btusb
bluetooth 638976 15 btrtl,btintel,btbcm,bnep,btusb,rfcomm
overlord@OverLord:~$ tail -f /var/log/syslog
Aug 31 12:43:40 OverLord kernel: [71467.827350] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:43:40 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:43:40 OverLord udev-configure-printer: add usb-001-006
Aug 31 12:43:41 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:43:41 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:43:41 OverLord kernel: [71468.715833] usb 1-1.1: USB disconnect,
device number 6
Aug 31 12:43:41 OverLord kernel: [71468.716232] usblp1: removed
Aug 31 12:43:41 OverLord udev-configure-printer: remove
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Aug 31 12:43:48 OverLord udev-configure-printer: no corresponding CUPS device
found
Aug 31 12:43:48 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:33 OverLord kernel: [71520.685232] usb 1-1.1: new full-speed USB
device number 7 using ehci-pci
Aug 31 12:44:34 OverLord kernel: [71520.957538] usb 1-1.1: New USB device
found, idVendor=04b8, idProduct=08d1, bcdDevice= 1.00
Aug 31 12:44:34 OverLord kernel: [71520.957549] usb 1-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Aug 31 12:44:34 OverLord kernel: [71520.957553] usb 1-1.1: Product: EPSON L220
Series
Aug 31 12:44:34 OverLord kernel: [71520.957556] usb 1-1.1: Manufacturer: EPSON
Aug 31 12:44:34 OverLord kernel: [71520.957559] usb 1-1.1: SerialNumber:
5647584B3134343800
Aug 31 12:44:34 OverLord kernel: [71521.306906] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:34 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:44:34 OverLord udev-configure-printer: add usb-001-007
Aug 31 12:44:34 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:44:34 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:44:39 OverLord kernel: [71526.576813] usblp1: removed
Aug 31 12:44:40 OverLord kernel: [71527.090914] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:41 OverLord udev-configure-printer: URI contains USB serial number
Aug 31 12:44:41 OverLord udev-configure-printer: URI match:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of detected printer:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of print queue:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: Queue
ipp://localhost/printers/L220-Series has matching device URI
Aug 31 12:44:41 OverLord udev-configure-printer: Re-enabled printer
ipp://localhost/printers/L220-Series
Aug 31 12:44:41 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:46 OverLord telegram-desktop_telegram-desktop.desktop[53993]:
OpenType support missing for "DAOpenSansSemibold", script 12
^C
overlord@OverLord:~$ lsusb
Bus 002 Device 040: ID 04f2:b249 Chicony Electronics Co., Ltd
Bus 002 Device 044: ID 1a2c:4c5e China Resource Semico Co., Ltd
Bus 002 Device 043: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Bus 001 Device 007: ID 04b8:08d1 Seiko Epson Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
overlord@OverLord:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Aug 29 13:51 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Aug 29 13:51 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 3 Aug 31 12:22 /dev/bus/usb/001/004
crwxrwxrwx+ 1 root root 189, 6 Aug 31 12:44 /dev/bus/usb/001/007
crw-rw-r-- 1 root root 189, 128 Aug 29 13:51 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Aug 29 13:51 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 167 Aug 31 11:36 /dev/bus/usb/002/040
crw-rw-r-- 1 root root 189, 170 Aug 31 12:42 /dev/bus/usb/002/043
crw-rw-r-- 1 root root 189, 171 Aug 31 12:42 /dev/bus/usb/002/044
crwxrwxrwx 1 root lp 180, 1 Aug 31 12:44 /dev/usb/lp1
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp0
[sudo] password for overlord:
Error: No such file or directory: can't open '/dev/usb/lp0'
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp1
GET_DEVICE_ID string:
MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,END4;MDL:L220 Series;CLS:PRINTER;DES:EPSON
L220
Series;CID:EpsonStd10;FID:FXN,DPN,WFN,ETN,AFN,DAN,WRN;RID:00;DDS:011180;ELG:0E64;
overlord@OverLord:~$ lpinfo -v
file cups-brf:/
direct ecblp:/var/run/ecblp0
network https
network ipp
network socket
network beh
direct hp
network ipps
network http
network lpd
direct hpfax
direct usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
E [31/Aug/2021:12:40:07 +0530] [Client 483] Returning IPP
client-error-document-format-not-supported for Print-Job
(ipp://localhost:631/printers/CUPS-BRF-Printer) from localhost.
W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-Gray..\'
already exists
W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-RGB..\'
already exists
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 31 13:05:54 2021
InstallationDate: Installed on 2021-06-22 (69 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64
(20210209.1)
Lpstat: device for L220-Series:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName',
'/etc/cups/ppd/L220-Series.ppd'] failed with exit code 2: grep:
/etc/cups/ppd/L220-Series.ppd: Permission denied
ProcEnviron:
LANGUAGE=en_IN:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_IN
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=3a827d05-0624-4664-ae74-478b7f63a883 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2011
dmi.bios.release: 15.4
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1668
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.ec.firmware.release: 8.16
dmi.modalias:
dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:br15.4:efr8.16:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr059F100000004610000000000:rvnHewlett-Packard:rn1668:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP Pavilion g6 Notebook PC
dmi.product.sku: LN246EA#A2N
dmi.product.version: 059F100000004610000000000
dmi.sys.vendor: Hewlett-Packard
** Affects: cups (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
** Description changed:
When using the printer it prints this on the sheet:
___________________________________________________________________________________________________
userdict dup(\004)cvn{}put (\004\004)cvn{}put
/cups_handleerror{
2B$error /newerror false put
- (:PostScript error in") print cups_query_keywords print (": ) print
- $error /errorname get 128 string cvs print
- (;offending command:) print $error /command get 128 string cvs print(
- ) print flush
+ (:PostScript error in") print cups_query_keywords print (": ) print
+ $error /errorname get 128 string cvs print
+ (;offending command:) print $error /command get 128 string cvs print(
+ ) print flush
} bind def
errordict /timeout {} put
/cups_query_query_keyword(?Unknown) def
_________________________________________________________________________________________________
-
+ THIS IS THE TERMINAL OUTPUT
overlord@OverLord:~$ lsmod|grep usb
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
btusb 61440 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 28672 1 btusb
bluetooth 638976 15 btrtl,btintel,btbcm,bnep,btusb,rfcomm
overlord@OverLord:~$ tail -f /var/log/syslog
Aug 31 12:43:40 OverLord kernel: [71467.827350] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:43:40 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:43:40 OverLord udev-configure-printer: add usb-001-006
Aug 31 12:43:41 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:43:41 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:43:41 OverLord kernel: [71468.715833] usb 1-1.1: USB disconnect,
device number 6
Aug 31 12:43:41 OverLord kernel: [71468.716232] usblp1: removed
Aug 31 12:43:41 OverLord udev-configure-printer: remove
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Aug 31 12:43:48 OverLord udev-configure-printer: no corresponding CUPS device
found
Aug 31 12:43:48 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:33 OverLord kernel: [71520.685232] usb 1-1.1: new full-speed USB
device number 7 using ehci-pci
Aug 31 12:44:34 OverLord kernel: [71520.957538] usb 1-1.1: New USB device
found, idVendor=04b8, idProduct=08d1, bcdDevice= 1.00
Aug 31 12:44:34 OverLord kernel: [71520.957549] usb 1-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Aug 31 12:44:34 OverLord kernel: [71520.957553] usb 1-1.1: Product: EPSON
L220 Series
Aug 31 12:44:34 OverLord kernel: [71520.957556] usb 1-1.1: Manufacturer: EPSON
Aug 31 12:44:34 OverLord kernel: [71520.957559] usb 1-1.1: SerialNumber:
5647584B3134343800
Aug 31 12:44:34 OverLord kernel: [71521.306906] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:34 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:44:34 OverLord udev-configure-printer: add usb-001-007
Aug 31 12:44:34 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:44:34 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:44:39 OverLord kernel: [71526.576813] usblp1: removed
Aug 31 12:44:40 OverLord kernel: [71527.090914] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:41 OverLord udev-configure-printer: URI contains USB serial
number
Aug 31 12:44:41 OverLord udev-configure-printer: URI match:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of detected printer:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of print queue:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: Queue
ipp://localhost/printers/L220-Series has matching device URI
Aug 31 12:44:41 OverLord udev-configure-printer: Re-enabled printer
ipp://localhost/printers/L220-Series
Aug 31 12:44:41 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:46 OverLord telegram-desktop_telegram-desktop.desktop[53993]:
OpenType support missing for "DAOpenSansSemibold", script 12
^C
overlord@OverLord:~$ lsusb
- Bus 002 Device 040: ID 04f2:b249 Chicony Electronics Co., Ltd
- Bus 002 Device 044: ID 1a2c:4c5e China Resource Semico Co., Ltd
+ Bus 002 Device 040: ID 04f2:b249 Chicony Electronics Co., Ltd
+ Bus 002 Device 044: ID 1a2c:4c5e China Resource Semico Co., Ltd
Bus 002 Device 043: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
- Bus 001 Device 007: ID 04b8:08d1 Seiko Epson Corp.
+ Bus 001 Device 007: ID 04b8:08d1 Seiko Epson Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
overlord@OverLord:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Aug 29 13:51 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Aug 29 13:51 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 3 Aug 31 12:22 /dev/bus/usb/001/004
crwxrwxrwx+ 1 root root 189, 6 Aug 31 12:44 /dev/bus/usb/001/007
crw-rw-r-- 1 root root 189, 128 Aug 29 13:51 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Aug 29 13:51 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 167 Aug 31 11:36 /dev/bus/usb/002/040
crw-rw-r-- 1 root root 189, 170 Aug 31 12:42 /dev/bus/usb/002/043
crw-rw-r-- 1 root root 189, 171 Aug 31 12:42 /dev/bus/usb/002/044
crwxrwxrwx 1 root lp 180, 1 Aug 31 12:44 /dev/usb/lp1
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp0
- [sudo] password for overlord:
+ [sudo] password for overlord:
Error: No such file or directory: can't open '/dev/usb/lp0'
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp1
GET_DEVICE_ID string:
MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,END4;MDL:L220 Series;CLS:PRINTER;DES:EPSON
L220
Series;CID:EpsonStd10;FID:FXN,DPN,WFN,ETN,AFN,DAN,WRN;RID:00;DDS:011180;ELG:0E64;
overlord@OverLord:~$ lpinfo -v
file cups-brf:/
direct ecblp:/var/run/ecblp0
network https
network ipp
network socket
network beh
direct hp
network ipps
network http
network lpd
direct hpfax
direct usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
- E [31/Aug/2021:12:40:07 +0530] [Client 483] Returning IPP
client-error-document-format-not-supported for Print-Job
(ipp://localhost:631/printers/CUPS-BRF-Printer) from localhost.
- W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-Gray..\'
already exists
- W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-RGB..\'
already exists
+ E [31/Aug/2021:12:40:07 +0530] [Client 483] Returning IPP
client-error-document-format-not-supported for Print-Job
(ipp://localhost:631/printers/CUPS-BRF-Printer) from localhost.
+ W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-Gray..\'
already exists
+ W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-RGB..\'
already exists
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 31 13:05:54 2021
InstallationDate: Installed on 2021-06-22 (69 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64
(20210209.1)
Lpstat: device for L220-Series:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName',
'/etc/cups/ppd/L220-Series.ppd'] failed with exit code 2: grep:
/etc/cups/ppd/L220-Series.ppd: Permission denied
ProcEnviron:
- LANGUAGE=en_IN:en
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=<set>
- LANG=en_IN
- SHELL=/bin/bash
+ LANGUAGE=en_IN:en
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ LANG=en_IN
+ SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=3a827d05-0624-4664-ae74-478b7f63a883 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2011
dmi.bios.release: 15.4
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1668
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.ec.firmware.release: 8.16
dmi.modalias:
dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:br15.4:efr8.16:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr059F100000004610000000000:rvnHewlett-Packard:rn1668:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP Pavilion g6 Notebook PC
dmi.product.sku: LN246EA#A2N
dmi.product.version: 059F100000004610000000000
dmi.sys.vendor: Hewlett-Packard
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1942176
Title:
While printing the printer is printing an error message on the sheet
cups_handleerror
Status in cups package in Ubuntu:
New
Bug description:
When using the printer it prints this on the sheet:
___________________________________________________________________________________________________
userdict dup(\004)cvn{}put (\004\004)cvn{}put
/cups_handleerror{
2B$error /newerror false put
(:PostScript error in") print cups_query_keywords print (": ) print
$error /errorname get 128 string cvs print
(;offending command:) print $error /command get 128 string cvs print(
) print flush
} bind def
errordict /timeout {} put
/cups_query_query_keyword(?Unknown) def
_________________________________________________________________________________________________
THIS IS THE TERMINAL OUTPUT
overlord@OverLord:~$ lsmod|grep usb
usbhid 57344 0
hid 135168 2 usbhid,hid_generic
btusb 61440 0
btrtl 24576 1 btusb
btbcm 16384 1 btusb
btintel 28672 1 btusb
bluetooth 638976 15 btrtl,btintel,btbcm,bnep,btusb,rfcomm
overlord@OverLord:~$ tail -f /var/log/syslog
Aug 31 12:43:40 OverLord kernel: [71467.827350] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:43:40 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:43:40 OverLord udev-configure-printer: add usb-001-006
Aug 31 12:43:41 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:43:41 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:43:41 OverLord kernel: [71468.715833] usb 1-1.1: USB disconnect,
device number 6
Aug 31 12:43:41 OverLord kernel: [71468.716232] usblp1: removed
Aug 31 12:43:41 OverLord udev-configure-printer: remove
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Aug 31 12:43:48 OverLord udev-configure-printer: no corresponding CUPS device
found
Aug 31 12:43:48 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:33 OverLord kernel: [71520.685232] usb 1-1.1: new full-speed USB
device number 7 using ehci-pci
Aug 31 12:44:34 OverLord kernel: [71520.957538] usb 1-1.1: New USB device
found, idVendor=04b8, idProduct=08d1, bcdDevice= 1.00
Aug 31 12:44:34 OverLord kernel: [71520.957549] usb 1-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Aug 31 12:44:34 OverLord kernel: [71520.957553] usb 1-1.1: Product: EPSON
L220 Series
Aug 31 12:44:34 OverLord kernel: [71520.957556] usb 1-1.1: Manufacturer: EPSON
Aug 31 12:44:34 OverLord kernel: [71520.957559] usb 1-1.1: SerialNumber:
5647584B3134343800
Aug 31 12:44:34 OverLord kernel: [71521.306906] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:34 OverLord systemd[1]: Started Configure Plugged-In Printer.
Aug 31 12:44:34 OverLord udev-configure-printer: add usb-001-007
Aug 31 12:44:34 OverLord udev-configure-printer: device devpath is
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Aug 31 12:44:34 OverLord udev-configure-printer: MFG:EPSON MDL:L220 Series
SERN:- serial:5647584B3134343800
Aug 31 12:44:39 OverLord kernel: [71526.576813] usblp1: removed
Aug 31 12:44:40 OverLord kernel: [71527.090914] usblp 1-1.1:1.1: usblp1: USB
Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04B8 pid 0x08D1
Aug 31 12:44:41 OverLord udev-configure-printer: URI contains USB serial
number
Aug 31 12:44:41 OverLord udev-configure-printer: URI match:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of detected printer:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: URI of print queue:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1, normalized:
epson l220 series serial 5647584b3134343800 interface 1
Aug 31 12:44:41 OverLord udev-configure-printer: Queue
ipp://localhost/printers/L220-Series has matching device URI
Aug 31 12:44:41 OverLord udev-configure-printer: Re-enabled printer
ipp://localhost/printers/L220-Series
Aug 31 12:44:41 OverLord systemd[1]: [email protected]:
Succeeded.
Aug 31 12:44:46 OverLord telegram-desktop_telegram-desktop.desktop[53993]:
OpenType support missing for "DAOpenSansSemibold", script 12
^C
overlord@OverLord:~$ lsusb
Bus 002 Device 040: ID 04f2:b249 Chicony Electronics Co., Ltd
Bus 002 Device 044: ID 1a2c:4c5e China Resource Semico Co., Ltd
Bus 002 Device 043: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical
Mouse
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0a5c:21b4 Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR
Bus 001 Device 007: ID 04b8:08d1 Seiko Epson Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
overlord@OverLord:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Aug 29 13:51 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Aug 29 13:51 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 3 Aug 31 12:22 /dev/bus/usb/001/004
crwxrwxrwx+ 1 root root 189, 6 Aug 31 12:44 /dev/bus/usb/001/007
crw-rw-r-- 1 root root 189, 128 Aug 29 13:51 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Aug 29 13:51 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 167 Aug 31 11:36 /dev/bus/usb/002/040
crw-rw-r-- 1 root root 189, 170 Aug 31 12:42 /dev/bus/usb/002/043
crw-rw-r-- 1 root root 189, 171 Aug 31 12:42 /dev/bus/usb/002/044
crwxrwxrwx 1 root lp 180, 1 Aug 31 12:44 /dev/usb/lp1
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp0
[sudo] password for overlord:
Error: No such file or directory: can't open '/dev/usb/lp0'
overlord@OverLord:~$ sudo usb_printerid /dev/usb/lp1
GET_DEVICE_ID string:
MFG:EPSON;CMD:ESCPL2,BDC,D4,D4PX,END4;MDL:L220 Series;CLS:PRINTER;DES:EPSON
L220
Series;CID:EpsonStd10;FID:FXN,DPN,WFN,ETN,AFN,DAN,WRN;RID:00;DDS:011180;ELG:0E64;
overlord@OverLord:~$ lpinfo -v
file cups-brf:/
direct ecblp:/var/run/ecblp0
network https
network ipp
network socket
network beh
direct hp
network ipps
network http
network lpd
direct hpfax
direct usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
E [31/Aug/2021:12:40:07 +0530] [Client 483] Returning IPP
client-error-document-format-not-supported for Print-Job
(ipp://localhost:631/printers/CUPS-BRF-Printer) from localhost.
W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-Gray..\'
already exists
W [31/Aug/2021:12:40:45 +0530] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id \'L220-Series-RGB..\'
already exists
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 31 13:05:54 2021
InstallationDate: Installed on 2021-06-22 (69 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64
(20210209.1)
Lpstat: device for L220-Series:
usb://EPSON/L220%20Series?serial=5647584B3134343800&interface=1
MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName',
'/etc/cups/ppd/L220-Series.ppd'] failed with exit code 2: grep:
/etc/cups/ppd/L220-Series.ppd: Permission denied
ProcEnviron:
LANGUAGE=en_IN:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_IN
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=3a827d05-0624-4664-ae74-478b7f63a883 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2011
dmi.bios.release: 15.4
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1668
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.ec.firmware.release: 8.16
dmi.modalias:
dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:br15.4:efr8.16:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr059F100000004610000000000:rvnHewlett-Packard:rn1668:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=PAV
dmi.product.name: HP Pavilion g6 Notebook PC
dmi.product.sku: LN246EA#A2N
dmi.product.version: 059F100000004610000000000
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1942176/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp