LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2011, 04:08 AM   #1
schmitta
Member
 
Registered: May 2011
Location: Blacksburg VA
Distribution: UBUNTU, LXLE
Posts: 308

Rep: Reputation: Disabled
UBUNTU does not see directly connected HP 4 printer


I have an hp laserjet 4 printer directly connected to ubuntu machine but ubuntu does not see it. Any ideas? Thanks Alvin....
 
Old 11-29-2011, 11:29 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,166

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
When you say it doesn't see it, I presume you mean that literally, and not that it just doesn't have any driver. What method(s) are you using to try to set up the printer? e.g.
running hp-setup
using a printer configuration tool in the menu
entering http://localhost:631 in a browser to access CUPS
Tell us a little more and we'll probably find you a solution.
 
1 members found this post helpful.
Old 11-30-2011, 10:49 PM   #3
schmitta
Member
 
Registered: May 2011
Location: Blacksburg VA
Distribution: UBUNTU, LXLE
Posts: 308

Original Poster
Rep: Reputation: Disabled
I directly connected the HP Laserjet 4 printer to the parallel printer port on the PC that is running UBUNTU.I went to SYSTEM -> ADMINISTRATION->PRINTING and clicked on +ADD . What was displayed was:

Serial Port #1
Serial Port #2
Other
+Network Printer

The HP 4 was not displayed. What should I try next? Thank you. ALvin...
 
Old 12-01-2011, 07:52 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,958

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Does the system recognize the parallel port? Check the output of the command dmesg
Are the parallel port modules loading? Look at the output of lsmod for lp, ppdev and parport_pc
Does a parallel port device ID exit i.e. /dev/lp0
What version of Ubuntu are you running?
http://www.thorstenvitt.de/en/conten...tu-hardy-heron
https://wiki.ubuntu.com/DebuggingPrintingProblems
 
Old 12-01-2011, 12:52 PM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,166

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
One possibility is that you may need to enter the BIOS before boot and enable the parallel/LPT port; sometimes these days it's turned off by default.
 
Old 12-02-2011, 02:31 PM   #6
schmitta
Member
 
Registered: May 2011
Location: Blacksburg VA
Distribution: UBUNTU, LXLE
Posts: 308

Original Poster
Rep: Reputation: Disabled
I changed the parallel port in BIOS to ECP-EPP and ran some of the debugging parallel port in a terminal window - note that I am using UBUNTU 10.4 LTS . I copied the terminal window and will try to put it below.

schmitta@schmitta-desktop:~$ lsmod | grep lp
lp 7028 0
parport 32635 2 ppdev,lp
schmitta@schmitta-desktop:~$ lsmod | grep ppdev
ppdev 5259 0
parport 32635 2 ppdev,lp
schmitta@schmitta-desktop:~$ lsmod | grep parport_pc
schmitta@schmitta-desktop:~$ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.005391] no APIC, boot with the "lapic" boot parameter to force-enable it.
[ 19.376552] ppdev: user-space parallel port driver
schmitta@schmitta-desktop:~$ ls -l /dev/lp* /dev/parport*
ls: cannot access /dev/lp*: No such file or directory
ls: cannot access /dev/parport*: No such file or directory
schmitta@schmitta-desktop:~$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for schmitta:
cat: /proc/sys/dev/parport/parport*/autoprobe*: No such file or directory
schmitta@schmitta-desktop:~$ lpinfo -v
direct hp
direct scsi
network socket
network http
network smb
network lpd
network ipp
network beh
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
network dnssd://Brother%20MFC-255CW._pdl-datastream._tcp.local/
network dnssd://Brother%20MFC-255CW._printer._tcp.local/
direct hpfax

network lpd://BRW00242B9E248A/BINARY_P1
schmitta@schmitta-desktop:~$
schmitta@schmitta-desktop:~$ /usr/lib/cups/backend/parallel
schmitta@schmitta-desktop:~$ sudo /usr/lib/cups/backend/parallel
schmitta@schmitta-desktop:~$ /dev/lp0
bash: /dev/lp0: No such file or directory
schmitta@schmitta-desktop:~$ /dev/lpo
bash: /dev/lpo: No such file or directory
schmitta@schmitta-desktop:~$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printing from XP to printer connected to Ubuntu issue ballermark Linux - Networking 5 12-29-2009 10:16 AM
Printing from Debian to printer connected to ubuntu 9.04 box. Samba and Cups. glore2002 Debian 4 09-24-2009 08:26 PM
need to configure my internet access (i have a cablemodem connected directly) sexwax Slackware 8 06-07-2008 09:01 PM
Cannot install a network printer, that is connected directly to the network. Epeescott Linux - Networking 3 03-19-2006 09:31 PM
NEC Superscript 1800N connected directly to the router wapworld Linux - Hardware 0 06-15-2005 10:54 PM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration