LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 06-06-2005, 11:15 AM   #1
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
straight-foward answer: printing through parallel port


I want to print through my parallel port, but CUPS (nor linux) realizes my parallel port is in existence. I've checked for lp0 and lp1 and neither exist. Help would be cool....
 
Old 06-06-2005, 11:17 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
Do you have the proper support built in to your kernel? It needs pc-style parallel port and parallel printer support to work.
 
Old 06-06-2005, 02:43 PM   #3
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
i just checked my kernel configuration, matir... I have parallel support enabled as a module. What now?
 
Old 06-06-2005, 02:49 PM   #4
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
the deal is that when I use the KDE control center to configure a printer under CUPS, I can't choose anything from under the "Parallel" tab.
 
Old 06-26-2005, 03:48 PM   #5
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
just a dumb stab...is the parallel port enabled under BIOS? would kinda be a show stopper if it wasn't.

is your parallel port module loaded?

Have a look over in the Slack forum here and leaf through Shilo until you come to printing...apparently important to kill lpr if you wanna use cups.
 
Old 06-26-2005, 07:18 PM   #6
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
well, otchie, i am willing to bet that my parallel module is not loaded. to tell you the truth, I have no idea which module the parallel port uses (although i am inclined to believe that it would be "modprobe lp").
 
Old 06-27-2005, 10:59 AM   #7
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 9.1
Posts: 527

Rep: Reputation: 30
Edit your /etc/rc.d/rc.modules like this

#### PC parallel port support ###
if cat /proc/ksyms | grep "\[parport_pc\]" 1> /dev/null 2> /dev/null ; then
echo "parport0 is built-in, not loading module" > /dev/null
else
if [ -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o \
-o -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o.gz \
-o -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.ko ]; then
# Generic setup example:
/sbin/modprobe parport_pc
# Hardware specific setup example (required for PLIP and better
# performance in general):
#/sbin/modprobe parport_pc io=0x378 irq=7
fi
fi

#### Parallel printer support ###
if cat /proc/ksyms | grep "\[lp\]" 1> /dev/null 2> /dev/null ; then
echo "lp support built-in, not loading module" > /dev/null
else
if [ -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o \
-o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o.gz \
-o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.ko ]; then
/sbin/modprobe lp
fi
fi

in order you get your modules loaded at boot.

You have just to uncomment some part
Hope this helps
Ciao
 
Old 06-27-2005, 04:38 PM   #8
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
the problem is that I already have those modules loaded. and yet, when I type /dev/lp0 into the device url for the printers, nothing works!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing in Slack 10.2 over parallel port rodm13 Linux - Hardware 5 11-16-2005 03:46 PM
help! printing - parallel port busy Steve Riley Ubuntu 1 08-17-2005 01:15 PM
CUPS printing, parallel port not found in lpinfo beajedi Linux - Hardware 26 10-23-2004 04:44 PM
Parallel port not found by KDE printing manager mediocre_person Slackware 4 05-26-2004 05:41 PM
Parallel port printing in RH 8 Nerd2 Linux - Hardware 2 10-19-2003 07:35 PM


All times are GMT -5. The time now is 04:55 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration