cups-pdf does not print
Cam
freebsd at shineracoustics.com
Tue Feb 24 15:16:24 PST 2009
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
<Printer HP_5p>
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
</Printer>
<Printer HP_Color_LaserJet>
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
</Printer>
<Printer km_2550>
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
</Printer>
<Printer server_PDF>
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
</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
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
Encryption Required
Require user @SYSTEM
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Print
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
More information about the freebsd-questions
mailing list