I have a networked PostScript printer that speaks LPR. I have no idea
how to make it work in Plan 9.
I have edited /sys/lib/lp/devices and added:
# Lexmark X203N
lexmarkx203n - - x203n - post+600dpi generic lpdspool lpd - -
Of course I can ping x203n.
When I do
troff -ms /sys/doc/
I have this in /sys/lib/lp/log/lexmarkx203n.s
connecting to tcp!-!printer
trying from port 721...failed
trying from port 722...failed
trying from port 723...failed
trying from port 724...failed
trying from port 725...failed
trying from port 726...failed
trying from port 727...failed
trying
This works:
addpsfonts /sys/doc/backup.ps | lp -H -dlexmarkx203n
Thanks David.
--
Aram Hăvărneanu
> Also, I tried to print a Plan 9 paper and the font is all wrong. I
> guess the printer doesn't have the correct fonts. What to do in this
> case?
You should pipe your PostScript file through the addpsfonts
command to embed the required fonts.
--
David du Colombier