2012-07-25 11:16:43 |
Romeo Dragnea |
description |
Hello evryone,
I have this issue with a Cannon BJC 210, LPT printer. You have attached a scaned page, printed with arial and ubuntu default font. I used the default printer driver for BJC 210 from Lubuntu. I use LUBUNTU.
Used the comands from https://wiki.ubuntu.com/DebuggingPrintingProblems to generate some reports for you.
edo@edo-AMILO:~$ lsmod | grep lp
drm_kms_helper 45466 1 i915
drm 197692 3 i915,drm_kms_helper
lp 17455 0
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ lsmod | grep ppdev
ppdev 12849 0
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ lsmod | grep parapot_pc
edo@edo-AMILO:~$ lsmod | grep paraport_pc
edo@edo-AMILO:~$ lsmod | grep parport_pc
parport_pc 32114 1
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] vt handoff: transparent VT on vt#7
[ 0.048073] no APIC, boot with the "lapic" boot parameter to force-enable it.
[ 0.490987] pci_bus 0000:03: [bus 03-06] partially hidden behind transparent bridge 0000:02 [bus 02-02]
[ 22.530237] parport_pc 00:08: reported by Plug and Play ACPI
[ 22.530294] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 22.575869] ppdev: user-space parallel port driver
[ 22.625118] parport0: Printer, Canon BJC-210
[ 22.627979] lp0: using parport0 (interrupt-driven).
[ 22.955787] type=1400 audit(1343212299.686:2): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=501 comm="apparmor_parser"
[ 22.956891] type=1400 audit(1343212299.690:3): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=501 comm="apparmor_parser"
[ 23.563803] type=1400 audit(1343212300.294:4): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=558 comm="apparmor_parser"
[ 23.566718] type=1400 audit(1343212300.298:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=558 comm="apparmor_parser"
[ 23.567210] type=1400 audit(1343212300.298:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=558 comm="apparmor_parser"
[ 23.569284] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #02 to #06
[ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
[ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
[ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
[ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
[ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
[ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
[ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
[ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for edo:
CLASS:PRINTER;
MODEL:BJC-210;
MANUFACTURER:Canon;
DESCRIPTION:Canon BJC-210;
COMMAND SET:BJ,LQ,BJL,BJRaster;
edo@edo-AMILO:~$ $ lpinfo -v
$: command not found
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVxe/pkcs11: No such file or directory
network socket
network ipps
network https
network lpd
network ipp
network http
direct parallel:/dev/lp0
network beh
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVxe/pkcs11: No such file or directory
network ipps
network socket
network ipp
network http
network https
network beh
network lpd
direct parallel:/dev/lp0
edo@edo-AMILO:~$ /usr/lib/cups/backend/parallel
edo@edo-AMILO:~$ sudo /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "Canon BJC-210" "Canon BJC-210 LPT #1" "MANUFACTURER:Canon;COMMAND SET:BJ,LQ,BJL,BJRaster;MODEL:BJC-210;CLASS:PRINTER;DESCRIPTION:Canon BJC-210;" ""
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep lp
2 to #06
[ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
[ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
[ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
[ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
[ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
[ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
[ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
[ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for edo:
CLASS:PRINTER;
MODEL:BJC-210;
MANUFACTURER:Canon;
DESCRIPTION:Canon BJC-210;
COMMAND SET:BJ,LQ,BJL,BJRaster;
edo@edo-AMILO:~$ $ lpinfo -v
$: command not found
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: coedo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ drm_kms_helper 45466 1 i915
drm_kms_helper: command not found
edo@edo-AMILO:~$ drm 197692 3 i915,drm_kms_helper
No command 'drm' found, did you mean:
Command 'dpm' from package 'dpm-server-postgres' (universe)
Command 'dpm' from package 'dpm-server-mysql' (universe)
Command 'crm' from package 'pacemaker' (main)
Command 'crm' from package 'crm114' (universe)
Command 'arm' from package 'tor-arm' (universe)
Command 'rm' from package 'coreutils' (main)
Command 'rm' from package 'safe-rm' (universe)
Command 'vrm' from package 'atfs' (universe)
Command 'srm' from package 'secure-delete' (universe)
Command 'drc' from package 'drc' (universe)
Command 'frm' from package 'mailutils' (universe)
Command 'drr' from package 'plastimatch' (universe)
Command 'dwm' from package 'dwm' (universe)
drm: command not found
edo@edo-AMILO:~$ lp 17455 0
lp: Error - unable to access "17455" - No such file or directory
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep ppdev
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ ppdev 12849 0
No command 'ppdev' found, did you mean:
Command 'ppdep' from package 'fp-utils-2.4.4' (universe)
ppdev: command not found
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep parapot_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep paraport_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep parport_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ parport_pc 32114 1
parport_pc: command not found
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ dmesg | grep par
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ [ 0.000000] Booting paravirtualized kernel on bare hardware
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.000000] vt handoff: transparent VT on vt#7
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.048073] no APIC, boot with the "lapic" boot parameter to force-enable it.
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.490987] pci_bus 0000:03: [bus 03-06] partially hidden behind transparent bridge 0000:02 [bus 02-02]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.530237] parport_pc 00:08: reported by Plug and Play ACPIbash: [: missing `]'
edo@edo-AMILO:~$ [ 22.530294] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.575869] ppdev: user-space parallel port driver
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.625118] parport0: Printer, Canon BJC-210
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.627979] lp0: using parport0 (interrupt-driven).
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 22.955787] type=1400 audit(1343212299.686:2): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=501 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 22.956891] type=1400 audit(1343212299.690:3): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=501 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.563803] type=1400 audit(1343212300.294:4): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.566718] type=1400 audit(1343212300.298:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.567210] type=1400 audit(1343212300.298:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.569284] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #02 to #06
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw----: command not found
edo@edo-AMILO:~$ crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
crw-rw----: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
-r--r--r--: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ [sudo] password for edo:
[sudo]: command not found
edo@edo-AMILO:~$ CLASS:PRINTER;
CLASS:PRINTER: command not found
edo@edo-AMILO:~$ MODEL:BJC-210;
MODEL:BJC-210: command not found
edo@edo-AMILO:~$ MANUFACTURER:Canon;
MANUFACTURER:Canon: command not found
edo@edo-AMILO:~$ DESCRIPTION:Canon BJC-210;
DESCRIPTION:Canon: command not found
edo@edo-AMILO:~$ COMMAND SET:BJ,LQ,BJL,BJRaster;
COMMAND: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ $ lpinfo -v
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ $: command not found
$:: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lpinfo -v
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVx
> network socket
> network ipps
> network https
> network l
> network ipp
> network http
> direct
> network beh
> edo@edo-AMILO:~$ $ lpinfo -v
> $: command
> edo@edo-AMILO:~$ lpinfo -v
> WARNING
> network ipps
> network socket
> netw
> network http
> network https
> network beh
> network lpd
>
> edo@edo-AMILO:~$ /usr/lib/cups/backend/p
> edo@edo-AMILO:~$ sudo /usr/lib/cups/backe
> direct parallel:/dev/lp0 "Canon BJC-210"
Thanks you :) |
Hello evryone,
I have this issue with a Cannon BJC 210, LPT printer. I have attached a scaned page, printed with arial and ubuntu default font. I used the default printer driver for BJC 210 from Lubuntu. I use LUBUNTU.
Used the comands from https://wiki.ubuntu.com/DebuggingPrintingProblems to generate some reports for you.
edo@edo-AMILO:~$ lsmod | grep lp
drm_kms_helper 45466 1 i915
drm 197692 3 i915,drm_kms_helper
lp 17455 0
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ lsmod | grep ppdev
ppdev 12849 0
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ lsmod | grep parapot_pc
edo@edo-AMILO:~$ lsmod | grep paraport_pc
edo@edo-AMILO:~$ lsmod | grep parport_pc
parport_pc 32114 1
parport 40930 3 ppdev,parport_pc,lp
edo@edo-AMILO:~$ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] vt handoff: transparent VT on vt#7
[ 0.048073] no APIC, boot with the "lapic" boot parameter to force-enable it.
[ 0.490987] pci_bus 0000:03: [bus 03-06] partially hidden behind transparent bridge 0000:02 [bus 02-02]
[ 22.530237] parport_pc 00:08: reported by Plug and Play ACPI
[ 22.530294] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 22.575869] ppdev: user-space parallel port driver
[ 22.625118] parport0: Printer, Canon BJC-210
[ 22.627979] lp0: using parport0 (interrupt-driven).
[ 22.955787] type=1400 audit(1343212299.686:2): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=501 comm="apparmor_parser"
[ 22.956891] type=1400 audit(1343212299.690:3): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=501 comm="apparmor_parser"
[ 23.563803] type=1400 audit(1343212300.294:4): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=558 comm="apparmor_parser"
[ 23.566718] type=1400 audit(1343212300.298:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=558 comm="apparmor_parser"
[ 23.567210] type=1400 audit(1343212300.298:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=558 comm="apparmor_parser"
[ 23.569284] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #02 to #06
[ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
[ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
[ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
[ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
[ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
[ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
[ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
[ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for edo:
CLASS:PRINTER;
MODEL:BJC-210;
MANUFACTURER:Canon;
DESCRIPTION:Canon BJC-210;
COMMAND SET:BJ,LQ,BJL,BJRaster;
edo@edo-AMILO:~$ $ lpinfo -v
$: command not found
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVxe/pkcs11: No such file or directory
network socket
network ipps
network https
network lpd
network ipp
network http
direct parallel:/dev/lp0
network beh
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVxe/pkcs11: No such file or directory
network ipps
network socket
network ipp
network http
network https
network beh
network lpd
direct parallel:/dev/lp0
edo@edo-AMILO:~$ /usr/lib/cups/backend/parallel
edo@edo-AMILO:~$ sudo /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "Canon BJC-210" "Canon BJC-210 LPT #1" "MANUFACTURER:Canon;COMMAND SET:BJ,LQ,BJL,BJRaster;MODEL:BJC-210;CLASS:PRINTER;DESCRIPTION:Canon BJC-210;" ""
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep lp
2 to #06
[ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
[ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
[ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
[ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
[ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
[ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
[ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
[ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for edo:
CLASS:PRINTER;
MODEL:BJC-210;
MANUFACTURER:Canon;
DESCRIPTION:Canon BJC-210;
COMMAND SET:BJ,LQ,BJL,BJRaster;
edo@edo-AMILO:~$ $ lpinfo -v
$: command not found
edo@edo-AMILO:~$ lpinfo -v
WARNING: gnome-keyring:: coedo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ drm_kms_helper 45466 1 i915
drm_kms_helper: command not found
edo@edo-AMILO:~$ drm 197692 3 i915,drm_kms_helper
No command 'drm' found, did you mean:
Command 'dpm' from package 'dpm-server-postgres' (universe)
Command 'dpm' from package 'dpm-server-mysql' (universe)
Command 'crm' from package 'pacemaker' (main)
Command 'crm' from package 'crm114' (universe)
Command 'arm' from package 'tor-arm' (universe)
Command 'rm' from package 'coreutils' (main)
Command 'rm' from package 'safe-rm' (universe)
Command 'vrm' from package 'atfs' (universe)
Command 'srm' from package 'secure-delete' (universe)
Command 'drc' from package 'drc' (universe)
Command 'frm' from package 'mailutils' (universe)
Command 'drr' from package 'plastimatch' (universe)
Command 'dwm' from package 'dwm' (universe)
drm: command not found
edo@edo-AMILO:~$ lp 17455 0
lp: Error - unable to access "17455" - No such file or directory
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep ppdev
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ ppdev 12849 0
No command 'ppdev' found, did you mean:
Command 'ppdep' from package 'fp-utils-2.4.4' (universe)
ppdev: command not found
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep parapot_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep paraport_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lsmod | grep parport_pc
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ parport_pc 32114 1
parport_pc: command not found
edo@edo-AMILO:~$ parport 40930 3 ppdev,parport_pc,lp
parport: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ dmesg | grep par
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ [ 0.000000] Booting paravirtualized kernel on bare hardware
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.000000] vt handoff: transparent VT on vt#7
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.048073] no APIC, boot with the "lapic" boot parameter to force-enable it.
bash: [: missing `]'
edo@edo-AMILO:~$ [ 0.490987] pci_bus 0000:03: [bus 03-06] partially hidden behind transparent bridge 0000:02 [bus 02-02]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.530237] parport_pc 00:08: reported by Plug and Play ACPIbash: [: missing `]'
edo@edo-AMILO:~$ [ 22.530294] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.575869] ppdev: user-space parallel port driver
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.625118] parport0: Printer, Canon BJC-210
bash: [: missing `]'
edo@edo-AMILO:~$ [ 22.627979] lp0: using parport0 (interrupt-driven).
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 22.955787] type=1400 audit(1343212299.686:2): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=501 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 22.956891] type=1400 audit(1343212299.690:3): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=501 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.563803] type=1400 audit(1343212300.294:4): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.566718] type=1400 audit(1343212300.298:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.567210] type=1400 audit(1343212300.298:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=558 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.569284] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #02 to #06
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.569301] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [io 0x3000-0x3fff]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 23.580079] type=1400 audit(1343212300.310:7): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ntpd" pid=559 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 23.660371] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe02fffff]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 23.660398] yenta_cardbus 0000:02:09.0: pcmcia: parent PCI bridge window: [mem 0x24000000-0x29ffffff pref]
bash: [: missing `]'
edo@edo-AMILO:~$ [ 24.334577] type=1400 audit(1343212301.066:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=707 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.346679] type=1400 audit(1343212301.078:9): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.368755] type=1400 audit(1343212301.102:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ [ 24.369254] type=1400 audit(1343212301.102:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=709 comm="apparmor_parser"
bash: syntax error near unexpected token `('
edo@edo-AMILO:~$ edo@edo-AMILO:~$ ls -l /dev/lp* /dev/parport*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ crw-rw---- 1 root lp 6, 0 Jul 25 13:31 /dev/lp0
crw-rw----: command not found
edo@edo-AMILO:~$ crw-rw---- 1 root lp 99, 0 Jul 25 13:31 /dev/parport0
crw-rw----: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r--: command not found
edo@edo-AMILO:~$ -r--r--r-- 1 root root 0 Jul 25 13:37 /proc/sys/dev/parport/parport0/autoprobe3
-r--r--r--: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ [sudo] password for edo:
[sudo]: command not found
edo@edo-AMILO:~$ CLASS:PRINTER;
CLASS:PRINTER: command not found
edo@edo-AMILO:~$ MODEL:BJC-210;
MODEL:BJC-210: command not found
edo@edo-AMILO:~$ MANUFACTURER:Canon;
MANUFACTURER:Canon: command not found
edo@edo-AMILO:~$ DESCRIPTION:Canon BJC-210;
DESCRIPTION:Canon: command not found
edo@edo-AMILO:~$ COMMAND SET:BJ,LQ,BJL,BJRaster;
COMMAND: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ $ lpinfo -v
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ $: command not found
$:: command not found
edo@edo-AMILO:~$ edo@edo-AMILO:~$ lpinfo -v
edo@edo-AMILO:~$: command not found
edo@edo-AMILO:~$ WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ISHVx
> network socket
> network ipps
> network https
> network l
> network ipp
> network http
> direct
> network beh
> edo@edo-AMILO:~$ $ lpinfo -v
> $: command
> edo@edo-AMILO:~$ lpinfo -v
> WARNING
> network ipps
> network socket
> netw
> network http
> network https
> network beh
> network lpd
>
> edo@edo-AMILO:~$ /usr/lib/cups/backend/p
> edo@edo-AMILO:~$ sudo /usr/lib/cups/backe
> direct parallel:/dev/lp0 "Canon BJC-210"
Thanks you :) |
|