Loading ...
Sorry, an error occurred while loading the content.

3072Re: [gnubies-il] Controlling printer queues

Expand Messages
  • Tzafrir Cohen
    May 7 8:40 AM
      On Fri, May 05, 2006 at 10:27:49AM +0200, Noamn wrote:
      > I manage a Linux machine at work, running RH 7.3 as a server only (ie no
      > GUI). The machine was set up very thoroughly before being passed to me,
      > including a command menu from which I do most of the administration. Despite
      > this menu, I have discovered a few areas in which I would prefer more
      > control, especially in the area of printing.
      > Most of our print jobs are sent to a print queue called 'pr2' and the 'lpq'
      > command lists all the jobs in the print queue. I know how to remove jobs
      > manually, and I've just learnt how to change the order of printing (using
      > 'hold' and 'remove').
      > My question: is there any way of automatically deleting jobs whose size is a
      > certain value (71 bytes)?

      Print jobs are probably passed through some filter before they get
      printed. Find the right spot in that filter, and the job will never get
      into the spool.

      Do you use cups or lprng?

      -- Tzafrir
    • Show all 3 messages in this topic