WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cups Help  (Read 17583 times)

Offline Madcamper

  • Newbie
  • *
  • Posts: 33
Re: Cups Help
« Reply #45 on: October 28, 2009, 09:25:22 PM »
Yes, probably to put a head on the server >.>
I set the configuration file back to default via the cups web browser, so it is at default, i enabled the basic server settings perfectly fine, but it is still persisting in giving me "400 Bad Request" when i goto http://myipaddress:631/

Offline Madcamper

  • Newbie
  • *
  • Posts: 33
Re: Cups Help
« Reply #46 on: October 28, 2009, 09:32:57 PM »

Offline Madcamper

  • Newbie
  • *
  • Posts: 33
Re: Cups Help
« Reply #47 on: October 28, 2009, 10:34:27 PM »
someone mentioned to me about going here http://www.owlfish.com/thoughts/winipp-cups-2003-07-20.html
because in order for Windows to communicate with the CUPs stuff on linux, you have to do a couple of things.
I did the "If you don't wish to create a raw printer queue then you can instead make the following changes to your CUPS mime.types and mime.convs configuration files.  Both of these files contain a commented out option starting with "#application/octet-stream".  Enable these options by removing the "#", and then restart CUPS."
part, but still not getting anywhere on adding it to "Add a printer"

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: Cups Help
« Reply #48 on: October 28, 2009, 11:39:50 PM »
The line you may need is
Code: [Select]
BrowseAddress aaa.bbb.ccc.ddd:631
CUPS will then advertise its presence to that remote machine or group of machines.



« Last Edit: October 28, 2009, 11:53:42 PM by perthie »

Offline Madcamper

  • Newbie
  • *
  • Posts: 33
Re: Cups Help
« Reply #49 on: October 29, 2009, 09:32:45 AM »
ok so i have a cronjob on my server to shutdown every morning at 2am, and start back up at 8am. this morning i woke up and i couldnt even connect to the server. i hooked a monitor up to it, keyboard, and mouse, and it seems as if allll my files are gone. It happend after messing with cups, it was fine before I even put CUPs on it. There's also no cups.tczl to be found

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14791
Re: Cups Help
« Reply #50 on: October 29, 2009, 09:58:38 AM »
I'm not sure how using cups could delete all of your files?

..and isn't it cups1311.tczl you're using?

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: Cups Help
« Reply #51 on: October 30, 2009, 05:59:50 PM »
I can't comment on your server crash, but I bet I know what caused this:

Code: [Select]
E [28/Oct/2009:19:48:25 +0000] Unable to open config file "/etc/cups/cupsd.conf.N" - Read-only file system
If you install CUPS by mounting instead of loading into RAM, then the cupsd.conf file will be permanently read-only.  So there is no way you can update it to make your printer shareable.

At one point, you were able to delete and replace the default cupsd.conf because deleting the symlink is permitted.

« Last Edit: October 30, 2009, 06:25:17 PM by perthie »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14791
Re: Cups Help
« Reply #52 on: October 31, 2009, 01:44:20 AM »
If you install CUPS by mounting instead of loading into RAM, then the cupsd.conf file will be permanently read-only.  So there is no way you can update it to make your printer shareable.

It's probably true to say that the expected mode of operation is to mount an extension. This means that if a file is to be writeable, a start-up script ought to be used to copy the file to /etc, /usr/local/etc so that the file can be modified.