Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 18:58:36 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-questions@freebsd.org
Subject:   Setting up CUPS with USB printer
Message-ID:  <CAJuc1zP6wfdr7_xoAeYgKOnG_ue4GM45fMpgpUKASwmGCHL6eA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zP6wfdr7_xoAeYgKOnG_ue4GM45fMpgpUKASwmGCHL6eA>