LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 11-06-2004, 08:38 PM   #1
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
HP LaserJet 4 Plus on FreeBSD 5.3


i'm having trouble getting a HP LaserJet 4 Plus printer to work on FreeBSD 5.3. I followed the directions word-for-word here: http://www.freebsdforums.org/forums/...=&pagenumber=1

after doing "Add printer" on the CUPS web interface i try to print a test page and nothing happens. this is what it says:
Code:
Description: HP LaserJet 4 Plus
Location: Local Printer
Printer State: processing, accepting jobs.
"Waiting for job to complete..."
Device URI: /printers/HPLaserJet4Plus
and under jobs it says:
Code:
HPLaserJet4Plus-16 Test Page root 1k processing since
Sat Nov 6 18:11:56 2004 Hold Job Cancel Job

HPLaserJet4Plus-17 Test Page root 1k pending since
Sat Nov 6 18:11:56 2004 Hold Job Cancel Job
here is the setup:
Code:
Name: HPLaserJet4Plus
Location: Local Printer
Description: HP LaserJet 4 Plus
Device: Internet Printing Protocol (ipp)
Device URI: ipp://localhost:631/printers/HPLaserJet4Plus
Make: HP
Model: HP LaserJet 4 Plus Foomatic/hpijs (recommended) (en)
i used that specific device uri because the exact same uri worked under mandrake 10.0 with the same computer setup. the printer is a local printer connected via a regular printer port (non-usb).
 
Old 11-09-2004, 06:14 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
From the how to you posted here is a quote.

Quote:
Next, you will be asked which "Device" - this will usually be either "/dev/lpt0" or "/dev/upt0" which are either the LPT port or USB port. Simply select whichever applies.
Have you tried using the local devices rather than ipp? I'm not trying to say that it won't, or shouldn't work, but if it's a local printer, I'd try that first.
good luck.
 
Old 11-09-2004, 07:21 PM   #3
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 30
oops, i forgot to update: i got the problem fixed. but thank you Peacedog, that was part of the problem.

i didn't have all the CUPS packages installed (i had installed CUPS from the original install CD), so i had to do
Code:
pkg_add -r cups
which gave me lpadmin and other packages not originally installed. i then used lpadmin to setup the printer by doing
Code:
lpadmin -p LaserJet -E -v parallel:/dev/lpt0 -m laserjet.ppd
and then everything worked.
 
Old 11-09-2004, 07:27 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
I had a bugger of a time getting my freebsd box to print to my shared printer to print via samba using the exact same guide you referenced. Glad you got it sorted.
 
Old 11-11-2004, 04:43 AM   #5
kxebs
LQ Newbie
 
Registered: Nov 2004
Distribution: FreeBSD, NetBSD, OpenBSD (all latest version, freebsd from 4.6)
Posts: 5

Rep: Reputation: 0
I've alse cups on my freebsd 5.3 and my printer don't want to print any page.

I've installed cups via the ports .. accatualy as the documentation...

I also have runned the lpadmin command.

In my completed jobs list it says :

laserjet-1 Test Page root 15k aborted Restart Job
laserjet-2 Test Page root 23k aborted Restart Job

In my logfile it says:
Stopped with status 3!

anyone an idea ?
 
Old 11-11-2004, 12:17 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
Have you had a look at this how to.

http://www.freebsdforums.org/forums/...=&pagenumber=1

good luck.
 
Old 11-12-2004, 03:26 AM   #7
kxebs
LQ Newbie
 
Registered: Nov 2004
Distribution: FreeBSD, NetBSD, OpenBSD (all latest version, freebsd from 4.6)
Posts: 5

Rep: Reputation: 0
that's the one I tried
 
Old 11-12-2004, 06:46 AM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
Let's get some info, what printer is this, what kind of connection, and what drivers are you using, and did you follow the how to step for step, or did you possibly skip something?
good luck.
 
Old 11-17-2004, 10:21 AM   #9
kxebs
LQ Newbie
 
Registered: Nov 2004
Distribution: FreeBSD, NetBSD, OpenBSD (all latest version, freebsd from 4.6)
Posts: 5

Rep: Reputation: 0
Post

I have the HP Laserjet 4 Plus printer, installed on my lpt port ( I have only one ), "BW laser printer, max. 600x600 dpi, works Perfectly"
I downloaded the driver from linuxprinting.org ( HP-LaserJet_4_Plus-hpijs.ppd )
I followed every single step from the manual

AH some new things .. after some stupid rm's I did a small reinstall .. well .. I tried it again ... BUT!

Jobs

ID Name User Size State Control
LaserJet-2 Test Page root 15k processing since Wed Nov 17 18:05:30 2004

I runned the lpadmin command and I tried the documentation's way.. both don't end up in a working printer ..

Another thing ..

Description: LaserJet
Location:
Printer State: processing, accepting jobs.
"Printing page 1, 23% complete..."
Device URI: parallel:/dev/lpt0

this is the output I get when I click on a job...
It stays on 23% a while, then he say's : "Parallel port busy; will retry in 30 seconds..."

Last edited by kxebs; 11-17-2004 at 11:16 AM.
 
Old 11-17-2004, 11:46 AM   #10
kxebs
LQ Newbie
 
Registered: Nov 2004
Distribution: FreeBSD, NetBSD, OpenBSD (all latest version, freebsd from 4.6)
Posts: 5

Rep: Reputation: 0
hm .. just waiting long enough was the thing!

now it rolls out my test pages whitout any problem

Firebird only crashes when I push the Print butten .. but that's another problem :P
 
Old 11-17-2004, 03:16 PM   #11
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Not sure where you are on the printing issue, but for cups make sure you have the cups-lpr port installed. Then, mv /usr/bin/lp* to /usr/bin/lp*.save. The cups lp stuff is in /usr/local/bin and will be used in place of /usr/bin/lp*. This works in mozilla, for local and remote printing.
 
  


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
Hp Laserjet 2600n jstephens84 AIX 5 02-08-2007 04:56 PM
hp laserjet 6L problem piva.francesco Linux - Hardware 13 09-14-2005 08:57 AM
HP Laserjet not printing Jan_W Linux - Hardware 15 06-03-2005 06:56 PM
HP Laserjet 3100 ertmann|CPH Linux - Hardware 1 10-27-2003 07:48 AM
HP LaserJet 5M Setup chrisk5527 Linux - General 0 10-08-2003 12:24 PM


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