From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 23:16:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C7B10656C9 for ; Tue, 24 Feb 2009 23:16:24 +0000 (UTC) (envelope-from freebsd@shineracoustics.com) Received: from outbound-mail-23.bluehost.com (outbound-mail-23.bluehost.com [69.89.21.18]) by mx1.freebsd.org (Postfix) with SMTP id 4C3328FC1F for ; Tue, 24 Feb 2009 23:16:24 +0000 (UTC) (envelope-from freebsd@shineracoustics.com) Received: (qmail 18755 invoked by uid 0); 24 Feb 2009 22:49:11 -0000 Received: from unknown (HELO host68.hostmonster.com) (74.220.207.68) by outboundproxy2.bluehost.com with SMTP; 24 Feb 2009 22:49:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=shineracoustics.com; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=P8Kahj4UTi4I7Lb7fyhOAvYbVZXgr9rwIY765f6kgYU/58NNFiRmwVj5zE6RweuOv8d5CZnBQD5l7Y77oXBkyvaDxgq8/6OTTypEWqGLzx6Au1FnFbG0Wt6VrflC7PZ/; Received: from h-67-103-3-90.chcgilgm.covad.net ([67.103.3.90] helo=[192.168.0.119]) by host68.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Lc65v-0006Qb-H3 for freebsd-questions@freebsd.org; Tue, 24 Feb 2009 15:49:44 -0700 Message-ID: <49A4798A.10009@shineracoustics.com> Date: Tue, 24 Feb 2009 16:49:46 -0600 From: Cam User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1047:host68.hostmonster.com:shinerac:shineracoustics.com} {sentby:smtp auth 67.103.3.90 authed with cbaillie@shineracoustics.com} Subject: cups-pdf does not print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@shineracoustics.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 23:16:24 -0000 Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started "/usr/local/libexec/cups/daemon/cups-deviced" (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:38:26 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started "/usr/local/libexec/cups/daemon/cups-driverd" (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied I [24/Feb/2009:16:39:56 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to "cups-pdf:/" (was "cups-pdf:/".) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer "server_PDF" modified by "root". I [24/Feb/2009:16:39:59 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page "none". I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page "none". I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by "root". I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on "server_PDF" by "root". I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started "/usr/local/libexec/cups/cgi-bin/admin.cgi" (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file "/var/cache/cups/job.cache"... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file "/usr/local/etc/cups/cupsd.conf" I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy "default" as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file "/var/cache/cups/job.cache"... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33 -0600] Resuming new connection processing... I [24/Feb/2009:15:16:37 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43795) I [24/Feb/2009:15:16:46 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43796) I [24/Feb/2009:15:16:46 -0600] [Job 46] Adding start banner page "none". I [24/Feb/2009:15:16:46 -0600] [Job 46] Adding end banner page "none". I [24/Feb/2009:15:16:46 -0600] [Job 46] File of type application/postscript queued by "root". I [24/Feb/2009:15:16:46 -0600] [Job 46] Queued on "server_PDF" by "root". I [24/Feb/2009:15:16:46 -0600] [Job 46] Started filter /usr/local/libexec/cups/filter/pstops (PID 43797) I [24/Feb/2009:15:16:46 -0600] [Job 46] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 43798) I [24/Feb/2009:15:16:46 -0600] [Job 46] Completed successfully. I [24/Feb/2009:15:16:48 -0600] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=43802) printers.conf: # Printer configuration file for CUPS v1.3.9 # Written by cupsd on 2009-02-23 17:01 Info HP 5p (right) DeviceURI http://192.168.0.187:9101/ipp/port1 State Idle StateTime 1235057964 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Info HP Color LaserJet CM1017 Location Local Printer DeviceURI socket://192.168.0.191 State Idle StateTime 1234991318 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Info Kyocera km-2550 DeviceURI socket://192.168.0.189 State Idle StateTime 1235426616 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Info server's PDF printer Location DeviceURI cups-pdf:/ State Idle StateTime 1235430082 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer cupsd.conf: # Show general information in error_log. LogLevel info SystemGroup wheel # Allow remote access Port 631 Listen /var/run/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing and remote administration... Order allow,deny Allow @LOCAL Encryption Required Require user @SYSTEM # Allow remote administration... Order allow,deny Allow @LOCAL AuthType Default Require user @SYSTEM # Allow remote access to the configuration files... Order allow,deny Allow @LOCAL Require user @OWNER @SYSTEM Order deny,allow Order deny,allow