tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY :Printer problems
@ 1995-09-23  9:55 sloanp
  0 siblings, 0 replies; 3+ messages in thread
From: sloanp @ 1995-09-23  9:55 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks go to the following:

Murat Balci, balci@baum01.ege.edu.tr
Phil Kraus, phil@wolf.ncat.edu


My original mail :-


> 
> Hello,
> 
> I'm having some difficulty in setting up our Alpha 3600(running OSF v3.2) to 
> print to a DEClaser 2200. The Laserjet is connected to the RJ11 printer port.
> 
> When I request a print it just seems to sit in the queue forever and nothing 
> happens. Here's a copy of my /etc/printcap :-
>
> 
> 	lp|lp0|0|laser:\
>         :af=/usr/adm/lpacct:\
>         :br#9600:\
>         :ct=dev:\
>         :fc#0177777:\
>         :fs#023:\
>         :if=/usr/lbin/lpf:\
>         :lf=/usr/adm/lperr:\
>         :lp=/dev/tty01:\
>         :mx#0:\
>         :of=/usr/lbin/lpf:\
>         :pl#66:\
>         :pw#80:\
>         :sd=/usr/spool/lpd:\ 
>         :xc#0177777:\
>         :xf=/usr/lbin/xf:\
>         :xs#044000:
>******************************************************************************


The gist of the matter is that the DEClaser 2200 is of type ln06 and not lpf,
as Phil Krause <phil@wolf.ncat.edu> and Murat Balci <balci@baum01.ege.edu.tr> 
kindly pointed out. Also the device file I was using (/dev/tty00) was incorrect, 
it should have been /dev/ttyd1. Here's a copy of the working /etc/printcap file:

lp|lp0|0|lp|laser|phil:\
        :af=/usr/adm/lpacct:\
        :br#9600:\
        :ct=dev:\
        :fc#0177777:\
        :fs#03:\
        :if=/usr/lbin/ln06rof:\
        :lf=/usr/adm/lperr:\
        :lp=/dev/ttyd1:\
        :mc#20:\
        :mx#0:\
        :of=/usr/lbin/ln06rof:\
        :pl#66:\
        :pw#80:\
        :rw:\
        :sd=/usr/spool/lpd:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:

Once again, thanks to those who replied.

Regards Phil Sloan (sloanp@netview.shorts.co.uk)

	

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Summary: Printer Problems
@ 2001-06-08 20:45 Jonathan Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Williams @ 2001-06-08 20:45 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_008F_01C0F03A.63C35910", Size: 2345 bytes --]

This is a multi-part message in MIME format.

------=_NextPart_000_008F_01C0F03A.63C35910
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK, It turns out, I still have no idea what the problem was.  I called =
Compaq customer support, and they tried a whole bunch of stuff--none of =
which worked at all.  They suggested that I call the maker of the print =
server--Lantronix.  But before that I tried a whole bunch more =
stuff--then my network admin noticed that none of the NT servers could =
print to the new printer any longer.  He ended up restoring the factory =
defaults on the print server, and then the NT boxes worked.  I tried the =
Unix boxes again...and all of a sudden they worked too.  The whole thing =
has left me frustrated and annoyed, but at least it is working.  thanks =
to everyone who tried to help....

Jonathan Williams
UNIX Systems Administrator
The Shubert Organization, Inc.

------=_NextPart_000_008F_01C0F03A.63C35910
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3207.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>OK, It turns out, I still have no idea =
what the=20
problem was.&nbsp; I called Compaq customer support, and they tried a =
whole=20
bunch of stuff--none of which worked at all.&nbsp; They suggested that I =
call=20
the maker of the print server--Lantronix.&nbsp; But before that I tried =
a whole=20
bunch more stuff--then my network admin noticed that none of the NT =
servers=20
could print to the new printer any longer.&nbsp; He ended up restoring =
the=20
factory defaults on the print server, and then the NT boxes =
worked.&nbsp; I=20
tried the Unix boxes again...and all of a sudden they worked too.&nbsp; =
The=20
whole thing has left me frustrated and annoyed, but at least it is=20
working.&nbsp; thanks to everyone who tried to help....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>Jonathan Williams<BR>UNIX Systems=20
Administrator<BR>The Shubert Organization, =
Inc.</FONT></DIV></BODY></HTML>

------=_NextPart_000_008F_01C0F03A.63C35910--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY:  Printer Problems
@ 2002-04-30 14:25 Lisa.Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Lisa.Morris @ 2002-04-30 14:25 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D", Size: 10322 bytes --]

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: text/plain; charset=us-ascii

