[CentOS] CentOS 7 CUPS: where queue defaults are stored?

Fri Oct 9 15:39:35 UTC 2015
Valeri Galtsev <galtsev at kicp.uchicago.edu>

Dear Experts,

CentOS 7 outsmarted me (again...).

Could someone tell me where cups print queues' default settings are stored?

In the past I was doing rather trivial thing: I was setting up prototype
machine (making kickstart file based on it), then I was configuring all
printers on prototype machine. After which (with cups daemon stopped) I
was just packing /etc/cups (and maybe /usr/share/cups/model if extra ppd's
were added). Then as a post-install I was just moving /etc/cups off the
way, and unpacking /etc/cups, and all my printer configuration was there
on newly built machine. Not anymore! After done what is described above I
indeed have all printers, but queue defaults a weird: "double sided short
edge" instead of "double sided long edge" as was configured on the
prototype machine. What is more setting off is: recursive grep of /etc
does not reveal files containing these settings (OK, OK, I know, I'm
stupid, I don't know what pattern to grep for, but they are definitely not
in /etc/cups AFAIK, or at leas not as ASCII...).

Any insight into the system with - *cough* *cough* - binary configuration

Incidentally, how do _you_ replicate CUPS configuration on CentOS 7 ?

Thanks a lot for your help !


Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247