Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Jack Patteeuw <jjpatteeuw@peoplepc.com>
Subject: Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
Date: Tue, 06 Mar 2001 23:14:03 -0800	[thread overview]
Message-ID: <3AA5DFBB.4C0DAD52@peoplepc.com> (raw)
In-Reply-To: 97u890$2fp$1@grendel.conectiv.net

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<local_queue_name>
     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/<local_queue_name>
lf - log file; typically /var/adm/<local_queue_name>
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?


  parent reply	other threads:[~2001-03-07  7:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-04 20:23 Printing to HP Deskjet using TCP/IP printing on Win 2000 ? Tom Sevy
2001-03-07  3:44 ` Matt
2001-03-20 16:45   ` Tony
2001-03-07  7:14 ` Jack Patteeuw [this message]
2001-03-07  7:26   ` Jack Patteeuw
read-only archive

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