[comp.sys.att] accept/reject dont't work

ptmcd@dalcsug.UUCP (P. Trent MacDougall) (01/30/88)

I have version 3.51 of UNIX on my 3B1.  I have just gotten a printer
and have found out that accept/reject do not work.  They accept anything
as input and do nothing.  I did a strings on them and saw that they should
report that you have to be the LP Administrator to use them.
Anyone else have this problem??  What should I do ... call AT&T?
-- 
 _ __     ______                  _ _ _           __                    _  _    ' )  )      /             _/_    ' ) ) )         /  )                  // //
 /--'    --/ __  _  ____  /       / / / __.  _. /  / ____. . _,  __.  // //     / o     (_/ / (_</_/ / <_<__     / ' (_(_/|_(__/__/_(_) (_/_(_)_(_/|_</_</_
UUCP:  {uunet|utai|watmath}!dalcs!dalcsug!ptmcd              /|
                             ... !iisat!tmpor!trent (Home)  |/

lenny@icus.UUCP (Lenny Tropiano) (02/01/88)

In article <327@dalcsug.UUCP> ptmcd@dalcsug.UUCP (P. Trent MacDougall) writes:
|>I have version 3.51 of UNIX on my 3B1.  I have just gotten a printer
|>and have found out that accept/reject do not work.  They accept anything
|>as input and do nothing.  I did a strings on them and saw that they should
|>report that you have to be the LP Administrator to use them.
|>Anyone else have this problem??  What should I do ... call AT&T?
|>-- 

I had this problem, and AT&T mentioned that I needed to be "user lp".  So
I su'd to lp and then:

$ /usr/lib/accept Epson Parallel
destination "Epson" now accepting requests
destination "Parallel" now accepting requests

- and conversely -

$ /usr/lib/reject Epson Parallel
destination "Epson" no longer accepting requests
destination "Parallel" no longer accepting requests

I guess the error message telling you that you should be the LP Administrator
doesn't work. Oh well.

						-Lenny
-- 
============================ US MAIL:   Lenny Tropiano, ICUS Computer Group
 IIIII   CCC   U   U   SSSS             PO Box 1
   I    C   C  U   U  S                 Islip Terrace, New York  11752
   I    C      U   U   SSS   PHONE:     (516) 968-8576 [H] (516) 582-5525 [W] 
   I    C   C  U   U      S  AT&T MAIL: ...attmail!icus!lenny  TELEX: 154232428
 IIIII   CCC    UUU   SSSS   UUCP:
============================    ...{uunet!godfre, harvard!talcott}!\
                   ...{ihnp4, boulder, mtune, bc-cis, ptsfa, sbcs}! >icus!lenny 
"Usenet the final frontier"        ...{cmcl2!phri, hoptoad}!dasys1!/

jcs@tarkus.UUCP (John C. Sucilla) (02/04/88)

In article <240@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes:
>In article <327@dalcsug.UUCP> ptmcd@dalcsug.UUCP (P. Trent MacDougall) writes:
>|>I have version 3.51 of UNIX on my 3B1.  I have just gotten a printer
>|>and have found out that accept/reject do not work.  They accept anything
>$ /usr/lib/accept Epson Parallel
>destination "Epson" now accepting requests

I've always used "enable" and "disable" both here on the 3B1 and at work
on our 3B20S to do what your talking about. Any user can do it.
 
 
 
 

-- 
John "C" Sucilla
{ihnp4}!tarkus!jcs

Don't let reality stop you.... 

lenny@icus.UUCP (Lenny Tropiano) (02/06/88)

In article <42@tarkus.UUCP> jcs@tarkus.UUCP (John C. Sucilla) writes:
|>In article <240@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes:
|>>In article <327@dalcsug.UUCP> ptmcd@dalcsug.UUCP (P. Trent MacDougall) writes:
|>>|>I have version 3.51 of UNIX on my 3B1.  I have just gotten a printer
|>>|>and have found out that accept/reject do not work.  They accept anything
|>>$ /usr/lib/accept Epson Parallel
|>>destination "Epson" now accepting requests
|>
|>I've always used "enable" and "disable" both here on the 3B1 and at work
|>on our 3B20S to do what your talking about. Any user can do it.
|> 

That's fine if you want to temporarily disable printing of the jobs.
Generally for mundane printer operations...  What this user did was 
to create a new printer (not using the User Agent windows or lpsetup) using

/usr/lib/lpadmin (interface called Epson)

This by default creates a new printer that has the status "printer is not
accepting requests", you need to issue the initial "accept" to get the
printer status to:

scheduler is running
system default destination: Epson
members of class Parallel:
	Epson
device for Epson: /dev/lp
Epson accepting requests since Jan 31 12:31
Parallel accepting requests since Jan 31 12:31
printer Epson is idle.  enabled since Feb  5 21:26

If you "reject" a printer, when you attempt to queue a print job, lp
returns with an error message:

printer "Epson" is not accepting requests. (or something similar)

							-Lenny

-- 
============================ US MAIL:   Lenny Tropiano, ICUS Computer Group
 IIIII   CCC   U   U   SSSS             PO Box 1
   I    C   C  U   U  S                 Islip Terrace, New York  11752
   I    C      U   U   SSS   PHONE:     (516) 968-8576 [H] (516) 582-5525 [W] 
   I    C   C  U   U      S  AT&T MAIL: ...attmail!icus!lenny  TELEX: 154232428
 IIIII   CCC    UUU   SSSS   UUCP:
============================    ...{uunet!godfre, harvard!talcott}!\
                   ...{ihnp4, boulder, mtune, bc-cis, ptsfa, sbcs}! >icus!lenny 
"Usenet the final frontier"        ...{cmcl2!phri, hoptoad}!dasys1!/