Printing support: HPLIP

Table of Contents

Install CUPS
Install HPLIP
Remote access

Remote access

by ross at 17:23:37 on March 20, 2014

Configure server

Open http://localhost:631/ on server (use www/links if you have no X installed). Navigate to Administration, check everything:

  • Share printers connected to this system
  • Allow printing from the Internet
  • Allow remote administration (you will be able to connect not only from localhost).
  • Allow users to cancel any job (not just their own)

Anyway, your LAN is protected by firewall, right?

To enable printing under Gimp and MS-Windows clients make sure the following lines are uncommented (/usr/local/etc/cups):

  • application/octet-stream line in mime.types
  • application/octet-stream line in mime.convs

Restart cupsd if they weren't.

Configure client (FreeBSD)

Install cups and hplip without X on client, it's very fast without Qt libs.

Open http://servername:631/printers on client. Click on your printer. In my case it was http://slim.lan:631/printers/Deskjet_D4100.

Open http://localhost:631/ on client. Navigate to Administration, press Add Printer. Select http, in the Connection copy & paste the url to printer (http://slim.local:631/printers/Deskjet_D4100).

Set name of the printer. You probably want to use the same name: Deskjet_D4100.

On the next page use "Or Provide a PPD File" and select the same hplip PPD: /usr/local/share/ppd/HP/hp-deskjet_d4100_series-hpijs.ppd.gz

Configure client (Windows 7)

Open http://servername:631/printers on client. Click on your printer. In my case it was http://slim.lan:631/printers/Deskjet_D4100.

Open Control Panel -> Devices and Printers. Click Add a printer, select the Network option. Click stop, then select "The printer that I want isn't listed". Copy & paste the printer url (http://slim.lan:631/printers/Deskjet_D4100). Choose an appropriate driver.

 

Comments