LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 06-29-2004, 03:38 PM   #1
KaptinKABOOM
Member
 
Registered: Jun 2004
Location: Morgantown, WV
Distribution: Slackware 10.0
Posts: 39

Rep: Reputation: 15
Missing Parallel Port and CUPS


I am having a crazy time getting Slackware (10.0) to recognise my parallel port, every time I try to list devices it is never there..... I dont understand why.

I am currently trying to install a HP LaserJet 2100 printer to the parallel port and CUPS cannot find it either... since its on a parallel port.

I need to devise a way to test the parallel port.... see if I can get it to respond,

"cat /proc devices" lists nothing that resembles a parallel port (lp_ ??).

anyone have any suggestions
 
Old 06-29-2004, 04:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Which modules are loaded atm?

Is parport there? If the board has a PNP-BIOS you
may need to have that enabled as well for the driver
to pick up the correct IRQ/port/DMA ...



Cheers,
Tink
 
Old 06-29-2004, 05:19 PM   #3
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
maybe parallel port support wasnt compiled into the kernel. if not, ur gonna need to recompile the kernel with pp support in
 
Old 06-29-2004, 06:06 PM   #4
KaptinKABOOM
Member
 
Registered: Jun 2004
Location: Morgantown, WV
Distribution: Slackware 10.0
Posts: 39

Original Poster
Rep: Reputation: 15
yeah I actually did recompile the Kernel But oddly enough what the ultimate fix was uncommenting parallel printer support in the rc.modules file (DOH! ).... Kinda odd tho I recompiled the kernel and it still didn't function with it commented..... Slthough I might have only configured parallel port support and forgotten Parallel Port Printer support (becuase oddly enough those are two seperate things up in the kernel), thanks for your suggestions tho
 
Old 06-29-2004, 07:36 PM   #5
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ive been trying for days (all my free time)
to get slackware to print to a parrallel printer.

and ive not found a single person who's managed it.
[edit] just found a post by some1 who claims to have managed it after a few months of trying, waiting to see if he will respond to me[/edit]

anyways... to get you started,
modprobe parport
modprobe parport_pc
modprobe lp

after that, CUPS detects, and allows you to add your frinter just fine.
and every time you tell it to print, it informs you that the message has been sent to the printer sucessfully.

but the printer dont even twich.

seems you need to use a more advanced distro like fedora for printing in linux.

Last edited by qwijibow; 06-29-2004 at 07:52 PM.
 
Old 06-29-2004, 08:46 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Well, i got my Epson Stylus Color 660 (parallel port) working under cups and printing fine. Also I share it to my other computer using Samba without problems.
The only thing i needed to do was to uncomment the corresponding lines in /etc/rc.d/rc.modules and (this is option but i wanted it) install a package that add more options to my printer under cups which is called gimp-print.
To know that your printer works, just do: lpr <someimage> and it should print it without any problems. Then you can configure more stuff, but if that command doesn't work, you must be doing something wrong. Oh, also i didn't installed lprng (or something like that) the freebsd styled printing system, just cups.
 
Old 07-01-2004, 01:15 PM   #7
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
qwijibow, even if u modprobe the the modules, u still need to uncomment it in rc.modules as many have said, and u also need to make sure that its in the kernel and its supported. and btw, i think slackware is one of the more advanced distros out there, and imho, more that fedora.
 
Old 07-01-2004, 02:25 PM   #8
ozar
Member
 
Registered: May 2004
Location: USA
Distribution: Arch Linux
Posts: 365

Rep: Reputation: 72
My Epson Stylus C82 printer on a parallel port (and using CUPS) prints beautifully in Slack 10 and did so on the first attempt. Sometimes, people have a tough time once the OS and print system sees the printer because they are trying to use the wrong driver(s) for their particular printer.
 
