[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with installing HP LaserJet M1005 usb printer on debian clients on a network



On Mon 29 Jul 2013 at 20:59:39 +0530, Arvind wrote:

> I am saddled with a job of installing a HP laserjet M1005
> multifunction printer on a network of machines running debian wheezy.
> This is a usb printer, NOT a network printer. Unfortunately, it also
> requires a proprietary plugin from HP. I could get it running on the
> machine to which it is connected via USB. My problem: I am not able to
> get it to print from other machines on the network.

A concisely explained problem.

> Details:
> I will begin with describing how I got it working on the print server
> (i.e. the machine to which the printer is connected on a usb port). I
> installed hplip using aptitude and then used 'hp-setup -i'. It asked
> about the mode of connection, on selecting 'usb', it found the
> attached printer right away, downloaded the proprietary plugin from
> the internet, asked if I accepted the license, installed the plugin on
> selecting 'yes', and then generated a ppd file in a few more steps.
> Done! The printer works as it is supposed to.

Neatly done. Now from 'Administration' in the web interface tick

   Share printers connected to this system

Check that you have 'Shared Yes' in /etc/cups/printers.conf.

With these settings the server will be advertising the print queue for
the LaserJet M1005 for other machines to use.

> On any client machine on the network, the above procedure doesn't
> work. If I select 'network' as the mode of connection, hp-setup cannot
> find the printer. I am not able to find any way of telling hp-setup to
> look for a printer connected through usb to another machine on the
> network. Using "hp-setp -i ip_address_of_print_server" doesn't work
> either.

You client machine has CUPS installed? This technique is incorrect.

Check that there is a tick for

   Show printers shared by other systems

Look under the 'Printers' tab of the web interface or execute

   lpstat -a

to see what queues the client is aware of.

> So I took the cups printer set-up route. I gave the ip address and
> path of the printer, copied the ppd file from the print server, and
> set up the printer. When I tried printing a test page, it failed with
> the error "/usr/lib/cups/filter/hpcups failed". So I used 'hp-plugin
> -i' and it downloaded all possible proprietary plugins from the
> internet and installed them. I restarted cups, even rebooted the
> machine, but the error remains the same as given above.

You only need the hp software installed on the server.


Reply to: