From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1490adf1aed2b152 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-06 20:18:05 PST Path: supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Jack Patteeuw Newsgroups: comp.unix.tru64 Subject: Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ? Date: Tue, 06 Mar 2001 23:14:03 -0800 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3AA5DFBB.4C0DAD52@peoplepc.com> X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 References: <97u890$2fp$1@grendel.conectiv.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.unix.tru64:1795 RTFM ! http://tru64unix.compaq.com/faqs/publications/base_doc/DOCUMENTATION/V51_HTML/ARH94BTE/INDEX_P.HTM Section 8.4.8 says "On the remote machine that will use the printer, you must specify the rm, rp, lp, and sd symbols." The only other printcap symbol that should be used in a remote printcap entry is lf. To review: lp - the name of the "local" print queue; i.e. lpr -P this is a required printcap symbol and should contain no "special characters" such as @ and / it does not have to be the same as the remote print queue name sd - spool directory; typically /var/spool/ lf - log file; typically /var/adm/ rm - remote machine; the system you are sending the data to rp - remote print queue name All formatting is handled by the remote machine (or some local application like a2ps) Check the log file (the lf entry) for errors Jack Tom Sevy wrote: > > I have a Windows 2000 system running TCP/IP print service. I am trying to > print to it from Tru64 V5.1. However, it prints the first line only and > stops. > > Printcap contains this entry for lp2 > > -------------------------------- > > lp2|2|lp|tls:\ > :if=/usr/lbin/pcfof +Cgeneric_text1.pcf:\ > :lf=/usr/adm/lp2err:\ > # :lp=@nt2118wk/printer:\ > :mx#0:\ > :of=/usr/lbin/pcfof +Cgeneric_text1.pcf:\ > :pl#66:\ > :pw#80:\ > :rm=nt2118wk:\ > :rp=lp:\ > :rw:\ > :sd=/usr/spool/lpd2:\ > :xf=/usr/lbin/xf: > --------------------------------------- > > Tried lp=@nt2118wk/printer first, but this resulted in errors logged in the > W2K system's event log about invalid format or invalid command. So I > changed to rm= and rp= and that is what yields the single line and quits. > > Any suggestions on how to remedy this?