Re: lp refusing to shut up

From: W. Linksaf (linksaf.onderhoud_at_nl.nl)
Date: 03/11/04


Date: Thu, 11 Mar 2004 08:56:19 +0100


"Greg Andrews" <gerg@panix.com> schreef in bericht
news:c2n9f7$5pt$1@reader2.panix.com...
> "W. Linksaf" <linksaf.onderhoud@nl.nl> writes:
> >
> >Due to some old crappy software the Windows in the network are using, we
> >sometimes get error messages back, while the print is just printed fine.
> >This is all good, exept lp tries to send user@windowshost a mail about
the
> >error, which isn't going to work, needless to say.
> >
> >So I figured:
> >lpadmin -p PhysicalPrinter1 -A none
> >lpadmin -p PhysicalPrinter2 -A none
> >/etc/init.d/lp stop
> >Print services stopped
> >/etc/init.d/lp start
> >Print services started
> >
> >When I try to issue the same command for some of the queues, lpadmin
begins
> >barfing all kinds of errors in my face, basically saying I'm not doin' it
> >right ;-)
> >
>
> That's right. Those queues probably were configured as remote printer
> queues. Your machine was told it is a print client for those printers,
> not a print server, so print server options like lpadmin -A aren't
> appropriate.
How do I tell it it is a server then? It is accepting print jobs from all
over the network.

>
> Sounds like you have those queues configured wrong if the Solaris machine
> is the print server. Are these printers attached to the network, or are
> they attached to the parallel port of a Windows or Unix computer?

I have a /dev/PhysicalPrinter1 and a /dev/PhysicalPrinter2.
Both refer to the IP adresses of the printers, printing happens through LPR.
The queues all end up either one of these devices.
The print orders I am speaking of are coming from a (non-specific) user
working at a Windowsclient printing to the Solaris.
When the print is done, I get an error, which lp tries to e-mail to the
submitter of the job (user@windowsclient):
"Your request PhysicalPrinter2-178 destined for PhysicalPrinter2

The job title was: 178-1
   submitted from: windowsclient
               at: Mon Mar 8 17:28:38 2004

encountered an error while printing on printer PhysicalPrinter2.
Printing stopped with an exit code of 2."

Job title is incorrect btw, that is the job number.

Regards,

W. Linksaf



Relevant Pages

  • Re: Client no longer connects to printer on Server
    ... The Windows Firewall has detected an application listening for incoming ... The Security System could not establish a secured connection with the server ... I am loathe the remove the machine from the network, ... Opening the Printers and Faxes dialog both shared printers are ...
    (microsoft.public.win2000.printing)
  • Printer driver-related network delays
    ... I've got a Windows XP LAN comprised of several workstations and printers. ... Every time someone on a workstation tries to print to a network printer from ...
    (microsoft.public.windowsxp.print_fax)
  • Re: disable network printer auto searching in XP
    ... installs every shared network printer on the LAN. ... up all auto-added printers. ... > following method on individual Windows XP in Workgroup environment based ... > |> Enables or disables publishing of printers in the directory. ...
    (microsoft.public.windows.server.general)
  • Re: lp refusing to shut up
    ... Those queues probably were configured as remote printer ... Your machine was told it is a print client for those printers, ... Are these printers attached to the network, ... they attached to the parallel port of a Windows or Unix computer? ...
    (comp.unix.solaris)
  • Print Queue
    ... restrict access to network files and unneccesary applications. ... to the Control Panel and Windows Explorer. ... I have also tried making a shortcut to the Printers folder in Control ...
    (Focus-Microsoft)