From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Sat, 28 Jun 2014 13:01:54 +0200 Message-ID: To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] How to set up printing Topicbox-Message-UUID: fd600160-ead8-11e9-9d60-3106f5b1d025 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/backup.ms | lp -D -dlexmarkx203n this happens: grep '^lexmarkx203n[ ]' /sys/lib/lp/devices date test -e /sys/lib/lp/log/lexmarkx203n bind -b /sys/lib/lp/spooler /bin lpdspool bind -b /sys/lib/lp/process /bin /386/bin/aux/lpdsend -dx203n -tf -Hcwfs64x -Param - generic cat file /tmp/lp107693 /sys/lib/lp/process/tr2post echo '' awk -F, '{ n=3Dsplit($0, a, ","); for (i=3D1;i<=3Dn;i++) print a[i]; }' /sys/lib/lp/process/hpost eval /386/bin/aux/tr2post '' '' -c1 '' '' -pp '' '-P''%%Patch from lp %%EndPatch from lp ''' date /386/bin/aux/tr2post -c1 -pp '-P%%Patch from lp %%EndPatch from lp ' awk '{ if(match("cwfs64x", $1)) {print $2; exit}}' /lib/face/.machineli= st awk '/^cwfs64x\/aram /{print $2}' /lib/face/48x48x8/.dict awk '/^cwfs64x\/aram /{print $2}' /lib/face/48x48x4/.dict awk '/^cwfs64x\/aram /{print $2}' /lib/face/48x48x2/.dict awk '/^cwfs64x\/aram /{print $2}' /lib/face/48x48x1/.dict test -f /lib/face/48x48x1/u/unknown.1 test -r /lib/face/48x48x2/u/unknown.1 cat cat cat exit '' exit wait rm -f /tmp/lp107693 exit rm -f /tmp/lp107693 exit exit 'lpdspool 107692: |lpdsend 107695: 1' exit '' There is no effect on the printer. I can use this printer on Linux, BSD and OS X through LPR + generic postscript driver (no special Lexmark drivers). What to do? Thanks, --=20 Aram H=C4=83v=C4=83rneanu