Setting up CUPS with USB printer

Jonathan Chen jonc at chen.org.nz
Sun Feb 2 06:05:46 UTC 2014


Hi,

I've installed cups-base and have followed the instructions on the pkg-message.
Currently the permissions appear correct:

  ~,6:50pm# ls -l /dev/unlpt0
  crw-rw----  1 cups  cups  0x74  2 Feb 18:16 /dev/unlpt0

I have verified that the "cups" user can print to the file by:
  # su -m cups
  % date > /dev/unlpt0

The contents of /usr/local/etc/cups/printer.conf are:

  # Printer configuration file for CUPS v1.5.4
  # Written by cupsd on 2014-02-02 18:47
  # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
  <Printer BrotherHL-5340D>
  UUID urn:uuid:86ecde22-e8f2-383c-6a46-5442583f76de
  Info Brother Laser Printer
  Location Home
  MakeModel Brother HL-5340D BR-Script3
  DeviceURI usb:/dev/unlpt0
  State Idle
  StateTime 1391319777
  Type 8433748
  Accepting Yes
  Shared No
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  OpPolicy default
  ErrorPolicy stop-printer
  </Printer>

However, when I attempt to print a test-page, the Job stalls and the
printer reports:
  Processing - "Waiting for printer to become available."

The error logs are equally uninformative:
  I [02/Feb/2014:18:53:07 +1300] [Job 364] Waiting for printer to
become available.
  D [02/Feb/2014:18:53:12 +1300] [Job 364] libusb_get_device_list=1
  ...

What have I missed?

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-questions mailing list