LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-21-2004, 09:41 AM   #1
dancar
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Rep: Reputation: 0
Printer and Parallel port


I'm having trouble instaling my printer.
It's a Epson C42SX (parallel port) on a Slackware 9.1 kernel 2.6.3.
Cups is installed and also gimp-print.
When I try to add a printer on Cups it does not show a Parallel port.
So I chose LPD/LPR Host or Printer, and inserted /dev/lp0 on the URI.
But didn't work.
this is the output of my lpinfo -v
# lpinfo -v
network socket
network http
network ipp
network lpd
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyS2?baud=115200
serial serial:/dev/ttyS3?baud=115200
serial serial:/dev/ttyS4?baud=115200
serial serial:/dev/ttyS5?baud=115200
serial serial:/dev/ttyS6?baud=115200
serial serial:/dev/ttyS7?baud=115200
direct usb:/dev/usb/lp0
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15

Any hints why my parallel port is not beeing recognized?
 
Old 02-21-2004, 12:47 PM   #2
dancar
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Original Poster
Rep: Reputation: 0
And also, my dmesg is showing this.
lp: driver loaded but no devices found

both modules are loaded
lp and parport.

the devices are here
# ls -l /dev/lp*
crw-rw---- 1 root lp 6, 0 1995-04-27 20:17 /dev/lp0
crw-rw---- 1 root lp 6, 1 1995-04-27 20:17 /dev/lp1
crw-rw---- 1 root lp 6, 2 1995-04-27 20:17 /dev/lp2
-rw-r--r-- 1 root root 6 2004-02-20 23:32 /dev/lpt0

And I inserted my user on lp group.

Last edited by dancar; 02-21-2004 at 01:01 PM.
 
Old 02-21-2004, 02:13 PM   #3
dancar
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Original Poster
Rep: Reputation: 0
OK I did it.
I just had to modprobe parport_pc
But I don't know why it was not loaded with the lp and parport modules during boot.
Where should I put it to load with the others?
 
Old 03-13-2004, 10:32 PM   #4
Rukhin
LQ Newbie
 
Registered: Mar 2004
Location: Maryland
Distribution: RedHat Linux 9.0 (2.4.20-30)
Posts: 7

Rep: Reputation: 0
Parallel printer help

Hello ...anyone?


I am having a similar problem with my parallel port/printer : CUPS will not recognize my parallel port.

I am installing a HP LaserJet 5MP on RedHat 9


Here is some output...

[root@localhost share]# lpinfo -v
network socket
network http
network ipp
network lpd
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyS2?baud=115200
serial serial:/dev/ttyS3?baud=115200
serial serial:/dev/ttyS4?baud=115200
serial serial:/dev/ttyS5?baud=115200
serial serial:/dev/ttyS6?baud=115200
serial serial:/dev/ttyS7?baud=115200
serial serial:/dev/ttyS8?baud=115200
serial serial:/dev/ttyS9?baud=115200
serial serial:/dev/ttyS10?baud=115200
serial serial:/dev/ttyS11?baud=115200
serial serial:/dev/ttyS12?baud=115200
serial serial:/dev/ttyS13?baud=115200
serial serial:/dev/ttyS14?baud=115200
serial serial:/dev/ttyS15?baud=115200
serial serial:/dev/ttyS16?baud=115200
serial serial:/dev/ttyS17?baud=115200
serial serial:/dev/ttyS18?baud=115200
serial serial:/dev/ttyS19?baud=115200
serial serial:/dev/ttyS20?baud=115200
serial serial:/dev/ttyS21?baud=115200
serial serial:/dev/ttyS22?baud=115200
serial serial:/dev/ttyS23?baud=115200
serial serial:/dev/ttyS24?baud=115200
serial serial:/dev/ttyS25?baud=115200
serial serial:/dev/ttyS26?baud=115200
serial serial:/dev/ttyS27?baud=115200
serial serial:/dev/ttyS28?baud=115200
serial serial:/dev/ttyS29?baud=115200
serial serial:/dev/ttyS30?baud=115200
serial serial:/dev/ttyS31?baud=115200
direct usb:/dev/usb/lp0
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15
network smb

When entering 'modprobe parport_pc", I get the following:

[root@localhost share]# modprobe parport_pc
/lib/modules/2.4.20-8/kernel/drivers/parport/parport_pc.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/drivers/parport/parport_pc.o: insmod /lib/modules/2.4.20-8/kernel/drivers/parport/parport_pc.o failed
/lib/modules/2.4.20-8/kernel/drivers/parport/parport_pc.o: insmod parport_pc failed
[root@localhost share]#


When I modprobe 'lp' and 'parport' , I get no response, even though 'lsmod' includes them in its list.


At this stage...the newbie says...."Help??"
 
Old 04-30-2006, 10:43 AM   #5
AshCokeandDash
LQ Newbie
 
Registered: Feb 2006
Location: South Africa
Distribution: ZipSlack 3.9
Posts: 5

Rep: Reputation: 0
I was also getting the message "lp: driver loaded but no devices found" in ZipSlack 10.2 but found a solution on another forum. Just thought I'd share it here.

Insert the following lines in the file /etc/modules.conf:
alias /dev/printers lp
alias /dev/lp* lp

Remove the comments from the "Parallel Printer Support" section in the file /etc/rc.d/rc.modules.

When the system reboots, the following message appears:
lp0:using parport0 (polling).

Printing using the command "cat file > /dev/lp0" now works.

Last edited by AshCokeandDash; 04-30-2006 at 10:52 AM.
 
  


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
Can't find parallel port /printer Richard Perry Linux - Hardware 1 03-04-2005 08:33 PM
Parallel port printer dtcamargo Linux - Hardware 4 10-31-2004 11:11 PM
USB-parallel port printer Devenpillay Linux - Laptop and Netbook 1 09-07-2004 10:26 AM
Parallel Port issues (not printer) MightyCranium Linux - Newbie 3 12-08-2003 08:55 PM
Parallel port and printer Xreagan Linux - Newbie 2 09-04-2002 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:59 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
Open Source Consulting | Domain Registration