I found the solution on Compaq's website:

                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
  Error:"lpc: connect: No such file or directory couldn't start daemon"      
                                                                             
                                                                             
                                                                             
                                                                             
  Last Updated:                                                              
              2001-06-20                                                     
                                                                             
                           Solution-id:                                      
                                    260.0.4613290.2984716                    
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
  Environment:                                                               
                                (Embedded image moved to file: pic04827.gif) 
               Tru64 Unix                                                    
                                (Embedded image moved to file: pic05436.gif) 
               lpc                                                           
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
  Problem Description:                                                       
                                (Embedded image moved to file: pic32391.gif) 
     Error:"lpc: connect: No such file or directory couldn't start daemon"   
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
  Solution:                                                                  
                                (Embedded image moved to file: pic14604.gif) 
      1. First make sure that lpd is running and note the pid(s):            
                                                                             
      ps -ef | grep lpd                                                      
                                                                             
      2. Check the syslog.dated lpr log:                                     
                                                                             
      cd /var/adm/syslog.dated/latestlog                                     
      more lpr.log                                                           
                                                                             
      3. If the following error is received:                                 
                                                                             
      usr/spool/lpd.lock: locking failed: Operation would block              
                                                                             
      Then                                                                   
                                                                             
      kill the lpd daemon. (kill -9 the pids listed above)                   
                                                                             
      4.                                                                     
      mv /usr/spool/lpd.lock /usr/spool/lpdsave.lock                         
      cd /sbin/init.d                                                        
      ./lpd start                                                            
      lpc restart                                                            
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
  Cause:                                                                     
                                (Embedded image moved to file: pic03902.gif) 
     The problem occurs if 'something' has gone wrong with the queues and    
     spooling areas. The lpd.lock file is a file that contains the pid       
     of lpd. Sometimes it may have the wrong pid and not have been reset.    
                                                                             
                                                                             
                                                                             
                                                                             





I am running version 5.1 and I am having printer problems.  I have read and
tried everything in the System Administrators Guide and nothing works!!
Nothing will print out - when I try to print - I receive this error:

Job Number is: 71
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

I did an lpc status:

# lpc status
hpcolor_text:
        printer is on remote host feahpc with name text
        queuing is enabled
        printing is enabled
        no entries
        no daemon present
hpcolor_grp:
        printer is on remote host feahpc with name raw
        queuing is enabled
        printing is enabled
        1 entry in spool area
        no daemon present

this is what the lpstat -t looks like:

lpstat -t
System default destination: lp
Scheduler is running
Output for printer hpcolor_text is sent to remote printer text on feahpc
Output for printer hpcolor_grp is sent to remote printer raw on feahpc
hpcolor_text:
        printer is on remote host feahpc with name text
        queuing is enabled
        printing is enabled
        no entries
        no daemon present
hpcolor_grp:
        printer is on remote host feahpc with name raw
        queuing is enabled
        printing is enabled
        1 entry in spool area
        no daemon present
Requests on hpcolor_text:
vrdfeasrv.danavictor.com: Tue Apr 30 08:27:15 2002:
No entries


Requests on hpcolor_grp:

vrdfeasrv.danavictor.com: Warning: no daemon present
vrdfeasrv.danavictor.com: Tue Apr 30 08:36:33 2002:
Rank   Pri Owner      Job     Files                              Total Size
1st    0   root       71      lisa.txt                             32 bytes

No entries

Since it said it could not start the daemon - I started it:

# /sbin/init.d/lpd start
Printer service started

Still nothing - it just sits in the queue.  I hope I gave everyone enough
information.  This is not a new printer setup - everyone has been printing
okay for years.  Not sure what happened or what I can do to fix the problem
- but any help would be appreciated.

Lisa Morris



--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: image/gif; 
	name="pic04827.gif"
Content-Disposition: attachment; filename="pic04827.gif"
Content-transfer-encoding: base64

R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX
CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw==

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: image/gif; 
	name="pic05436.gif"
Content-Disposition: attachment; filename="pic05436.gif"
Content-transfer-encoding: base64

R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX
CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw==

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: image/gif; 
	name="pic32391.gif"
Content-Disposition: attachment; filename="pic32391.gif"
Content-transfer-encoding: base64

R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX
CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw==

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: image/gif; 
	name="pic14604.gif"
Content-Disposition: attachment; filename="pic14604.gif"
Content-transfer-encoding: base64

R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX
CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw==

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D
Content-type: image/gif; 
	name="pic03902.gif"
Content-Disposition: attachment; filename="pic03902.gif"
Content-transfer-encoding: base64

R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX
CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw==

--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-30 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-23  9:55 SUMMARY :Printer problems sloanp
  -- strict thread matches above, loose matches on Subject: below --
2001-06-08 20:45 Summary: Printer Problems Jonathan Williams
2002-04-30 14:25 SUMMARY: " Lisa.Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox