2. Open a terminal/console and check if the lp, ppdev, and parport_pc 
kernel modules are loaded:
$ lsmod | grep lp
$ lsmod | grep ppdev
$ lsmod | grep parport_pc
- - - - -
chris@greene:~$ lsmod |grep lp
lp                      7028  0
parport                32635  3 ppdev,parport_pc,lp
chris@greene:~$ lsmod |grep ppdev
ppdev                   5259  0
parport                32635  3 ppdev,parport_pc,lp
chris@greene:~$ lsmod |grep parport_pc
parport_pc             25962  1
parport                32635  3 ppdev,parport_pc,lp
- - - - -
3. Check if the kernel detected the parallel port during bootup:
$ dmesg | grep par
- - - - -
chris@greene:~$ dmesg |grep par
[   23.464577] parport_pc 00:09: reported by Plug and Play ACPI
[   23.464636] parport0: PC-style at 0x378 (0x778), irq 7, using FIFO 
[PCSPP,TRISTATE,COMPAT,ECP]
[   23.591347] parport0: Printer, Hewlett-Packard OfficeJet Series 600
[   23.591640] lp0: using parport0 (interrupt-driven).
[   25.276712] ppdev: user-space parallel port driver
[   34.651067] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack 
module option or
- - - - -
4. Check if the device files of the parallel port(s) are created and 
have the correct permissions and ownerships:
$ ls -l /dev/lp* /dev/parport*
- - - - -
chris@greene:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp  6, 0 2012-04-06 15:03 /dev/lp0
crw-rw---- 1 root lp 99, 0 2012-04-06 15:03 /dev/parport0
- - - - -
5. Check if the printer auto-detection result appears in the kernel's 
virtual file system: <<BR> $ ls -l 
/proc/sys/dev/parport/parport*/autoprobe*
$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
- - - - -
chris@greene:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 2012-04-06 15:42 
/proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 2012-04-06 15:42 
/proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 2012-04-06 15:42 
/proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 2012-04-06 15:42 
/proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 2012-04-06 15:42 
/proc/sys/dev/parport/parport0/autoprobe3
chris@greene:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for chris:
CLASS:PRINTER;
MODEL:OfficeJet Series 600;
MANUFACTURER:Hewlett-Packard;
COMMAND SET:MLC,PCL,PML;
- - - - -
6. Find out if your printer gets detected by CUPS:
$ lpinfo -v
- - - - -
chris@greene:~$ lpinfo -v
direct scsi
network socket
network ipp
network http
network lpd
direct parallel:/dev/lp0
serial serial:/dev/ttyS0?baud=115200
network smb
direct hp
network beh
direct hpfax
- - - - -
7. Run the parallel port CUPS backend separately, once with standard 
user privileges and once as root:
$ /usr/lib/cups/backend/parallel
$ sudo /usr/lib/cups/backend/parallel
- - - - -
chris@greene:~$ /usr/lib/cups/backend/parallel
<no response>
chris@greene:~$ sudo /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "HP OfficeJet Series 600" "HP OfficeJet Series 
600 LPT #1" "MFG:Hewlett-Packard;MDL:OfficeJet Series 
600;CMD:MLC,PCL,PML;CLASS:PRINTER;REV:4.05c;" ""
- - - - -
thank you
Chris

On 04/06/2012 10:21 AM, Christopher M. Penalver wrote:
> chris_m, thank you for reporting this and helping make Ubuntu better.
> Could you please attach all relevant information following
> https://wiki.ubuntu.com/DebuggingPrintingProblems ?
>
> ** Tags added: regression-release
>
> ** Package changed: linux (Ubuntu) =>  cups (Ubuntu)
>
> ** Changed in: cups (Ubuntu)
>         Status: Confirmed =>  Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/775191

Title:
  HP 600 Officejet parallel port printer does not work with Lucid.  It
  worked perfectly with Dapper and Hardy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/775191/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to