Opened 14 years ago

Last modified 12 years ago

#24045 new defect

cups-pdf 2.5.0 printer spool issue

Reported by: esmith@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: cups-pdf

Description

On Machine A, the generated PDF document is spooled to /private/var/spool/cups-pdf/$user in some occasions.

On machine B, it is spooled to /opt/local/var/spool/cups-pdf/$user

There are two cups-pdf.conf files each indicating that the PDF document should spool to Out /opt/local/var/spool/cups-pdf/${USER}

One is located at /private/etc/cups/cups-pdf.conf Another is locaed at /opt/local/etc/cups/cups-pdf.conf.

I don't know which conf file is the proper one to use. I don't know why the same install is configured so differently on the machines.

Change History (12)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: cups-pdf removed
Owner: changed from macports-tickets@… to blb@…
Port: cups-pdf added

Please put the name of the port in the Port field and remember to cc the maintainer.

comment:2 Changed 14 years ago by esmith@…

Cc: esmith@… added

Cc Me!

comment:3 in reply to:  description Changed 14 years ago by esmith@…

Replying to esmith@…:

On Machine A, the generated PDF document is spooled to /private/var/spool/cups-pdf/$user in some occasions.

On machine B, it is spooled to /opt/local/var/spool/cups-pdf/$user

There are two cups-pdf.conf files each indicating that the PDF document should spool to Out /opt/local/var/spool/cups-pdf/${USER}

One is located at /private/etc/cups/cups-pdf.conf Another is locaed at /opt/local/etc/cups/cups-pdf.conf.

I don't know which conf file is the proper one to use. I don't know why the same install is configured so differently on the machines.

Also, on machine C, the config file is located at /private/etc/cups/cups-pdf.conf, but output is sent to /opt/local/var/spool/cups-pdf/$user

comment:4 Changed 14 years ago by esmith@…

I wrote Volker Behr:

He said to look at the cups-pdf.h file...

In the one that is in the src folder it states:

/* User-customizable settings - if unsure leave the default values / they are reasonable for most systems. */

/* location of the configuration file */ #define CPCONFIG "/opt/local/etc/cups/cups-pdf.conf"

Under Snow Leopard, this IS the case...

However, this does not seem to be the case under Leopard 10.5.

comment:5 Changed 14 years ago by esmith@…

ALSO, noticed that the pkg installers does not install a cups-pdf.conf file. It does install a cups-pdf.conf.dist file.

Does the end user need to duplicate and rename this file?

comment:6 Changed 14 years ago by raimue (Rainer Müller)

There instructions being displayed at the end of the installation. For this port, the only way to view them currently is to look at the Portfile directly. Use port file cups-pdf and read the post-activate phase.

comment:7 Changed 14 years ago by blb@…

It should always be installing into ${prefix} and never to /private; what is the output from the following on the machine with /private/etc/cups/cups-pdf.conf:

$ head -1 /private/etc/cups/cups-pdf.conf
$ port provides /private/etc/cups/cups-pdf.conf

Also note that I updated the port in r64810 to use notes so after you've selfupdated, port notes cups-pdf should show the messages which previously only appeared after install.

comment:8 Changed 14 years ago by esmith@…

Last login: Mon Mar 15 19:14:49 on ttys000 kea:~ esmith$ head -1 /private/etc/cups/cups-pdf.conf # cups-pdf.conf -- CUPS Backend Configuration (version 2.5.0, 2009-01-26) kea:~ esmith$ port provides /private/etc/cups/cups-pdf.conf -bash: port: command not found kea:~ esmith$

comment:9 Changed 14 years ago by esmith@…

This is what I get:

Last login: Mon Mar 15 19:14:49 on ttys000
kea:~ esmith$ head -1 /private/etc/cups/cups-pdf.conf
# cups-pdf.conf -- CUPS Backend Configuration (version 2.5.0, 2009-01-26)
kea:~ esmith$ port provides /private/etc/cups/cups-pdf.conf
-bash: port: command not found
kea:~ esmith$

comment:10 in reply to:  9 Changed 14 years ago by blb@…

Replying to esmith@…:

This is what I get:

# cups-pdf.conf -- CUPS Backend Configuration (version 2.5.0, 2009-01-26)

That looks like the right version...

kea:~ esmith$ port provides /private/etc/cups/cups-pdf.conf
-bash: port: command not found

PATH issue? How about

/opt/local/bin/port provides /private/etc/cups/cups-pdf.conf

comment:11 Changed 13 years ago by jmroot (Joshua Root)

Cc: esmith@… removed

Is this still a problem with 2.5.1?

comment:12 Changed 12 years ago by blb@…

Owner: changed from blb@… to macports-tickets@…
Note: See TracTickets for help on using tickets.