To cancel a print request use the command:
lprm job_number
This removes the print job from the print queue.
You cannot remove another user's print job from the print queue; only the ones that belong to you.