LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-24-2004, 09:58 AM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Rep: Reputation: 45
Can't Print


I am configuring a new debian/sarge install. I upgraded to kernel 2.6.7.

I'm trying to setup printing and having some trouble. I'm using a lp0 port, connected to a HPLJ series II.

I'm trying to configure this with cups. Here's what I have:

---------------------
http://localhost:631/printers/
Printer
Default Destination: HPLJ-2
HPLJ-2 HP LaserJet Series CUPS v1.1
Description: Aspen
Location: Basement
Printer State: idle, accepting jobs.
"Ready to print."
Device URI: parallel:/dev/lp0
----------------------

When I print a test page, it prints, but it's garbage. I set this to the default, but my apps don't see it. When I do a: File->Print, there is no HPLJ-2 to select. The apps only see lpr.

Also, neither lpr or lp will work from the command line:

----------------------
# lpr print-test
-bash: lpr: command not found

# lp print-test
-bash: lp: command not found
-----------------------

Any ideas? Thanks in advance.
 
Old 07-25-2004, 05:06 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You could try following these two steps:

1) Make sure you've installed CUPS properly. Run (as root user) the following command:

aptitude --with-recommends install foomatic-bin

2) Point your web browser to http://localhost:631/printers/ and remove your printer configuration. Then add a new printer and provide CUPS with the correct information.

If your printer starts working after step 1, there is no need to go through step 2.
 
Old 07-25-2004, 11:49 AM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
Didn't seem to work.

When I go to add a printer, I come to a point where it asks for model/driver. I usually chose HP. I have also tried Raw.

When I chose HP: I'm asked for HP model/driver. There are two laserjet choices:

HPLJ Cups v 1.1
HPLJ PCL Cups v 1.1

The first choice gets me garbarge when I try a test page.
The second choice prints several blank pages and a page with a single broken line of text:

@PJL ENTER LANUAGE = PCLXL
) HP-PCL XL;1;1;Comment Corpyright Aladdin Enterprises.



When I chose "RAW" I get garbage and several blank pages.
 
Old 07-25-2004, 12:33 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Linuxprinting.org recommens using "laserjet" driver. They say it works "perfectly".

http://www.linuxprinting.org/show_pr...=HP-LaserJet_2
 
Old 07-25-2004, 05:57 PM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 668

Original Poster
Rep: Reputation: 45
Thanx. It seemed to work. At least it printed out a test page, and a text page.
 
  


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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 11:10 AM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 06:37 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 06:27 AM

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

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