Valeri Galtsev
2015-Oct-09 15:39 UTC
[CentOS] CentOS 7 CUPS: where queue defaults are stored?
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 files? Incidentally, how do _you_ replicate CUPS configuration on CentOS 7 ? Thanks a lot for your help ! Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
2015-Oct-09 15:57 UTC
[CentOS] SOLVED: CentOS 7 CUPS: where queue defaults are stored?
Dear All, Please, ignore me. All settings are indeed in /etc/cups. Solution in my case was: calm down, go across the hallway and get yourself coffee, drink it and do something else for 5 min (maybe write "person in distress" e-mail...). And all will be what is expected after that. Still: is there more elegant way to replicate CUPS configuration, than just copy /etc/cups ? Thnaks. Valeri On Fri, October 9, 2015 10:39 am, Valeri Galtsev wrote:> 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 > files? > > Incidentally, how do _you_ replicate CUPS configuration on CentOS 7 ? > > Thanks a lot for your help ! > > Valeri > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++