Answer the question
In order to leave comments, you need to log in
Where does CUPS get the list of printers from?
There are two servers, terminal server and cups print server. First, we set up the printing system on the terminal server, then, due to the fact that we have several terminal servers, it was decided that a separate print server was needed. Here we set it up on one. On the terminal server /etc/cups/client.conf
, the CUPS print server setting was written in the file ServerName 192.168.1.5:631
. Well, he successfully pulled up the print server.
But then a problem came up, if for some reason the print server fell off (it’s also not clear whether it fell off, but if it’s forcibly turned off, it definitely falls off), then a local list of terminal server printers appears, but at first we didn’t understand this, because the printers were the same by name, and they deleted all the printers on the terminal server, but it didn’t help, they still pull up, we even reinstalled CUPS, it still doesn’t help, the terminal server after a while, for some wonderful, incomprehensible reason, stubbornly pulls these printer. Moreover, it pulls so far in a program that is written in python and uses the Qt4 library (I don’t know if this will help in order to understand the reason), but in administration-> Printers, the list of printers is empty!
The glitch is stable. There are no printers locally, but Python Qt4 pulls them anyway. We discovered this by stopping the network.
That is, we stopped the network, look in Administration-> Printers, the list is empty. Then we run the program, there is a list. We start the network, we look, it pulls printers from CUPS, then after a while printers of the terminal server appear again.
Where does the terminal server store printers? /etc/cups/printers.conf
completely deleted, this file does not exist
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question