Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-19-2004, 04:57 PM   #1
Registered: Jun 2004
Posts: 103

Rep: Reputation: 15
Question OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK.


Problem Simple:
HP OfficeJet G85 print drivers are installed and CUPS web based admin allows me to add a printer, the button "print test page" in the CUPS web based admin is able to print a page. lpr/lp can not connect to printer, thus can not print.

Problem In detail:
I run Slackware 10.0 with the default kernel (2.4.26). I am trying to get my HP OfficeJet G85 print to work with it. Searching around on the Internet led me to a few things, one the HP linux drivers (hpinkjet (, but after installing that I quickly found at that I need the OfficeJet Drivers and I had the InkJet Drivers. So I went to: (hpoj (HP OfficeJet Driver)) and compiled and installed that...

After I installed that driver I ran:
ptal-init setup
Which found and set up up my printer at: /dev/usb/lp0

I than ran:
which gave me:
MFG:Hewlett-Packard;MDL:OfficeJet G85;CMD:MLC,PCL,PML,SCL;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet G Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:SGG27E15K2VL;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,SM,NR,KP078,CP087;AiO:0;DW-PCL;
Meaning that everything went OK but just for kicks I also ran:
which gave:
ptal-print: connecting to device "mlc:usb:OJG85"...  successful.
I than typed in 'test' and hit ctrl-c, my printer printed a page with the word 'test' on it. Meaning I have connected to my printer sent it raw data and it printed it out.

Moving on I restarted CUPS with: /etc/rc.d/rc.cups restart
and than went to localhost:631 with my web browser and configure CUPS with my printer. I added the printer with the options that the README file hpoj told me to do and named it OJG85. And than I click print test page. Which than printed out a test page correctly. I though I was set.

So I went into firefox and tried to print out a page, that didn't work, the printer never printed any thing. So I saved it to a PostScript file and than tried to print it out with the lpr command my self which gave me the error:
Status Information, attempt 1 of 3:
sending job 'nothinglikeroot@localhost+715' to OFG85@localhost
 connecting to 'localhost', attempt 1
 cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Waiting 10 seconds before retry
I have been researching the Internet and any place that I can and am not really able to pull anything up on HP OfficeJet G85 printers. I don't like to be fed answers, but I cant be dangling on this for too long. I hope that you may be able to point me in the correct direction or provied a solution.

[ This is some information that I though might help ]
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 04fc:0561 Sunplus Technology Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 03f0:0211 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000

[dmesg (some lines that relate to the printer)]
usb-uhci.c: $Revision: 1.275 $ time 17:55:05 Jun 13 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:02.0-3, assigned address 2
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 3 vid 0x03F0 pid 0x0211

Thank You! Andrew
Old 09-20-2004, 04:25 AM   #2
Senior Member
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Hi, read this thread;
Old 09-20-2004, 02:59 PM   #3
Registered: Jun 2004
Posts: 103

Original Poster
Rep: Reputation: 15
Thank you very much. The sim links were the problem. I did a search and didnt see that thread, sorry about posting it again....

First time I have used cups, so I did not know this.

Thanks again for the help!



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
cups daemon/lpr won't print rzavarella SUSE / openSUSE 12 04-05-2005 04:33 PM
just installed CUPS printer is OK.. but can't print Error: loop in printcap on lpr soylentgreen Linux - Newbie 4 09-23-2004 10:41 AM
Can't select Parellel printer with Cups Admin or KDE Print Manager EnigmaX Linux - Newbie 6 08-16-2004 08:29 PM
CUPS: prints test page, can't print otherwise anders_ant Slackware 1 08-11-2004 11:31 AM
printer keeps trying to print postscript. works fine using lpr Choey Linux - Hardware 1 09-20-2003 06:06 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration