From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306680.tru64-unix-managers.marc@archive.invalid> From: sloanp () netview ! shorts ! co ! uk Date: Sat, 23 Sep 1995 09:55:00 +0000 To: tru64-unix-managers Subject: SUMMARY :Printer problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306680 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 and Murat Balci 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) From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621742.tru64-unix-managers.marc@archive.invalid> From: Jonathan Williams Date: Fri, 08 Jun 2001 20:45:13 +0000 To: tru64-unix-managers Subject: Summary: Printer Problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621742 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_NextPart_000_008F_01C0F03A.63C35910" 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
OK, It turns out, I still have no idea = what the=20 problem was.  I called Compaq customer support, and they tried a = whole=20 bunch of stuff--none of which worked at all.  They suggested that I = call=20 the maker of the print server--Lantronix.  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.  He ended up restoring = the=20 factory defaults on the print server, and then the NT boxes = worked.  I=20 tried the Unix boxes again...and all of a sudden they worked too.  = The=20 whole thing has left me frustrated and annoyed, but at least it is=20 working.  thanks to everyone who tried to help....

Jonathan Williams
UNIX Systems=20 Administrator
The Shubert Organization, = Inc.
------=_NextPart_000_008F_01C0F03A.63C35910-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322676.tru64-unix-managers.marc@archive.invalid> From: Lisa.Morris () victorreinz ! com Date: Tue, 30 Apr 2002 14:25:45 +0000 To: tru64-unix-managers Subject: SUMMARY: Printer Problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322676 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D" --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--