1833494 Members
2669 Online
110052 Solutions
New Discussion

trouble with printer-2

 
Oleg Goudovany
Advisor

trouble with printer-2

Hi, All!
Please, help to solver some trouble with printer( by RS-232) in HP-UX 10.20. I can't remove
printer in SAM and get some message about error:
"A problem occured doing "remove Line"(Line - printer name). Stderr from this command is "/usr/sbin/remove:
destination "Line" non-existent".Unable to start remove request for "Line" because of above error(s).
What is it? What is reason for that? How solver this?
Few days ago I asked about like problem.But now I can remove printer.;((
Thanx in advance. Oleg
2 REPLIES 2
steven Burgess_2
Honored Contributor

Re: trouble with printer-2

Hi Oleg

You need to ensure that you have a filename that matches the name of your printer as below

/usr/spool/lp/member/printer_name -- a file
/usr/spool/lp/interface/printer_name -- a file
/usr/spool/lp/request/printer_name -- a directory

If you find that you are getting the error 'printer_name : non-existant', you should check that these files exist and create at least an empty placeholder for any that are missing. Then you should be able to use SAM or

lpadmin -xprinter_name

to delete the printer.

Also, ensure that these printer files are owned by 'lp'.

HTH

Steve
take your time and think things through
Oleg Goudovany
Advisor

Re: trouble with printer-2

Hi, Steve!
Thanx for ansver! I'll try your recommendation tomorrow at job. But question: how to do what this files and folder had owner "lp". Or this file/folder create only by Oper.system when I install new printer?
Oleg