CUPS doesn't re-read /etc/cups/ppd/ ?

We're working with a "multiclient installation", basically we tried to spread the CUPS configuration on all Mac's in a computer room. (including a backend).
We copied /etc/cups/printers.conf to all the boxes, worked great they do know the printer, but as "generic".
We use a custom PPD file, and copy it to:
/etc/cups/ppd/Printernamefromcups
For some reason the printer keeps using the Generic driver and not the newly copied PPD, even after a restart of PrintingServices.
Anyone able to tell me how I can force CUPS to re-read the PPD?

Hi
You could try:
http://discussions.apple.com/thread.jspa?messageID=4152765&#4152765
as well:
http://discussions.apple.com/thread.jspa?messageID=3290222&#3290222
Might provide more insight into your problem.
Tony

Similar Messages

  • Missing file:       /private/etc/cups/ppds.dat

    Cannot open my printer's utility - Lexmark z23 - All was well, then we updated to 10.4.5.
    I know this file is missing: /private/etc/cups/ppds.dat
    Any thoughts on where I might access it would be appreciated, or, confirm for me I'm gonna have to slog thru all the packages on the original install cds to find it.... : - 0
    Thank you!!!!
    YES, I read archived threads and know all about Miguel; - )

    Geez Greg - Thanx for your time but that response is
    almost insulting - Try restarting? That's like number
    one on the newbie hit parade dude, right along
    starting up holding down the shift key or running
    fsck -y. Thanks for trying.
    And your response is supposed to make others want to reply?
    Anyone else? Please. I'm starting to think I got
    screwed from using this printer when I upgraded my OS.
    A quick search indicates that Greg is correct that the file in question is built by cupsd as needed. Surprised? I'm not. You could have restarted your computer several times in the amount of time it took you to post your rant.
    If you don't want to restart your computer, then just restart CUPS. If that doesn't work, reset the printing system from the Printer Setup Utility. You can also search and search through the installation disks. You won't find that file, however. CUPS gets installed as part of the Essentials.pkg. The ppds.dat file, however, is not a file that gets installed.
    Back to your original post -- I don't see a connection that would lead to a conclusion that the missing ppds.dat file is causing your printer's utility not to open. Even when you restore the ppds.dat file, you may not be able to open the utility for some other reason.
    Matt
    Mac Mini; B&W G3/300    

  • Terminal Error: Unable to read "/private/etc/cups/cups-files.conf" due to errors.

    After finding out that my Kodak ESP C310 printer was no longer printing after installing OS X Yosemite, I tried entering these into the terminal to get the driver working again.
    sudo sh -c 'echo "Sandboxing Relaxed" >> /etc/cups/cups-files.conf'
    sudo launchctl stop org.cups.cupsd
    Nothing happened the first time I tried it, so I tried it again with still no luck. Now within seconds of opening the terminal I get this message :
    " /private/etc/cups/cups-files.conf"
    It pops up every few seconds, so it is practically impossible for me to type anything into the terminal without it popping up right in the middle. I tried the fix from the other discussion on this issue, and that didn't work. also I'm noticing that my printer isn't even added under "printers and scanners" anymore. I tried to re-add it, but I cannot without a driver that functions with 10.10.1
    Any suggestions on how I should deal with this?

    The permissions and ownership on /private/etc/cups/cups-files.conf should be:
    /bin/ls -leO@ /private/etc/cups/cups-files.conf
    -rw-r--r--  1 root  _lp  compressed 3297 Mar  8  2014 /private/etc/cups/cups-files.conf
    See "man cups-files" for the format of the cups-files.conf file
    The contents of the /private/etc/cups/cups-files.conf file should look like:
    # "$Id: cups-files.conf.in 11203 2013-07-26 21:32:33Z msweet $"
    # Sample file/directory/user/group configuration file for the CUPS scheduler.
    # See "man cups-files.conf" for a complete description of this file.
    # List of events that are considered fatal errors for the scheduler...
    #FatalErrors config
    # Do we call fsync() after writing configuration or status files?
    #SyncOnClose No
    # Default user and group for filters/backends/helper programs; this cannot be
    # any user or group that resolves to ID 0 for security reasons...
    #User _lp
    #Group _lp
    # Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
    SystemGroup admin
    SystemGroupAuthKey system.print.admin
    # User that is substituted for unauthenticated (remote) root accesses...
    #RemoteRoot remroot
    # Do we allow file: device URIs other than to /dev/null?
    #FileDevice No
    # Permissions for configuration and log files...
    #ConfigFilePerm 0644
    #LogFilePerm 0644
    # Location of the file logging all access to the scheduler; may be the name
    # "syslog". If not an absolute path, the value of ServerRoot is used as the
    # root directory.  Also see the "AccessLogLevel" directive in cupsd.conf.
    AccessLog /private/var/log/cups/access_log
    # Location of cache files used by the scheduler...
    #CacheDir /private/var/spool/cups/cache
    # Location of data files used by the scheduler...
    #DataDir /usr/share/cups
    # Location of the static web content served by the scheduler...
    #DocumentRoot /usr/share/doc/cups
    # Location of the file logging all messages produced by the scheduler and any
    # helper programs; may be the name "syslog". If not an absolute path, the value
    # of ServerRoot is used as the root directory.  Also see the "LogLevel"
    # directive in cupsd.conf.
    ErrorLog /private/var/log/cups/error_log
    # Location of fonts used by older print filters...
    #FontPath /usr/share/cups/fonts
    # Location of LPD configuration
    #LPDConfigFile launchd:///System/Library/LaunchDaemons/org.cups.cups-lpd.plist
    # Location of the file logging all pages printed by the scheduler and any
    # helper programs; may be the name "syslog". If not an absolute path, the value
    # of ServerRoot is used as the root directory.  Also see the "PageLogFormat"
    # directive in cupsd.conf.
    PageLog /private/var/log/cups/page_log
    # Location of the file listing all of the local printers...
    #Printcap /Library/Preferences/org.cups.printers.plist
    # Format of the Printcap file...
    #PrintcapFormat bsd
    #PrintcapFormat plist
    #PrintcapFormat solaris
    # Location of all spool files...
    #RequestRoot /private/var/spool/cups
    # Location of helper programs...
    #ServerBin /usr/libexec/cups
    # SSL/TLS certificate for the scheduler...
    #ServerCertificate /Library/Keychains/System.keychain
    # SSL/TLS private key for the scheduler...
    #ServerKey
    # Location of other configuration files...
    #ServerRoot /private/etc/cups
    # Location of Samba configuration file...
    #SMBConfigFile
    # Location of scheduler state files...
    #StateDir /private/etc/cups
    # Location of scheduler/helper temporary files. This directory is emptied on
    # scheduler startup and cannot be one of the standard (public) temporary
    # directory locations for security reasons...
    #TempDir /private/var/spool/cups/tmp
    # End of "$Id: cups-files.conf.in 11203 2013-07-26 21:32:33Z msweet $".

  • [SOLVED] CUPS doesn't work

    Hi there,
    I'm configuring Arch on my Dell d600. I installed cups via paman and started it with /etc/rc.d/cups start. There were no errors on the commandline. grep -R [Cc]ups * in /var/log/ showed  only the following in cups/error_log:
    I [14/Sep/2008:16:00:01 +0200] Listening to 127.0.0.1:631 (IPv4)
    I [14/Sep/2008:16:00:01 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
    I [14/Sep/2008:16:00:01 +0200] Using default TempDir of /var/spool/cups/tmp...
    I [14/Sep/2008:16:00:01 +0200] Configured for up to 100 clients.
    I [14/Sep/2008:16:00:01 +0200] Allowing up to 100 client connections per host.
    I [14/Sep/2008:16:00:01 +0200] Using policy "default" as the default!
    I [14/Sep/2008:16:00:01 +0200] Full reload is required.
    I [14/Sep/2008:16:00:01 +0200] Loaded MIME database from '/etc/cups': 35 types, 39 filters...
    I [14/Sep/2008:16:00:01 +0200] Loading job cache file "/var/cache/cups/job.cache"...
    I [14/Sep/2008:16:00:01 +0200] Full reload complete.
    I [14/Sep/2008:16:00:01 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    I [14/Sep/2008:16:00:01 +0200] Listening to 127.0.0.1:631 on fd 3...
    I [14/Sep/2008:16:00:01 +0200] Resuming new connection processing...
    E [14/Sep/2008:16:00:01 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    D [14/Sep/2008:16:00:02 +0200] Report: clients=0
    D [14/Sep/2008:16:00:02 +0200] Report: jobs=0
    D [14/Sep/2008:16:00:02 +0200] Report: jobs-active=0
    D [14/Sep/2008:16:00:02 +0200] Report: printers=0
    D [14/Sep/2008:16:00:02 +0200] Report: printers-implicit=0
    D [14/Sep/2008:16:00:02 +0200] Report: stringpool-string-count=168
    D [14/Sep/2008:16:00:02 +0200] Report: stringpool-alloc-bytes=4872
    D [14/Sep/2008:16:00:02 +0200] Report: stringpool-total-bytes=3632
    cupsctl gives me no output (just hangs) and the webinterface is unreachable.
    There is also no file /var/log/cups/acess_log.
    Help?
    Last edited by crom (2008-09-14 19:41:09)

    I tried various adresses: localhost, D600, and the ip.
    /etc/hosts:
    127.0.0.1               localhost.localdomain   localhost  D600
    /etc/rc.conf:
    HOSTNAME="D600"
    Even 127.0.0.1:631 doesn't succeed.
    Edit:
    Found it. 'lo' was in the INTERFACES array in rc.conf. I don't use the normal networking daemon, using wicd instead.
    I took it out and rebooted. Now i can access the web-interface.
    EDIT: How do i mark this solved?
    Last edited by crom (2008-09-14 15:24:54)

  • Repaing Permissions = Group Differ on "private/etc/cups", should be 0, grou

    Repaing Permissions = Group Differ on "private/etc/cups", should be 0, groups is 26.
    It says this everytime, even when it was brand new...
    What does this mean? Whay doesn't it go away after repairing?

    This error message has been occurring since Mac OS X 10.5.4 I believe, it's not harmful in any way to the operation of your Mac, so I wouldn't worry about it. I'm sure Apple will have this fixed in a future update.

  • [SOLVED] CUPS doesn't detect USB Samsung ML-2010 printer

    Hi. I only speak a little English. Sorry for that.
    I have got an USB Samsung ML-2010 printer. Before I used cups-usblp from AUR, and it worked. But it doesn't work now. The cups-usblp maintainer suggests to use cups instead of cups-usblp. Searching with google, it appears that other people don't have problems with this printer, cups, and archlinux. But I do. Cups' web interface doesn't detect it.
    Well, this is how are the things now:
    $ lsusb | grep Samsung
    Bus 002 Device 004: ID 04e8:326c Samsung Electronics Co., Ltd ML-2010P Mono Laser Printer
    $ ls -l /dev/bus/usb/002/004
    crw-rw-r-- 1 root lp 189, 131 mar  4 09:56 /dev/bus/usb/002/004
    $ grep usb /lib/udev/rules.d/50-udev-default.rules
    # 'libusb' device nodes
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id"
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp"
    $ sudo grep SystemGroup /etc/cups/cupsd.conf
    SystemGroup sys root lp
    $ groups
    lp wheel games video audio optical storage scanner power users
    $ cat /etc/modprobe.d/blacklist.conf
    blacklist usblp
    $ lsmod | grep usblp
    (no output)
    $ cat /etc/udev/rules.d/10-cups_device_link.rules
    KERNEL=="lp[0-9]", SYMLINK+="%k", GROUP="lp"
    $ cat /etc/udev/rules.d/10-usbprinter.rules
    ATTR{idVendor}=="04e8", ATTR{idProduct}=="326c", MODE:="0660", GROUP:="lp"
    $ rc.d status cupsd
    :: Checking cupsd status                                                                                                   [STARTED]
    $ pacman -Q cups ghostscript gsfonts gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters splix
    cups 1.5.2-1
    ghostscript 9.05-1
    gsfonts 1.0.7pre44-3
    gutenprint 5.2.7-3
    foomatic-db 1:4.0.7_20110707-1
    foomatic-db-engine 1:4.0.7_20110707-1
    foomatic-db-nonfree 1:4.0.7_20110707-1
    foomatic-filters 1:4.0.7_20110707-1
    splix 2.0.0-11
    I open http://localhost:631 in my browser, click "add new printer" and I get just "Serial printer #1"
    at "local printers". There isn't my printer. I use KDE, and KDE's tool for adding printers doesn's detect it either.
    I miss archlinux, but I need to print.
    What may be wrong? What may be I am missing?
    Thanks a lot for your comments and help.
    Last edited by felihommen (2012-03-04 20:33:39)

    Solved!
    Restarting cupsd didn't work.
    But reinstalling cups...
    $ sudo pacman -Rdc cups (it is a dependency of kdeadmin-system-config-printer-kde which I had installed)
    $ sudo rm -r /etc/cups/*
    I realize cupsd is already running:
    $ ps aux | grep cupsd
    root      1549  0.0  0.1  75548  4080 ?        Ss   21:04   0:00 cupsd -C /etc/cups/cupsd.conf
    felipe    1690  0.0  0.0   8416  1028 pts/1    S+   21:13   0:00 grep cups
    I kill it
    $ sudo -SIGKILL 1549
    $ ps aux | grep cupsd
    felipe    1694  0.0  0.0   8416  1024 pts/1    S+   21:13   0:00 grep cups
    Ok. Reinstall cups
    $ sudo pacman -S cups
    Start cups daemon:
    $ sudo rc.d start cupsd
    Open firefox. Go to web interface, bla, bla, bla.... And it's there!
    I feel really silly. It was a fresh install, so I didn't think about reinstalling.
    Printed some jobs and worked perfectly. I used the gutenprint driver.
    Thanks a lot, pyther.  I thought yours wasn't a very useful suggestion, but it really was. I'm so happy. I owe you.

  • ERROR when repairing permissions: Group differs on "private/etc/cup"

    Hi,
    When I run permissions repair on my Leopard 10.5.4 I get the error message:
    ERROR when repairing permissions: Group differs on "private/etc/cup", Should be 0, group is 26
    Any idea why... It pops up every time I run permissions repair so I don't think it is really getting repaired.
    Thanks.

    Ignore it. It's been reported as a bug and is under investigation.

  • Group differs on "private/etc/cups", should be 0, group is 26.

    Greetings.
    After performing Verify Disk Permission, i have this massage:
    *Group differs on "private/etc/cups", should be 0, group is 26.*
    Immediately i performed Repair Disk Permission but in the end i still get this massage.
    Any idea what dose that means?
    Thank you so much.
    Cheers.

    ChrisWad wrote:
    How do you submit a bug to Apple as I want to put some weight behing this one.
    Chris
    Why? Who says it's a bug worth worrying about?
    Ever since Repair Permissions was introduced (around 10.1.5 I seem to remember, although it was 10.2 before it was integrated into Disk Utility) there have been occurrences of these "spurious" errors.
    Take a look at these:
    Spurious Permissions errors in 10.2
    Spurious Permission errors in OS X 10.3
    Spurious Permission errors in OS X 10.4
    Some of these disappeared with point updates, others didn't. They did not prevent anyone's system working. They were acknowledged as unimportant in this article: Disk Utility reports some messages that you can ignore when checking permissions.
    I didn't write an equivalent for 10.5, because there were so many ACL and SUID errors which changed with each version, see Mac OS X 10.5: Disk Utility's Repair Disk Permissions reports issues with SUID files.
    This particular message is of no consequence. It may or may not disappear with the next system update. But if it bothers you, the answer is simple: stop Repairing Permissions!

  • /private/etc/cups folder is missing

    I am working tech support for a college and a faculty member currently working abroad called in with a problem that Microsoft Word for Mac would lock up everytime he tried to save or print a file. I remoted into his machine and I tried the usual suspects and was able to determine that nothing would print at all from any app, and in fact when I went to system preferences and tried to open the printers, it locked up system preferences. Digging deeper, I discovered that I was getting this message in console:
    com.apple.launchd[1] (org.cups.cupsd) Throttling respawn: Will start in 10 seconds
    The error kept repeating. I researched and found this thread:
    https://discussions.apple.com/thread/2151368?start=0&tstart=0
    Which led me to try these terminal commands:
    sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.old
    sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
    I got an error in terminal that "No such file or directory existed"
    So I checked and sure enough, inside of /private/etc/ there was no folder for cups. Its just gone. I assume that the folder being missing is the root of the problem, but I cant figure out how to get it back for him, especially considering that I am trying to assist him remotely. Any help or advice would be appreciated.

    # Become root
    sudo -s
    cd /private/etc
    # Make the tar archive in /Users/Shared
    tar -cjvf /Users/Shared/cups.tar.bz2 cups
    # Exit being the root user
    exit
    cd /Users/Shared
    # Check the contents of the tar archive
    tar -tvf /Users/Shared/cups.tar.bz2
    drwxr-xr-x  0 root   _lp         0 May  6 17:33 cups/
    dr-x--x--x  0 _lp    admin       0 May  7 18:05 cups/certs/
    -rw-r--r--  0 root   _lp      4524 Jan 20  2012 cups/cupsd.conf
    -rw-r--r--  0 root   _lp      4380 Dec 23  2011 cups/cupsd.conf.O
    -rw-r--r--  0 root   _lp      5978 May 13  2010 cups/cupsd.conf.bak
    -rw-r--r--  0 root   _lp      6091 Jul  6  2011 cups/cupsd.conf.default
    drwxr-xr-x  0 root   _lp         0 May 13  2010 cups/interfaces/
    drwxr-xr-x  0 root   _lp         0 Apr 30 10:10 cups/ppd/
    -rw-------  0 root   _lp      1624 May  6 17:33 cups/printers.conf
    -rw-------  0 root   _lp      1624 May  5 16:53 cups/printers.conf.O
    -rw-r--r--  0 root   _lp       172 May 13  2010 cups/snmp.conf
    -rw-r--r--  0 root   _lp     52273 Jan 13 06:43 cups/ppd/Brother_HL_5140_series.ppd
    -rw-r--r--  0 root   _lp   1072994 Apr 30 10:10 cups/ppd/HP_Photosmart_C4200_series.ppd
    -rw-r--r--  0 root   _lp   1072931 Apr 21 13:08 cups/ppd/HP_Photosmart_C4200_series.ppd.O
    -r--r-----  0 root   admin      32 May  7 18:05 cups/certs/0

  • Private/etc/cups Permission

    Almost every time I Repair Permission, it finds and repairs "Group differs on "private/etc/cups", should be 0, group is 26." What is that? Why does it happen? Thanks

    Well what I've seen is that DiskUtility always finds some permissions somewhere to fix unless you are starting with a blank disk. There's a lot of data inside that machine that can jump settings for various reasons. I don't lose sleep over a few permission errors and subsequent fixes. And here's a freebe;http://localhost:631/ to manage your printers.

  • Cups: Printer doesn't print anything but cups doesn't show any error

    I installed cups on my brand new machine. For some test pages, my HP LaserJet Professional 1102w worked as expected. Then, for no apparent reason, it stopped printing althoug I can't see any error messages. The print jobs just show up as "completed at Sat 11 Dec ...". Printing on the same printer works when it's plugged to another machine.
    The printer is 'hp'. The 'hp_laser' printer which appears in the log is the same printer on a network host.
    /etc/cups/cupsd.conf (pretty much default, just changed LogLevel and Port)
    http://paste.pocoo.org/show/303448/
    /etc/cups/client.conf
    ServerName localhost:631
    dmesg output (printer was plugged in after bootup, before /etc/rc.d/cups start)
    http://paste.pocoo.org/show/303449/
    /var/log/cups/error_log
    http://paste.pocoo.org/show/303452/
    /var/log/cups/page_log
    hp 30 anonymous [11/Dec/2010:10:44:14 +0100] 1 1 - localhost Test Page - -
    The printer was installed using hp-setup.
    I would be very thankful for any hint.

    Any updates on this?  I'm having a similar issue, except it's on a printer I've been using for a long time and only certain PDFs are causing problems.  Some PDFs print fine, but for others I am only able to print a few pages (and then the printer stops and it looks like the job was completed, except for the missing pages in the output tray).

  • Removed /etc/cups folder :((

    As in topic. Trying to remove CUPS-PDF app, I removed accidentally /etc/cups folder with subfolder.
    Of course, it caused some troubles within the system... What should I do to recover?
    Kal

    Should I backup my old data first?
    Would it be a fresh install of Mac OS X without any data or apps, or the system will be installed once more with all the data intact?
    Kal

  • Do I need to install boot camp on Windows 7 as well as on Lion? I already installed it some years ago on Leopard when installing Windows Vista on my Macbook Pro. But now after installing Windows 7, many things in windows doesn't work (sound etc.)

    Do I need to install boot camp on Windows 7 as well as on Lion? I already installed it some years ago on Leopard when installing Windows Vista on my Macbook Pro. But now after installing Windows 7, many things in windows doesn't work (sound etc.). I made a clean installation because I needed to go from 32 bit to 64 bit.
    Or should I just update bootcamp in Lion? (cause when I search for "boot camp" in Windows 7 there's no result)

    Installation Guide
    Instructions for all features and settings.
    Boot Camp 4.0 FAQ Get answers to commonly asked Boot Camp questions.
    Windows 7 FAQ Answers to commonly asked Windows 7 questions.
    Apple Boot Camp Support
    Lion's Boot Camp Assistant 4.x should have downloaded Apple drivers as part of also partitioning.
    You need Apple drivers. And you then need to add on your own audio driver.
    You can run Assistant at any time to download and save a set of drivers.

  • Web Server reads /etc/apache2 config after upgrade to 10.8.1

    I just updated one of my servers to 10.8.1 from 10.8. It seems with the ML update the OSX Server configuration files in
    /Library/Server/Web/Config/apache2
    are no longer being read; instead, the non-server configuration files in
    /etc/apache2 get read. I was wondering if anyone knew an easy fix? Also, DocumentRoot was set to an external drive
    /Volume/Library. The update created a folder at my mount point containing a default WebDocuments in it. My external
    drive ends up being mounted at Library 1. Why?

    The first part of this question is actually partially explained by the second part. ML Server was not reading /etc/apache2, it was reading the osx configuration file, but somehow after the upgrade it was creating a new folder at the mount point of my external drive being used to hold my webdocuments. This seemed to happen before my drive got mounted (obviously). Deleting this folder and restarting seemed to fix the issue.

  • I'm going to be a senior this year and my school is switching over to the iPad for classroom activities. Which iPad is the best for taking notes, researching, studying, reading, etc?

    I'm going to be a senior this year and my school is switching over to the iPad for classroom activities. Which iPad is the best for taking notes, researching, studying, reading, etc?

    I Recommend the iPad Mini Retina, it's not to big, and not to small. It has the speed of the iPad Air due to it having the same 64 Bit chips. ( And it's a lot cheaper!!) I have one myself and it's perfect for my school work!
    iPad Mini
    http://www.apple.com/ipad-mini/
    or don't 'to take my word for it, compare the iPads!
    http://www.apple.com/ipad/compare/

Maybe you are looking for