From owner-freebsd-questions@FreeBSD.ORG Sun Feb 2 06:05:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2CFDDEC for ; Sun, 2 Feb 2014 06:05:46 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6EE19100A for ; Sun, 2 Feb 2014 06:05:45 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id w7so4571089lbi.13 for ; Sat, 01 Feb 2014 22:05:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=VEgiwFkW4HxdmweYI7E5uu3pvmn5xuFbKL9xfRHmjzQ=; b=j0kWfFznXhLFsNYCuPxtKqwVDGPul+D2Ynu/m7P49EBHzfOW793HYRIuRC+TVlEp12 BxIaJUt6Sl1fINvgMA+v8k1lSnrfD/WhE5I8uLx7Tzuc1WCBNVABw8Q37tJ4v4o0hlhp RkoPqGRCSRfoy8bkWh9mvPVOhBVxIHrlFLOmJ25otysK5HCUVSByqr4ur0iRKKET7rtv qpHnXFcBVc7AF4r4zUGd1CNKfIzcT6WrPWkDvSqjC4aV42b/Od9pdlmRtOBB2tToNkLI iYJ0e+YeWCRNGcJspBoF6fdRrqrjTYxGA47OaiGAjSO3RN9/vTvXODztHhbDri5Zl+Vt 6aGA== X-Gm-Message-State: ALoCoQmVbn76pX7AMH9j7glOIYFw/yMcSJZF5Cv2TjIQn/RfN7gZxgLeWwB6swlZtpf/K3qwjfnv MIME-Version: 1.0 X-Received: by 10.112.92.112 with SMTP id cl16mr8263949lbb.15.1391320716532; Sat, 01 Feb 2014 21:58:36 -0800 (PST) Received: by 10.112.218.39 with HTTP; Sat, 1 Feb 2014 21:58:36 -0800 (PST) X-Originating-IP: [121.98.161.40] Date: Sun, 2 Feb 2014 18:58:36 +1300 Message-ID: Subject: Setting up CUPS with USB printer From: Jonathan Chen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 06:05:46 -0000 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 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 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