Hello, I have the following line in my /etc/cups/mime.types uncommented : application/octet-stream
so that Windows machine which can use the printer driver can print through the cups printer set up on a CentOS box. But something keep changing the file by commenting out the line. So sometimes printing from Windows would stop working and it the cups error_log I see:
E [21/Mar/2006:12:58:34 -0500] print_job: Unsupported format 'application/octet-stream'! I [21/Mar/2006:12:58:34 -0500] Hint: Do you have the raw file printing rules enabled?
All I need is usually just uncomment that line in /etc/cups/mime.types and restart cups.
So I couldn't figure out what keeps changing the files. Am I not supposed to edit the file directly, or am I missing something else here ?
Thanks for any help. RDB
On Tue, 21 Mar 2006, Reuben D. Budiardja wrote:
But something keep changing the file by commenting out the line. So sometimes printing from Windows would stop working and it the cups error_log I see:
Is this cups-config-daemon? We always do
/etc/rc.d/init.d/cups-config-daemon stop chkconfig cups-config-daemon off
Jeremy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Mar 21, 2006 at 03:02:51PM -0500, Reuben D. Budiardja wrote:
Hello, I have the following line in my /etc/cups/mime.types uncommented : application/octet-stream
But something keep changing the file by commenting out the line. So sometimes printing from Windows would stop working and it the cups error_log I see:
That would not be a Deskjet 1020 printer, would it ?
I have this exact problem on a machine with that.
Tried disabling cups-config-daemon, hal and a few others, to no avail.
Finally, I found a way to workaround the problem:
# chattr +u /etc/cups/mime.types
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
On Tue, 21 Mar 2006 15:02:51 -0500 "Reuben D. Budiardja" techlist@pathfinder.phys.utk.edu wrote:
Hello, I have the following line in my /etc/cups/mime.types uncommented : application/octet-stream
so that Windows machine which can use the printer driver can print through the cups printer set up on a CentOS box. But something keep changing the file by commenting out the line. So sometimes printing from Windows would stop working and it the cups error_log I see:
E [21/Mar/2006:12:58:34 -0500] print_job: Unsupported format 'application/octet-stream'! I [21/Mar/2006:12:58:34 -0500] Hint: Do you have the raw file printing rules enabled?
All I need is usually just uncomment that line in /etc/cups/mime.types and restart cups.
So I couldn't figure out what keeps changing the files. Am I not supposed to edit the file directly, or am I missing something else here ?
Thanks for any help. RDB --
i have the same problem the printing gui config app
Reuben D. Budiardja wrote:
So I couldn't figure out what keeps changing the files. Am I not supposed to edit the file directly, or am I missing something else here ?
You have system-config-printer package installed. Which believes it has complete control over Cups configuration. Each time cups package is updated, it will use system-config-printer to regenerate configuration file, overwriting your changes. Some other processes may trigger it too. If you are manually setting Cups configuration, simply deinstall system-config-printer and all should be fine. If you are using GUI, don't touch the files with vi editor.
On Wednesday 22 March 2006 01:11, Aleksandar Milivojevic wrote:
Reuben D. Budiardja wrote:
So I couldn't figure out what keeps changing the files. Am I not supposed to edit the file directly, or am I missing something else here ?
You have system-config-printer package installed. Which believes it has complete control over Cups configuration. Each time cups package is updated, it will use system-config-printer to regenerate configuration file, overwriting your changes. Some other processes may trigger it too. If you are manually setting Cups configuration, simply deinstall system-config-printer and all should be fine. If you are using GUI, don't touch the files with vi editor.
Well, except there doesn't seem to be anyway to do this from system-config-printer.
RDB
On Fri, 24 Mar 2006 09:23:32 -0500 "Reuben D. Budiardja" techlist@pathfinder.phys.utk.edu wrote:
On Wednesday 22 March 2006 01:11, Aleksandar Milivojevic wrote:
Reuben D. Budiardja wrote:
So I couldn't figure out what keeps changing the files. Am I not supposed to edit the file directly, or am I missing something else here ?
You have system-config-printer package installed. Which believes it has complete control over Cups configuration. Each time cups package is updated, it will use system-config-printer to regenerate configuration file, overwriting your changes. Some other processes may trigger it too. If you are manually setting Cups configuration, simply deinstall system-config-printer and all should be fine. If you are using GUI, don't touch the files with vi editor.
Well, except there doesn't seem to be anyway to do this from system-config-printer.
how about rpm -e