9fans archive / 1996 / 07 / 8 /    prev next

From: Ishwar Rattan rattan@cps...
Subject: man and printing files..
Date: Wed, 3 Jul 1996 10:54:44 -0400

Hello

I have a standalone PC/AT (8Mb RAM, 640x480x1 vga) running Plan9.
I can't make `man' command work properly (the result is shown below).

term% man 8c
troff: cannot do .ev 49; line 5, file stdin
stack: }F }E TH
stdin 1 0

I tried to use the printer (postscript Apple LaserWriter 360) connected
to the parallel port (0x378).

term% bind -a '#L2' /dev
term% cat one.c > /dev/lpt2data
term%

sends the file to printer but there is a problem with correct
translation of CRLFs. I can't find a command like `lp' to send
files to this printer.

Also is there a way to set up the printer daemon on a stand alone
so that files can be printed using `lp' command.

term% lp -d'?'
srv: dial net!bootes!9fs:  net!bootes!9fs: cs: can't translate address
mount: can't open /srv/bootes: file doesn't exist
could not set properly setup LSPOOL

I checked /srv/bootes does not exist.

Can somebody shed light on these things? Thanks.

Ishwar Rattan