Hi Mike,I suppose I should know how to do this by now but for some reason I always
seem to get stuck. I looked in the FAQs and in various manuals to no avail.
Running 2.12.2 export on Redhat Enterprise Linux 4, I use
an external, networked Lexmark T522 printer as a default. So, for example
at the unix prompt 'echo "hi" | lpr' sends the text string 'hi' to the printer, which
lives at its own IP address on port 9100.Within IRAF, 'show printer' returns 'lpr' and in dev$graphcap I have
lpr|lp|lw :tc=g-lprwhich as I recall aliases lpr, lp, and lw to g-lpr within IRAF. Later in the graphcap
file there is a generic entry
g-lpr|UNIX generic interface to default printer device (lpr):\
D=lpr,tmp$sgk,!{ sgidispatch sgi2uapl $F -l$(XO) -w$(XW) \
-b$(YO) -h$(YW) -p$(PW) | lpr ; rm $F ; }&:tc=sgi_apl:which, if I understand correctly, instructs IRAF to convert its gki code to sgi,
and then sgi to postscript to send to the default unix lpr device......ok..... So within IRAF, lprint works, i.e. 'imhead file.imh | lprint' does what
it is supposed to do. But splot followed by :.snap simply hangs the system.
For what it is worth, stdplot=lp and stdgraph=xgterm. I launch IRAF from an
xgterm.Suggestions?Pat Hartigan