[Solved] remove all print jobs from a print queue

Hello,

Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3

Thank you for your attention

as root:

cancel queuename

removes all jobs including those currently printing.

Thank you