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
  Search this Thread
Old 09-02-2003, 11:44 PM   #1
FlatZ28
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
USB Printing ... HP LaserJet 1200


Hey guys,

I've got a frustrating problem right now. I've tried both CUPS and hpoj without any luck. Both recognize that I have an "HP LaserJet 1200" plugged into my first usb port, but when I'm done configuring I still can't print .. The computer thinks it's printed my job .. (CUPS says no active jobs) and my printer acts as if it's not even connected. Anyone out there got a bulletproof plan for setting up a USB printer in Slack 9? Any help is appreciated.

Thanks,

Sean
 
Old 09-03-2003, 03:20 AM   #2
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Have you tried un-commenting the correct USB module in /etc/rc.d/rc.modules?

It's possible that CUPS can detect the printer, but cannot print to it since the kernel does not have the proper module loaded...

Hope this helps!
 
Old 09-06-2003, 02:20 AM   #3
FlatZ28
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Did it .. but I'm still having the same problem .. Someone pleeaaaaaaaaaaase help .. I really need this .. don't make me switch to RedHat.
 
Old 09-06-2003, 03:07 AM   #4
FlatZ28
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Getting a response now:
echo -en "\rHello\r\f" >/dev/usb/lp0

It will print Hello ... but when I try to print using enscript or emacs .. I get no response .. What's going on? Any ideas?

Thanks
 
Old 09-06-2003, 08:39 PM   #5
Gedwimor
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
I am experiencing the same symptoms with Slack 9 and my HP LJ1200. But I am using LPRng and the parallel port. The printing system sees the printer, it accepts the job, and "prints" it without any error messges, but no paper comes out of the machine. Like you I can dump direct to the device - in my case /dev/lp0 and get printer output.

I wonder if this is a problem to do with the printer and not the port to which it is attached.

Has anybody got a LJ 1200 running with Slack 9?

This one has me stumped.
 
Old 09-08-2003, 05:47 AM   #6
Gedwimor
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
I uninstalled LPRng and installed the Slackware CUPS package. It worked like a charm. The basic CUPS package did not have a driver for the LJ1200, so I used the LJ 5 drivers instead - they worked without a hitch.
So, I have answered my previous question, it does not appear that there is a problem relating to the LJ1200 in general with Slackware 9.
 
Old 01-19-2004, 01:05 PM   #7
mjewell
Member
 
Registered: Jan 2004
Location: Missoula, MT
Distribution: most recently, slackware
Posts: 49

Rep: Reputation: 15
I'm a newbie's newbie trying to set up hp lj 1200 w/ Slackware 9.1. Wd you mind posting the step-by-step for how you swapped the packages. Did you do it from the command line?
 
Old 01-19-2004, 04:44 PM   #8
nesware
Member
 
Registered: Jan 2004
Location: belgium
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
there's a couple a commands you need to know when using slackware.. they are like rpm in redhat

installpkg
removepkg
upgradepkg

see the manual pages for more info...
check de /var/log/packages dir for all the packages you have installed on ur system... cups could already be one of them
 
Old 01-19-2004, 07:02 PM   #9
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
You might also have to install foomatic, which does not come with Slack. I had to to get my "winprinter" to work.

As for a USB device, you might want to take a look at the Linux USB Project. They might have some useful info that we might be missing.
 
Old 01-19-2004, 07:32 PM   #10
mjewell
Member
 
Registered: Jan 2004
Location: Missoula, MT
Distribution: most recently, slackware
Posts: 49

Rep: Reputation: 15
You guys are great. Thanks. I'm going to try that stuff now.
 
Old 01-19-2004, 08:36 PM   #11
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I read somewhere in cups documentation that you need to start your machine with the USB printer plug in and switch on. I wonder is this still the case? Enlighten me please.
 
Old 01-19-2004, 08:51 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Quote:
originally posetd by carboncopy
I read somewhere in cups documentation that you need to start your machine with the USB printer plug in and switch on. I wonder is this still the case?
I tend to believe that a description like that one
comes from people with Mandrake/Windows-
users in mind ... ;)

Well, I don't know how CUPS works internally,
but the worst-case-scenario should be that the
USB connect is established before the cupsd is
run ... that, on the other hand, would be a trivial
thing if you used usbmgr ... just a little script that
is related to the printer ... when it's plugged in
(turned on) you check whether cupsd is running,
if so you SIGHUP it, if not, you start it ... all good
to go :} ... no booting involved.


Cheers,
Tink
 
  


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
Problem in configuring HP Laserjet 1200 wuqso Linux - Hardware 4 06-08-2005 12:45 AM
HP Laserjet not printing Jan_W Linux - Hardware 15 06-03-2005 06:56 PM
Printing headache -- HP Laserjet 4L Aura_Bleu Linux - Hardware 6 03-20-2005 12:21 AM
Printing Problem HP 1200 kbrooks Linux - General 0 02-08-2005 09:28 AM
problem w/ hp Laserjet 1200 series printer under Slackware 9.1 mjewell Slackware 1 01-19-2004 02:52 PM

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

All times are GMT -5. The time now is 12:09 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