Operating System - HP-UX
1822430 Members
2873 Online
109642 Solutions
New Discussion юеВ

Re: cancel print question

 
adams_jiang
New Member

cancel print question

Cannot delete the single pen material
May delete the complete material

k260:/users/user-name#id root
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7
(lp),20(users)
k260:/users/user-name#id user-name
uid=0(root) gid=3(sys)


k260:/users/chiding#lpstat -d hrf641
no system default destination
hrf641-3486 N70 priority 0 Sep 30 14:06 on hrf641
(standard input) 486102 bytes
hrf641-3492 N70 priority 0 Sep 30 14:09
(standard input) 2604 bytes
hrf641-3502 N70 priority 0 Sep 30 14:17
(standard input) 2169 bytes
k260:/users/chiding#cancel hrf641-3486
request "hrf641-3486" not cancelled: not owner



2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: cancel print question

Is hrf641 a remote printer?
I don't think root cancel remote files.
You may be able to configure this so it can.
Dennis Handly
Acclaimed Contributor

Re: cancel print question

See WARNINGS in cancel(1):
A remote print request can be canceled only from the system from which the the original lp command was issued, and if the restrict cancel
feature (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by administrator or the user who requested it.