Thanks to:
Robert Benites <benites_at_cs.unca.edu>
Paul Watson <phwatso_at_cooper-energy-services.com>
Jacques Demeulemeester <demeule_at_univ-lille3.fr>
Pirie Hart <pirie_at_u.washington.edu>
Lucio Chiappetti <lucio_at_ifctr.mi.cnr.it>
as well as anyone else that will respond.
Original questions:
>1/ I wish to change timezone from GMT to EST. I run thru /usr/sbin/timezone
> and it does update /etc/svid2_tZ. Yet even after reboot, the time remains
> GMT. First off, what is " SVID-2 habitat" described in the timezone
> manpages? I also editted /etc/TIMEZONE but that didn't seem to make a
> difference.
>
>2/ I also wish to add a network printer (tcp/ip, not lat). This machine
> is an HPlaserjet4, has no security associated with it and can easily
> be added to Suns, HPs and AIX generally using lpsystem, lpadmin etc.
> I've played around with lprsetup and printconfig without much luck.
> I presume the latter is really for direct connected or LAT printers.
> So what's the secret incantation?
For Timezone, you need to make a link between /etc/zoneinfo/localtime and
whatever timezone you want eg
ln -s /etc/zoneinfo/US/Eastern /etc/zoneinfo/localtime.
My inherited machine was set to GMT but had no localtime link...
For network Printers, unlike hp and solaris, you need a printcap file. I
created one with two entries to handle text and postscript:
printer-text:\
:lf=/usr/adm/lp-err:\
:lp=:\
:mx#0:\
:rm=remote-network-printer-name:\
:rp=text:\
:rw:\
:sd=/usr/spool/printertext:\
:sh:
printer-ps:\
:lf=/usr/adm/lp-err:\
:lp=:\
:mx#0:\
:rm=remote-network-printer-name:\
:rp=postscript:\
:rw:\
:sd=/usr/spool/printerdir:\
:sh:
So "rp" defines whether it'll handle <LF><CR>
And now, a freebie from me. Using the above, you can snapshot your screen or
window (depending on where you click your cursor) using:
xwd | xpr -device ps | lp -dprinter-ps
=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Stern Flight Dynamics
dave_at_davka.gsfc.nasa.gov Goddard Space Flight Ctr
Building 23 Room S226 301-286-9786
Received on Mon Nov 23 1998 - 17:31:14 NZDT