LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2004, 06:58 PM   #1
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Rep: Reputation: 17
CUPS doesn't see my parallel port


I have some problem with CUPS in Slack 10.0
According to CUPS, I have USB ports, tens of serial ports, Samba but no PARALLEL port to which my old Canon BJC-240 is connected.
When I type 'echo "hello world" > /dev/lp0' it works fine but it no good for me when I want to print my curriculum (I reeaally need a new job!)
 
Old 07-27-2004, 07:20 PM   #2
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
In /etc/rc.d/rc.modules, there is a section that is commented out by default for the parport_pc module. It's entitled "### PC parallel port support ###"

Uncomment this, and reboot.

Even better, and if you're confident that your parallel port's io address is 0x378, and irq is 7, just uncomment the line:

/sbin/modprobe parport_pc io=0x387 irq=7

which almost all computers use. Try it in a terminal first and make sure it doesn't hang your computer! Specifying the irq gives much better performance (it enables interrupts) but it will hang if you use the wrong number. Your BIOS can probably tell you the right number.

I also uncommented the section for the lp module, entitled "### Parallel printer support ###", which immediately follows the parport_pc section.
 
Old 07-27-2004, 07:51 PM   #3
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 17
Tanx, I guess I ought to look more closely to those rc files .. one day.

Now I can get a new job
 
Old 07-27-2004, 08:51 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
mikieboy, you're right about uncommenting the file, but he doesn't need to reboot, just type the lines he uncomments on the terminal as root and he'll get the same effects. Of course, uncommenting the line will do the stuff on each reboot.
 
  


Reply



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
unable to load parallel port drivers for cups bipins1979 Linux - Hardware 3 09-03-2005 03:19 PM
CUPS printing, parallel port not found in lpinfo beajedi Linux - Hardware 26 10-23-2004 04:44 PM
cups with no parallel port???? hraposo Slackware 3 09-27-2004 07:46 AM
Missing Parallel Port and CUPS KaptinKABOOM Slackware 14 07-02-2004 11:52 AM
CUPS Parallel Port Busy Problem kbcnetau Linux - Hardware 0 06-16-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:22 AM.

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