Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
@ 2001-03-04 20:23 Tom Sevy
  2001-03-07  3:44 ` Matt
  2001-03-07  7:14 ` Jack Patteeuw
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Sevy @ 2001-03-04 20:23 UTC (permalink / raw)


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?





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

* Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Matt @ 2001-03-07  3:44 UTC (permalink / raw)


Try making the printcap as simple as possible, to start.  I would rem out
the if, of, pl, pw lines.  See if you can get it to print some simple
text.  I have played with getting Tru64 to print to Windows based lpr
(WinNT 4.0) and it did work, although not 100% reliably.  It may also be
an issue with the deskjet, since some don't like to be networked in any
way.
Good luck.

In article <97u890$2fp$1@grendel.conectiv.net>, "Tom Sevy"
<tsevy@conectiv.net> 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?
> 
> 
>


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

* Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
  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-07  7:14 ` Jack Patteeuw
  2001-03-07  7:26   ` Jack Patteeuw
  1 sibling, 1 reply; 5+ messages in thread
From: Jack Patteeuw @ 2001-03-07  7:14 UTC (permalink / raw)


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?


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

* Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
  2001-03-07  7:14 ` Jack Patteeuw
@ 2001-03-07  7:26   ` Jack Patteeuw
  0 siblings, 0 replies; 5+ messages in thread
From: Jack Patteeuw @ 2001-03-07  7:26 UTC (permalink / raw)


Think twice, hit return once Jack !!

Jack Patteeuw wrote:
> 
   <snip>
> 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" 

<snip>

Actually for remote printing lp should be set to null !!

The following is a working printcap entry for remote printing.  Note the
"local queue name" is the first entry, the only line starting in column
1.  mx#0 is for printing large files.

eee_lps32_1:\
        :rp=eee_lps32_1:\
        :rm=pt9500.pcse.poee.ford.com:\
        :sd=/var/spool/eee_lps32_1:\
        :lf=/usr/adm/eee_lps32_1.log:\
        :lp=:\
        :mx#0:


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

* Re: Printing to HP Deskjet using TCP/IP printing on Win 2000 ?
  2001-03-07  3:44 ` Matt
@ 2001-03-20 16:45   ` Tony
  0 siblings, 0 replies; 5+ messages in thread
From: Tony @ 2001-03-20 16:45 UTC (permalink / raw)


As you have this line defined in  :lp=@nt2118wk/printer:\
try using IP address of printer and bypass DNS. also using HP printers in
Unix
port /printer must have entry in etc/services file. May want to find out
from HP
what is default port number for W2K. In Unix it is 9100/tcp
good luck
Tony


"Matt" <mattpayton@hotmail.com> wrote in message
news:48ip6.1984$oz.220034@newsread1.prod.itd.earthlink.net...
> Try making the printcap as simple as possible, to start.  I would rem out
> the if, of, pl, pw lines.  See if you can get it to print some simple
> text.  I have played with getting Tru64 to print to Windows based lpr
> (WinNT 4.0) and it did work, although not 100% reliably.  It may also be
> an issue with the deskjet, since some don't like to be networked in any
> way.
> Good luck.
>
> In article <97u890$2fp$1@grendel.conectiv.net>, "Tom Sevy"
> <tsevy@conectiv.net> 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?
> >
> >
> >




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

end of thread, other threads:[~2001-03-20 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2001-03-07  7:26   ` Jack Patteeuw

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