From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 01:03:25 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 8A636106566B for ; Wed, 25 Feb 2009 01:03:25 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from smtp2.brturbo.com.br (smtp2.brte.com.br [200.199.201.149]) by mx1.freebsd.org (Postfix) with ESMTP id CE43E8FC12 for ; Wed, 25 Feb 2009 01:03:24 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from lobo (unknown [189.70.98.35]) by smtp2.brturbo.com.br (Postfix) with ESMTP id 49B9B3403 for ; Tue, 24 Feb 2009 21:48:53 -0300 (BRT) From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Tue, 24 Feb 2009 22:03:30 -0300 User-Agent: KMail/1.9.10 References: <49A4798A.10009@shineracoustics.com> In-Reply-To: <49A4798A.10009@shineracoustics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902242203.30436.mlobo@digiart.art.br> Subject: Re: cups-pdf does not print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 01:03:25 -0000 On Tuesday 24 February 2009 19:49:46 Cam wrote: > 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 > > > > > Purge-Jobs Set- > Require user @OWNER @SYSTEM > Order deny,allow > > > CUPS-Add-Modify-Class CUPS- > AuthType Default > Require user @SYSTEM > Order deny,allow > > > Pause-Print > AuthType Default > Require user @SYSTEM > Order deny,allow > > > > Require user @OWNER @SYSTEM > Order deny,allow > > > > Order deny,allow > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Did you check /var/spool/cups-pdf/root to see if your printout is there? -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)