How to prevent cups from printing old jobs after system reboot

Asked by Andreas Frische on 2008-02-28

when i reboot my computer, i don't except my printer to print a job i issued possibly weeks ago. i think it would be better if the system asks me, what to do.

DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Andreas Frische
Last query:
Last reply:

This question was originally filed as bug #196670.

Iulian Udrea (iulian) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at if you are uncertain if they are bugs. For help on reporting bugs, see

Thank you.

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo gedit /etc/rc.local

give your user password when requested, you don't see nothing when you type it, then press enter.

Then write before the "exit 0" row (don't touch it) this row:

/usr/bin/lprm -

And try

Hope this helps

Thanks for your effort.

However i was perfectly aware of /etc/rc.local. I initially filed this as a (wishlist! ) bug though, because i had something similar to what Windows does in mind, namely an dialog asking the user.

i will close this "answer" now. regards,

         Thank You !!!!!!!!! I had the same challenge and was debating whether or not to re-install
                   cups and/or I had misfigured something . Thanks again . Wesley