Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" prints in a barcode font.)

I call this filter from an executable in my local bin directory. However on a fresh reboot, this process fails. (I can switch between 2 particular failures by manipulating permissions; either the filter fails to replace @{blah} with anything, or nothing prints.)

If I stop and restart cups, it all works like I want it to. How can I make this work without having to restart CUPS?

share|improve this question

migrated from serverfault.com Feb 2 '12 at 21:57

This question came from our site for system and network administrators.

We'd need to see the code of the filter and an exact description of how it's installed. – Gilles Feb 2 '12 at 23:29
The user did not respond on serverfault.com - how probably will he respond here, where he has no account? – user unknown Apr 3 '12 at 13:36

Just guessing: Maybe cups gets started, before your home is mounted?

Maybe, if you restart cups on rc.local as latest process, or even after login with a sudo-command?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.