Does HP DeskJet 1112 work with lpd on FreeBSD 10.2 amd64 ?

Manish Jain bourne.identity at
Sat Apr 23 14:13:06 UTC 2016


Manish Jain

On 04/23/16 18:03, Tijl Coosemans wrote:
> On Sat, 23 Apr 2016 17:47:33 +0530 Manish Jain <bourne.identity at> wrote:
>> On 04/20/16 14:52, Tijl Coosemans wrote:
>>> On Tue, 19 Apr 2016 18:42:01 +0530 Manish Jain <bourne.identity at> wrote:
>>>>> CUPS works nice for many years on my FreeBSD systems, actually CURRENT.
>>>>> Why you can't get it to do anything on your system? matthias
>>>> Thanks for responding. So my question becomes "Has anyne got HP DeskJet
>>>> 1112 to work with CUPS on a FreeBSD 10.2 amd64 box ?"
>>> You need to install print/hplip.  Then you can either use the graphical
>>> setup tool HP Device Manager, or the CUPS web interface at
>>> http://localhost:631/.  If you use the CUPS interface you need to select
>>> the printer model at some point.  Your printer will be listed as
>>> "HP Deskjet 1110 Series, hpcups 3.16.2".
>> This is what I get when I try to open up the cups web interface in my
>> browser even after installing apache24 :
>>> Chromium's connection attempt to*localhost*was rejected
>> What could I be missing here ? hplip package was installed, along with
>> all its dependencies.
>> This is what I get in dmesg :
>> ulpt0: <HP DeskJet 1110 series, class 0/0, rev 2.00/1.00, addr 6> on usbus2
>> ulpt0: using bi-directional mode
>> So the printer is being detected, just as you stated. A little bit more
>> help, and I could fire up my printout page. Perhaps something to do with
>> httpd.conf ? Or perhaps /usr/local/etc/cups/cupsd.conf ?
> Is the CUPS daemon actually running?  Add cupsd_enable="YES" to /etc/rc.conf
> and run 'service cupsd start'.  Also, CUPS uses its own http server so you
> don't need Apache.

Hi Tijl,

Thanks for replying.

My /etc/rc.conf does have :


So I presume cupsd is getting started at boot time.

This is what I have in /usr/local/etc/cups/cupsd.conf :

LogLevel info

# Administrator user group...
SystemGroup wheel

# Listen for connections on Port 631.
Port 631
#Listen localhost:631
Listen /var/run/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
#BrowseAllow @LOCAL
BrowseAllow 192.168.1.* # change to local LAN settings
BrowseAddress 192.168.1.* # change to local LAN settings

# Default authentication type, when authentication is required...
DefaultAuthType Basic
DefaultEncryption Never # comment this line to allow encryption

# Allow access to the server from any machine on the LAN
<Location />
   Order allow,deny
   #Allow localhost
   Allow 192.168.1.* # change to local LAN settings

# Allow access to the admin pages from any machine on the LAN
<Location /admin>
   #Encryption Required
   Order allow,deny
   #Allow localhost
   Allow 192.168.1.* # change to local LAN settings

# Allow access to configuration files from any machine on the LAN
<Location /admin/conf>
   AuthType Basic
   Require user @SYSTEM
   Order allow,deny
   #Allow localhost
   Allow 192.168.1.* # change to local LAN settings

# Set the default printer/job policies...
<Policy default>
   # Job-related operations must be done by the owner or an administrator...
   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs \
Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription \
Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job \
     Require user @OWNER @SYSTEM
     Order deny,allow

   # All administration operations require an administrator to authenticate...
   <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer \
Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs \
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer \
Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class \
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
     AuthType Basic
     Require user @SYSTEM
     Order deny,allow

   # Only the owner or an administrator can cancel or authenticate a job...
   <Limit Cancel-Job CUPS-Authenticate-Job>
     Require user @OWNER @SYSTEM
     Order deny,allow

   <Limit All>
     Order deny,allow

Manish Jain

More information about the freebsd-questions mailing list