* [9fans] Printing: Plan 9 to Unix
@ 1998-12-16 6:33 ed
0 siblings, 0 replies; only message in thread
From: ed @ 1998-12-16 6:33 UTC (permalink / raw)
Not elegant, but I have been using these for years. Have Unix accounts
with the same login as the plan 9 name and set the Unix .rhosts file to allow
access from the plan9 systems. Then:
#!/bin/rc
cat $1 | rx Unix_system 'cat | /usr/local/bin/enscript -G -Jplan9 -Pstaff'
will enscript a file to a unix printer. A simple:
cat file | rx Unix-system 'lpr -Pprinter'
works. Carrying troff from plan 9 to Unix requires some adjustment
since I find the page offset defaults different. I usually print
through a BSD system because I am more familiar with the print
options.
troff -m[es] file | aux/tr2post | rx unix_system 'lpr -Pprinter'
Ed Wishart
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-16 6:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-16 6:33 [9fans] Printing: Plan 9 to Unix ed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).