Users may remove print jobs from the LP print queue, using an LPD client programme like lprm (BSD style) or cancel (System V style).
To be able to remove files, the user’s request is checked against some authentication rules.
Regular users Users without special privileges can only cancel requests associated with their own user name. As well, the request to remove one or more print jobs is only granted if the specified print queue name corresponds to the one associated to the print job(s) to be removed.
System administrator The system administrator root has special privileges, i.e. is able to remove jobs from other users. Root is also allowed to flush the entire contents of the printer’s LP print queue. In this case all jobs from all users from all client hosts systems are removed, regardless of the print queue specified with the original print request.
The names of the Control and Data Files which are removed from the LP print queue will be reported back to the user.