Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mport!lee From: lee@mport.COM (Lee Crocker) Newsgroups: comp.unix.sysv386 Subject: Re: SVR4: postio filter and /dev/lp---Does it work? Message-ID: <49@mport.COM> Date: 22 Apr 91 17:13:45 GMT References: <1991Apr19.210815.8136@rwwa.COM> <1991Apr21.023535.12218@rwwa.COM> Organization: Microport Inc., Scotts Vally, CA Lines: 41 witr@rwwa.COM (Robert Withrow) writes: >Has *anyone* gotten *any* postscript printer to work with SVR4? We at Microport use an Apple Laserwriter with our SVR4. It is on a 9600 bps serial connection, and I used the following setup procedure: (su to root) $ lpadmin -p apple -v /dev/tty00 -I PS -T PS $ lpfilter -f postio -l >temp The file "temp" should contain a line that starts "Command: /usr...". Edit this to read: Command: /usr/lib/lp/postscript/postio -l/dev/tty00 -b9600 Then continue: $ lpfilter -f postio -F temp $ rm temp $ accept apple $ enable apple $ lpadmin -d apple Now, to print a plain text file, just "lp ". To print a PostScript program file, use "lp -Tpostscript ". You can verify that postio can communicate with your printer by running it in interactive mode: $ /usr/lib/lp/postscript/postio -l/dev/tty00 -i After it comes up, type "executive" and press return. You will not see the word as you type it, but you will see a banner, and then the printer will start echoing what you type. From here, you can send interactive commands to the printer. Try "FontDirectory { pop == } forall". EOF (Ctrl-D) quits. -- Lee Daniel Crocker lee@mport.com (Microport) ...!uunet!mport!lee 73407.2030@compuserve.com