LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-25-2005, 11:29 PM   #1
rodm13
LQ Newbie
 
Registered: Mar 2005
Location: The Lone Star State
Distribution: Slackware 10.2
Posts: 10

Rep: Reputation: 0
Printing in Slack 10.2 over parallel port


SOLVED!

I have been trying for about 2 weeks to get this to work; at first it didn't seem as difficult as it does now. What I have is an old, HP LaserJet Series II that connects via parallel to the motherboard and a CUPS server that assures me that it prints every job it sends it. The only problem is that the printer never seems to get any notification from the PC! I am currently using the GIMP-Print driver that came standard with CUPS for the LaserJet Series II, and I have no idea what I'm doing wrong.

Printer - HP LaserJet series II
Driver - "HP LaserJet II series - CUPS+Gimp-Print v4.2.7"
Kernel - 2.6.13.4 (Self compiled)
CUPS version - cups-1.1.23
GIMP-print version - gimp-print-4.2.7

If you need any other info, just ask. I'm not new to linux, so don't worry about simplicity, just please help me get this working!

Thanks, RodSOLVED

Last edited by rodm13; 11-01-2005 at 01:23 AM.
 
Old 10-31-2005, 01:36 PM   #2
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
error_log

What does your error_log say?
 
Old 10-31-2005, 03:19 PM   #3
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I would start off by bypassing CUPS and trying to print direct to the parallel port. Simplest thing is to just run command 'echo hello > /dev/lp0' and see what happens. If this is a Postscript printer you can just send a Postscript file 'cat somefile.ps > /dev/lp0'.

Two common problems are 1. driver modules not loaded (check for lp, parport and parport_pc in output of 'lsmod') or 2. parallel port BIOS settings somehow incompatible with printer.
 
Old 11-01-2005, 01:22 AM   #4
rodm13
LQ Newbie
 
Registered: Mar 2005
Location: The Lone Star State
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
After much work and painstaking configuration, I finally found out the error. The Gimp Print Driver was, for some reason, configured to send raster to the printer at 600 DPI, when the printer in question didn't have sufficient memory for the print job (default memory in this baby is 384K). Also, for some reason, the printer doesn't report "memory full" errors, not sure about that one, but it prints just fine at 150 DPI. Now the only thing I have to worry about is that I think the roller is bad, so -$70 or so for a new toner cartridge... and we should be back in business.

Thanks for the help, the direct printing trick saved me so much time in testing various setups.

All of your help was much appreciated, now time to mark this post solved...
 
Old 11-16-2005, 03:45 AM   #5
regular
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
How does Postscript printer understand that it's a ps file, if you just write cat somefile.ps > /dev/lp0?
Doesn't it need some kind of notification before like "hey, the coming file is a ps file"?

Last edited by regular; 11-16-2005 at 03:48 AM.
 
Old 11-16-2005, 03:46 PM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Postscript files are just text, and start with a line like

%!PS-Adobe-2.0

So the printer knows that postscript on the way.
 
  


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
help! printing - parallel port busy Steve Riley Ubuntu 1 08-17-2005 01:15 PM
straight-foward answer: printing through parallel port mrchaos Linux - Hardware 7 06-27-2005 04:38 PM
CUPS printing, parallel port not found in lpinfo beajedi Linux - Hardware 26 10-23-2004 04:44 PM
Parallel port not found by KDE printing manager mediocre_person Slackware 4 05-26-2004 05:41 PM
Parallel port printing in RH 8 Nerd2 Linux - Hardware 2 10-19-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:27 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
Open Source Consulting | Domain Registration