Take the 2-minute tour ×
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.

To resume a job from command line I can call lpq which gives me the job number for example 211 and then lp -i 211 -H resume.

However is there a way

  • to resume the last job without figuring out its job id first
  • to resume just all holded jobs with one command
share|improve this question
add comment

1 Answer

cupsenable --release $print_queue should push all held jobs out to the printer (assuming it's still accepting jobs). If the job got held because the printer is marked offline, you may need to cupsenable $print_queue and cupsaccept $print_queue (or in one step lpadmin -E $print_queue), also.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.