Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* HELP WITH NETWORK PRINTER SETUP
@ 2002-09-12 15:14 Jack Frillman
  2002-09-16  8:45 ` Leo Mayerhofer
  2002-09-21  1:01 ` dsamuels
  0 siblings, 2 replies; 6+ messages in thread
From: Jack Frillman @ 2002-09-12 15:14 UTC (permalink / raw)


I have read the HOWTO and I am still unable to get the network printer
to print from our DEC ALPHA.

Here are the specifics.

OS:  Tru64 4.0F
PRINTER: HP Laserjet 4

Entry in /etc/printcap: (NOTE: I have blanked out the IP address)

lp0|0|lp:\
        :ct=tcp:\
        :af=/usr/adm/lpacct:\
        :if=/usr/lbin/hplaser4psof:\
        :lf=/usr/adm/lp0err:\
        :lp=:@xxx.xxx.xxx.xxx/port_9100\
        :mx#0:\
        :of=/usr/lbin/hplaser4psof:\
        :lp#66:\
        :lw#80:\
        :rw:\
        :sd=/usr/spool/lpd0:\
        :xf=/usr/lbin/xf:

I added the following entry to /etc/services:

port_9100       9100/tcp      # added 9/12/2002 JCF

After making the  above changes I rebooted the computer and tried printing
a file like this -->   lp .login

When I do an lpq I see this:
 
Rank   Pri Owner      Job  Files                                 Total Size
1st    0   root       3    .login                               1474 bytes

But nothing prints on the printer.

And the contents of the /usr/adm/lp0err file is .. well ther is no contents.
The file is empty:

-rw-r--r--   1 daemon   daemon         0 Sep 12 09:52 /usr/adm/lp0err

I am stumped. 

Any ideas on what is going on here?


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

* Re: HELP WITH NETWORK PRINTER SETUP
  2002-09-12 15:14 HELP WITH NETWORK PRINTER SETUP Jack Frillman
@ 2002-09-16  8:45 ` Leo Mayerhofer
  2002-09-16 19:29   ` Jack Frillman
  2002-09-21  1:01 ` dsamuels
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Mayerhofer @ 2002-09-16  8:45 UTC (permalink / raw)



try this: :-)

	:lp=@xxx.xxx.xxx.xxx/port_9100:\


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

* Re: HELP WITH NETWORK PRINTER SETUP
  2002-09-16  8:45 ` Leo Mayerhofer
@ 2002-09-16 19:29   ` Jack Frillman
  2002-09-16 23:37     ` Dave Uhring
  0 siblings, 1 reply; 6+ messages in thread
From: Jack Frillman @ 2002-09-16 19:29 UTC (permalink / raw)


Leo Mayerhofer <leo@vmars.tuwien.ac.at> wrote in message news:<3D859A3C.7A02784B@vmars.tuwien.ac.at>...
> try this: :-)
> 
> 	:lp=@xxx.xxx.xxx.xxx/port_9100:\

Made that correction and a couple of others and it still does not work.
I can ping the the printer. I look in to the system logs I find this:

+++++++++++++++++++++

Sep 16 07:30:32 popt1 lpd[1210]: DEBUG -- openpr: opening TCP connection, printe
r lp
Sep 16 07:30:32 popt1 lpd[1210]: DEBUG -- Entering tcp_open()
Sep 16 07:30:32 popt1 lpd[1210]: DEBUG -- Entering tcp_conn()
Sep 16 07:30:32 popt1 lpd[1210]: ERROR -- /usr/lbin/lpd: Service 'port_9100^I/tc
p' not defined. Fix /etc/services.
Sep 16 07:30:32 popt1 lpd[1210]: ERROR -- exiting ...
Sep 16 07:30:32 popt1 lpd[1210]: INFO -- printjob_exit: breaking promise to proc
ess all queued print jobs since this daemon was asked to exit now, printer lp 

++++++++++++++++++++++++++++++++

What is weird is the reference to port_9100^I/tcp .

I checked /etc/services and even entered the the line just in case I had a
hidden control char in there but it still does not work.


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

* Re: HELP WITH NETWORK PRINTER SETUP
  2002-09-16 19:29   ` Jack Frillman
@ 2002-09-16 23:37     ` Dave Uhring
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Uhring @ 2002-09-16 23:37 UTC (permalink / raw)


Jack Frillman wrote:

> What is weird is the reference to port_9100^I/tcp .
> 
> I checked /etc/services and even entered the the line just in case I
> had a hidden control char in there but it still does not work.

Here is the line from /etc/services on Red Hat Linux.  Tru64-5.0a and 
Solaris 8 do not have that entry:

jetdirect       9100/tcp        laserjet hplj   #



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

* Re: HELP WITH NETWORK PRINTER SETUP
  2002-09-12 15:14 HELP WITH NETWORK PRINTER SETUP Jack Frillman
  2002-09-16  8:45 ` Leo Mayerhofer
@ 2002-09-21  1:01 ` dsamuels
  2002-09-30 15:00   ` Martin Brodie
  1 sibling, 1 reply; 6+ messages in thread
From: dsamuels @ 2002-09-21  1:01 UTC (permalink / raw)


1. You'll also need to add the ip address for the printer in /etc/hosts.
2. The entry in /etc/services is correct: port_9100 9100/tcp # Comments
3. The entry in /etc/printcap is fine.

Dave

"Jack Frillman" <jack.frillman@wpafb.af.mil> wrote in message
news:993d885.0209120714.485815d6@posting.google.com...
> I have read the HOWTO and I am still unable to get the network printer
> to print from our DEC ALPHA.
>
> Here are the specifics.
>
> OS:  Tru64 4.0F
> PRINTER: HP Laserjet 4
>
> Entry in /etc/printcap: (NOTE: I have blanked out the IP address)
>
> lp0|0|lp:\
>         :ct=tcp:\
>         :af=/usr/adm/lpacct:\
>         :if=/usr/lbin/hplaser4psof:\
>         :lf=/usr/adm/lp0err:\
>         :lp=:@xxx.xxx.xxx.xxx/port_9100\
>         :mx#0:\
>         :of=/usr/lbin/hplaser4psof:\
>         :lp#66:\
>         :lw#80:\
>         :rw:\
>         :sd=/usr/spool/lpd0:\
>         :xf=/usr/lbin/xf:
>
> I added the following entry to /etc/services:
>
> port_9100       9100/tcp      # added 9/12/2002 JCF
>
> After making the  above changes I rebooted the computer and tried printing
> a file like this -->   lp .login
>
> When I do an lpq I see this:
>
> Rank   Pri Owner      Job  Files                                 Total
Size
> 1st    0   root       3    .login                               1474 bytes
>
> But nothing prints on the printer.
>
> And the contents of the /usr/adm/lp0err file is .. well ther is no
contents.
> The file is empty:
>
> -rw-r--r--   1 daemon   daemon         0 Sep 12 09:52 /usr/adm/lp0err
>
> I am stumped.
>
> Any ideas on what is going on here?
>




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

* Re: HELP WITH NETWORK PRINTER SETUP
  2002-09-21  1:01 ` dsamuels
@ 2002-09-30 15:00   ` Martin Brodie
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Brodie @ 2002-09-30 15:00 UTC (permalink / raw)


If just using the queue as a passthru without any intervention then
the following should be the minimal entry in printcap:

lp0|0|lp:\
        :lf=/usr/adm/lp0err:\
        :lp=\
        :rm=xxx.xxx.xxx.xxx
        :rp=9100
        :sd=/usr/spool/lpd0:\

no entry in /etc/hosts needed unless you decide to use a name than
address;
This queue would be to create a 'remote' printer using lprsetup.

"dsamuels" <dsgroup@sbcglobal.net> wrote in message news:<oxPi9.488$005.274235@newssrv26.news.prodigy.com>...
> 1. You'll also need to add the ip address for the printer in /etc/hosts.
> 2. The entry in /etc/services is correct: port_9100 9100/tcp # Comments
> 3. The entry in /etc/printcap is fine.
> 
> Dave
> 
> "Jack Frillman" <jack.frillman@wpafb.af.mil> wrote in message
> news:993d885.0209120714.485815d6@posting.google.com...
> > I have read the HOWTO and I am still unable to get the network printer
> > to print from our DEC ALPHA.
> >
> > Here are the specifics.
> >
> > OS:  Tru64 4.0F
> > PRINTER: HP Laserjet 4
> >
> > Entry in /etc/printcap: (NOTE: I have blanked out the IP address)
> >
> > lp0|0|lp:\
> >         :ct=tcp:\
> >         :af=/usr/adm/lpacct:\
> >         :if=/usr/lbin/hplaser4psof:\
> >         :lf=/usr/adm/lp0err:\
> >         :lp=:@xxx.xxx.xxx.xxx/port_9100\
> >         :mx#0:\
> >         :of=/usr/lbin/hplaser4psof:\
> >         :lp#66:\
> >         :lw#80:\
> >         :rw:\
> >         :sd=/usr/spool/lpd0:\
> >         :xf=/usr/lbin/xf:
> >
> > I added the following entry to /etc/services:
> >
> > port_9100       9100/tcp      # added 9/12/2002 JCF
> >
> > After making the  above changes I rebooted the computer and tried printing
> > a file like this -->   lp .login
> >
> > When I do an lpq I see this:
> >
> > Rank   Pri Owner      Job  Files                                 Total
>  Size
> > 1st    0   root       3    .login                               1474 bytes
> >
> > But nothing prints on the printer.
> >
> > And the contents of the /usr/adm/lp0err file is .. well ther is no
>  contents.
> > The file is empty:
> >
> > -rw-r--r--   1 daemon   daemon         0 Sep 12 09:52 /usr/adm/lp0err
> >
> > I am stumped.
> >
> > Any ideas on what is going on here?
> >


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

end of thread, other threads:[~2002-09-30 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12 15:14 HELP WITH NETWORK PRINTER SETUP Jack Frillman
2002-09-16  8:45 ` Leo Mayerhofer
2002-09-16 19:29   ` Jack Frillman
2002-09-16 23:37     ` Dave Uhring
2002-09-21  1:01 ` dsamuels
2002-09-30 15:00   ` Martin Brodie

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