printing on network printer

Dear Grass experts,

I wonder if someone could tell me how to set up a printer that is not
attached
to a machine through a tty device but has it's own ip address and prints
with
the lpr program. I would like to be able to use it for output with
p.map and
p.map new. It is a tekrtonix phaser 360. The installation manual does
not
seem to give this option, only printers directly attached to a machine's port.

I have been able to send to the printer output from ps.map but I would like
to use output from p.map.new because it gives more display options.

OS/ Iris 6.3
GRass version 4.2 v.19 binary distr.

Thank you

Francisco Estrada Belli
Boston University -Archaeology

Francisco Estrada Belli wrote:

Dear Grass experts,

I wonder if someone could tell me how to set up a printer that is not
attached
to a machine through a tty device but has it's own ip address and prints
with
the lpr program. I would like to be able to use it for output with

[...]

I print all through a HP Laser postscript printer on our local
Ethernet network. What I have done :

1- set up the printer (give him an IP address, +etc)
2- give a name to the printer (hplaser here) in the DNS server
   (or in /etc/hosts if you want to print even when your DNS server
   goes down :-()
3- update /etc/printcap and restart the lpd daemon. Here is the
   content of mine. look at the manual (printcap, section 5) for
   options detail and customizing (you need perhaps other settings)

lp|postscript:\
        :lp=:rm=hplaser:sd=/usr/spool/lp:sh:mx#0:\
        :af=/usr/adm/lp-acct:lf=/usr/adm/lpd-errs:

Hope this can help you,

--
Michel Wurtz ENGEES - Laboratoire Territoires & Environnement
                1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
                Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97