LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-27-2010, 07:40 PM   #1
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
Network printer - use remote driver?


Hello, I set up a printer that can be accessed on a network. My printer is a HP DeskJet 882C (detected as 880C) connected to an Ubuntu 10.04 desktop. I am able to print on it from my laptop running Ubuntu 8.04. I would like to print using the driver on the desktop machine. Going to http://{remotemachine}:631 I see the driver is hpcups 3.9.12. When printing directly from this computer, this driver is definitely used.

When printing from the laptop, the Hardy driver is used. Is it possible just to use the remote driver instead? Thanks in advance.

(The hp ijs drivers that come with Hardy are useless for this printer. I need to be able to print oversized A4 pdf's which Hardy doesn't do well at all (the page is shrunk way too small, and is off-centered to the lower-left). Not to mention every 8-10 pages the printer spits out gibberish and I need to switch off the printer manually.)
 
Old 09-29-2010, 12:40 AM   #2
Laurens73
Member
 
Registered: Aug 2009
Location: Zeewolde, Flevoland NL
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144

Rep: Reputation: 23
If you got a ppd file of hpcups 3.9.12 you should be able to print from your laptop without the hardy drivers. In most cases the ppd files are placed in /usr/share/cups/model/

If you haven't got this ppd file, just take a look at the link below. There are also more recent versions of the drivers.
http://sourceforge.net/projects/hplip/files/

Download the driver you wish to install (for example the tar.gz file) and open it with your favourite archive manager. extract the ppd file judging on the model names shown in the ppd directory. In this directory there are also tar.gz files. When opening these the ppd file itself is there. Copying it to the /usr/share/cups/model directory will give you the next option:

Add a new printer at localhost:631 and in stead of selecting the model, click 'providing ppd file:' and browse the file in /usr/share/cups/model. Now the new driver will be applied. If it works, you may delete the other less functional printer of course.

Succes.
 
Old 09-29-2010, 08:19 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Delete the printer setup you currently have in Hardy.
Reinstall the printer that is connected to 10.04, but when you get to the "Driver choice/Printer type" bit, set the "Printer type" as "Raw". Then cups on 10.04 will handle the driver.

Note I am assuming that you have set up cups on 10.04 to share the printer to machines on your LAN, and that you are not making a direct connection Hardy--->Router---->Printer
The connection needs to go like this:
Hardy--> Router--> 10.04(cups server)--> Router--> Printer
or
Hardy--> Router--> 10.04(cups server)-->Printer Cable-->Printer

Hardy should be seeing the printer as something like this ipp://10.04Server:631/printers/HPDeskJet880C
 
Old 10-04-2010, 06:18 PM   #4
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Original Poster
Rep: Reputation: 89
Thank you for the replies.

Laurens73: I think it will take more than a ppd file to make this work. I am not aware of whether this printer is a PostScript printer; I am guessing that it is not. The hpcups drivers are of course intertwined closely with the CUPS backend. Ubuntu Hardy is using an ancient version of CUPS that is "impossible" to update or replace. So replacing the ppd file won't actually change the backend/driver because the old version of CUPS is still there.

tredegar: The laptop can detect the printer as ipp://10.04Server:631/printers/HPDeskJet880C but I'm not having luck setting this up as raw. There isn't any place to specify the driver until after the printer is set up. The device is detected as a "Remote Printer," and I can change the driver to Generic, Raw Queue, but the changes are not saved. When I click Apply, it is still detected as "Remote Printer." When I try changing the driver again, it is still detected as HP DeskJet 880C.
 
Old 10-05-2010, 05:24 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I am still running 8.04 (Hardy) on a laptop.
When setting up the printer, the Raw option is on the "Select Printer type" page.
I think you need to be root to make changes stick.

If this fails, maybe it's time for an update. Setting up my remote printer with 10.04 as the client was really easy.
 
1 members found this post helpful.
Old 10-10-2010, 04:47 AM   #6
Laurens73
Member
 
Registered: Aug 2009
Location: Zeewolde, Flevoland NL
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144

Rep: Reputation: 23
Quote:
Originally Posted by ordealbyfire83 View Post
Thank you for the replies.

Laurens73: I think it will take more than a ppd file to make this work. I am not aware of whether this printer is a PostScript printer; I am guessing that it is not. The hpcups drivers are of course intertwined closely with the CUPS backend. Ubuntu Hardy is using an ancient version of CUPS that is "impossible" to update or replace. So replacing the ppd file won't actually change the backend/driver because the old version of CUPS is still there.
Indeed it could be so that you need to install lpr and cups-wrapper to make the ppd files work in cups itself. It is certainly no postscript protocol when using a ppd file. Setting the printer as RAW as tredegar suggests would be a lot faster and easier to get the printer working. At least you got more than one option now.
 
  


Reply

Tags
driver, network, printer, ubuntu


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
Locate printer on remote network behind filter. mrmnemo Linux - Security 3 08-26-2010 11:13 PM
Eeepc 4G- Xandros how to install print driver for Network printer Brother MFC 420 CN hdenie Linux - Laptop and Netbook 7 02-09-2010 05:45 PM
I need Red Hat driver for Dell 689 (or 698?) WiFi Network Printer AmbyRedHat Linux - Software 5 04-16-2008 10:31 PM
cannot print to printer on remote xp box on network pchw Linux - Newbie 10 07-04-2005 04:41 PM
Printing to remote printer on network manderson Linux - Hardware 0 05-02-2002 04:16 PM

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

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