Find the answer to your Linux question:
Results 1 to 9 of 9
I am having a lot of issues with CUPS and it is really getting annoying. I had CUPS working and then it stopped. When I look at the error log ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    27

    Tired of screwing around with CUPS


    I am having a lot of issues with CUPS and it is really getting annoying.
    I had CUPS working and then it stopped. When I look at the error log on the server I'm getting an error about raw printing but in both mime.types and mime.convs I've uncommented the correct lines. Can anyone tell me what is up with this? Or better yet is there an alternative to sharing a printer between windows and linux clients? This is not the first issue I've had with CUPS.

    Thanks

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    I have two Linux machines and one Windows box printing to a Linux Cups server and have had similar issues. Almost always, it's the Windows machine that suddenly unlearns how to access the print server. In most cases, if I delete the printer in Windows and re-make it, it starts working again. Are the problems coming from the Windows machine(s) or Linux machine(s) or both? Can you post the pertinent sections of your cups error log?
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    27
    Here is my error_log
    Code:
    E [30/Nov/2008:10:46:06 -0700] print_job: Unsupported format 'application/octet-stream'!
    I [30/Nov/2008:10:46:06 -0700] Hint: Do you have the raw file printing rules enabled?
    This happens from both my linux and windows machines.

    Thanks for the reply

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Your exact error messages with a probable solution can be found here just about half way down. Try the suggested remedy and see if it fixes things for you.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    27
    Thanks but I've already done that in both mime.types and mime.convs and I'm still getting the error. Everything was working fine and then I started to getting that error. I checked both files and they were uncommented.

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Dumb question, did you restart cups daemon after you made the changes?
    Linux Mint + IceWM Registered: #371367 New Members: click here

  7. #7
    Just Joined!
    Join Date
    Oct 2008
    Posts
    27
    Even dumber answer. No I did not restart, after restarting cups, it worked. Which brings me to another question. My server was updated and restarted. After restart the mime.types file raw line was commented out. So I uncommented it again which brought to me to this point of forgetting to restart cups. This has happened to me before, why is the mime.types file getting put back to the original state, i.e with the raw line commented out. I have to do this most time that the server restarts but not all.

  8. #8
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Are you using system-config-printer? It will "re-comment" the line about octet-stream upon saving. If you are, it would be best to not use it and edit the file by hand. That may be why this keeps happening to you.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  9. #9
    Just Joined!
    Join Date
    Oct 2008
    Posts
    27
    no, editing by hand. I also noticed the mime.types.rpmnew which is a recent file, this had the line commented. I uncommented this as a well which didn't help either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •