From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3cb436167a6fecc3af06c0d2de6c85ad@csplan9.rit.edu> To: 9fans@9fans.net Date: Mon, 26 Jan 2009 15:17:30 -0500 From: john@csplan9.rit.edu In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] recompiling gs Topicbox-Message-UUID: 892fbf14-ead4-11e9-9d60-3106f5b1d025 > Last year, I set up my old Okidata Microline 320 dot-matrix printer on > Plan 9 (text-only print, no postscript as I recall), but in the time > since then my old hard drive has failed and I've had to get a new > system set up. This time, I'd like to try getting it to print with gs > so I can have a few amenities. > > It looks like I'll want to use the okiibm driver, so I put that in the > DRIVERS= section of /sys/src/cmd/gs/mkfile, ran mk fake-make and then > mk install. gs successfully built, but gs -h doesn't show okiibm > among the available devices. Have I missed a step here? > > > Thanks > > John Floren I think I've solved the problem by changing the mkfile from: src/plan9.mak: src/unixansi.mak /sys/src/cmd/gs/contrib9.mak to src/plan9.mak: src/unixansi.mak /sys/src/cmd/gs/contrib9.mak\ src/contrib.mak in addition to adding okiibm to the DRIVERS section. Now 'gs -h' includes okiibm, and a remotely-performed lp command has completed without errors; when I get home at 6 I'll be able to see if it worked or not. John