Old 07-01-2004, 08:00 PM   #9
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
qwijibow, even if u modprobe the the modules, u still need to uncomment it in rc.modules as many have said, and u also need to make sure that its in the kernel and its supported. and btw, i think slackware is one of the more advanced distros out there, and imho, more that fedora.
aslong as they get loaded, its not important where you load them.

the solution was, slackware does not come with a vital program needed to the 700 series of HP printers,
i compiled it, and now allis well with the world.
 
Old 07-01-2004, 08:46 PM   #10
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Quote:
Originally posted by qwijibow
aslong as they get loaded, its not important where you load them.

the solution was, slackware does not come with a vital program needed to the 700 series of HP printers,
i compiled it, and now allis well with the world.
What did you need? I got an office jet running with the hpijs drivers and CUPS included in 9.1, I assume they are in 10 as well.
 
Old 07-01-2004, 09:09 PM   #11
earlbrik
LQ Newbie
 
Registered: Jun 2004
Location: PA
Distribution: Slackware Knoppix
Posts: 2

Rep: Reputation: 0
For what its worth.
I could print fine in Slack9.1 (parallel port HPlaserjet6P)
Installed Slack10 and set up printer in KDE and when I tried to print ... nothing happened.
To make a long story short:
/etc/cups/printers.conf had
DeviceURI parallel:/dev/unknown-parallel0
under my printer.
Changed to
DeviceURI parallel:/dev/lp0
Printer now works.
Hope it helps someone.
Earl
 
Old 07-02-2004, 04:03 AM   #12
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Well, thanks to this thread I stopped being lazy and got my damn printer to work! Thank you to everyone here, my HP LaserJet 5P now prints under linux (or at least the test pages seem to be fine) when connected to my parallel port!
Quote:
Originally posted by qwijibow
modprobe parport
modprobe parport_pc
modprobe lp
I had to do this first to get a parallel port, alternatively you can uncomment the relevant lines in /etc/rc.d/rc.modules - it's fairly obvious what to do ;)

Next I had to install some packages which I didn't install when I first installed Slackware 10. You can get these packages from a mirror - I used ftp://ftp.heanet.ie

I had to install

ap/espgs-7.07.1-i486-2.tgz
ap/hpijs-1.6-i486-1.tgz
ap/gimp-print-4.2.6-i486-1.tgz
ap/gnu-gs-fonts-6.0-noarch-1.tgz

(I'm not sure why I installed gimp print to be honest, but I don't think it's gonna harm your system!)

Next, I just went to localhost:631 and added my printer. I noticed certain additions to each menu - this was good! Simply selected the new HP option and selected the right printer!

Thanks again, good luck with your own printer!

Steve
 
Old 07-02-2004, 09:20 AM   #13
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
What did you need? I got an office jet running with the hpijs drivers and CUPS included in 9.1, I assume they are in 10 as well.
the 700 series of HP deskjet (HP 710c, 712c 720c 722c) are WinPrinters,
you need to download a PDD file from linuxprinting.org which is basically a configureation file for CUPS. and you need a program called pnm2paa which sits between CUPS and /dev/lp0 and converts regular print code to Winprinter code.

this program odes not come with slack10. but its easy enough to compile.
 
Old 07-02-2004, 10:47 AM   #14
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
Quote:
Originally posted by qwijibow
the 700 series of HP deskjet (HP 710c, 712c 720c 722c) are WinPrinters
Cool beans then. I have one of the old Officejet 700's must be a difference between the officejet and deskjet lines.
 
Old 07-02-2004, 11:52 AM   #15
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
must be a difference between the officejet and deskjet lines.
yeah, the deskjet are cheap ass lamo winprinter versions of office jets
 
  


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
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
CUPS doesn't see my parallel port mixtr Slackware 3 07-27-2004 08:51 PM
CUPS Parallel Port Busy Problem kbcnetau Linux - Hardware 0 06-16-2004 05:55 PM


All times are GMT -5. The time now is 01:15 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration