New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24045 (new defect)

Opened 2 years ago

Last modified 3 months ago

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

  Changed 2 years ago by jmr@…

  • owner changed from macports-tickets@… to blb@…
  • keywords cups-pdf removed
  • port set to cups-pdf

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

  Changed 2 years ago by esmith@…

  • cc esmith@… added

Cc Me!

in reply to: ↑ description   Changed 2 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

  Changed 2 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.

  Changed 2 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?

  Changed 2 years ago by raimue@…

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.

  Changed 2 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.

  Changed 2 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$

follow-up: ↓ 10   Changed 2 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$

in reply to: ↑ 9   Changed 2 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

  Changed 10 months ago by jmr@…

  • cc esmith@… removed

Is this still a problem with 2.5.1?

  Changed 3 months ago by blb@…

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