LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 08-15-2004, 11:40 AM   #1
Ikana
LQ Newbie
 
Registered: Aug 2004
Distribution: FreeBSD 4.10, Fedora Core 2
Posts: 11

Rep: Reputation: 0
Printing with CUPS using hp psc 2110 and hpijs driver


I am trying to configure my hp psc 2110 printer (usb) on my FreeBSD 4.10 computer so that it can later be shared over the network. For right now, though, I'm just trying to get it to work.

I was able to sucessfully install CUPS and hpijs. Cups is version 1.1.21rc1, which I downloaded from cups.org. I used the hpijs driver in /usr/ports, it is version 1.6.1. Entering hpijs -h at the terminal outputs the version and other information, so I think it is working properly.

At first I was not able to get CUPS to recognize the hpijs driver, but I found a helpful document that explained that I needed to place a ppd file containing my printer information in the appropriate directory. (Which is /usr/cups/share/cups/model on my installation) So I downloaded the file HP-PSC_2110-hpijs.ppd from linuxprinting.org. Upon a restart, the driver was recognized and I was able to successfully add the printer using that driver.

The problem is, when I ask it to print a test page, CUPS will say that the document is being processed for 10 or 15 seconds, and then it will say that the print job has been aborted.

So I tried adding a usb printer and chose raw for the make and queue. When I hit test page, it would print about 5 lines of what I am guessing is a post script header or program, and then about 10 blank pages. This confirms that the computer can communicate with the printer, and given that it is raw data, it is probably not supposed to be able ot process the post script correctly anyway, so perhaps this part is a success.

The objective is to find out why the job is aborted using the hpijs script, correct the error and print correctly. Any help would be greatly appreciated.

Other perhaps relevant information:

When trying make install on CUPS, I got an error near the end of the script on a cp -ax command, neither of those switches were valid. To correct the problem, I removed the -ax and it installed fine.

lpr returns lp: unknown printer

lpd returns: chkprintcap: print1 and print0 share the same spool, /var/spool/output/lpd
lpd: 1 errors in printcap file, exiting

The reason for this is that for now print0 is using HP PSC 2110 Foomatic/hpijs (recommended)
And print1 is the raw printer.

I will try removing the raw printer, restarting and then trying the lpd command again to see what happens, but that will not fix the problem with CUPS, and I am unsure of how to proceed from this point.
 
Old 08-15-2004, 02:29 PM   #2
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
http://www.freebsd.org/doc/en_US.ISO.../printing.html

http://www.ofb.biz/modules.php?name=...rticle&sid=321

I suggest you read them both especially the second one.
 
Old 08-15-2004, 03:14 PM   #3
Ikana
LQ Newbie
 
Registered: Aug 2004
Distribution: FreeBSD 4.10, Fedora Core 2
Posts: 11

Original Poster
Rep: Reputation: 0
I've already done a lot of reading. (Including the FreeBSD handbook, that is one of the first places I look) That is how I got as far as I have. At this point I need more specific help than a general document can provide. The hpijs driver is working, CUPS is working, the printer is working. I need some more specific help if I can get it, because I already know how to set up and install all of those.

By posting these links you imply that my problem is one easily solved by online research, but I don't think it is, because I've spent hours already doing online research. Still, I appreciate the response, and I will read the second article, as I have already gone over the first.
 
Old 08-26-2004, 06:44 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi Ikana, i recently successfully configured this printer via samba. this thread at the bsd forums was most helpful

http://www.freebsdforums.org/forums/...threadid=15325

from the problems i had, and your description of your problems, i believe you need to install the foomatic ports, as well as, getting the foomatic-rip, and, foomatic-gswrapper, files. the how to and where at is in the link above. one last note that may help you, i had to create the text files mentioned above, then copy and paste the content from the links provided into the files to get things working. you may or may not have that issue, thought i'd mention it just in case. hope this helps.
good luck.
 
  


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
[SOLVED] HP PSC 1315 - Printer detected under CUPs but not working (hplip/hpijs driver) vharishankar Linux - Hardware 19 09-01-2009 02:26 PM
Hewlett-Packard PSC 2110 Scanning minm Linux - Hardware 3 11-05-2008 02:17 AM
HP PSC 2110 margin difference shortblock Linux - Hardware 1 10-22-2005 05:04 PM
Printing with CUPS using hp psc 2110 and hpijs driver Ikana Linux - Software 0 08-15-2004 03:06 AM
printing dilemma with hpijs 1.6.1 driver towarzysz Linux - Hardware 0 08-03-2004 12:29 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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