SVR4: postio filter and /dev/lp---Does it work?

Lee Crocker lee at mport.COM
Tue Apr 23 03:13:45 AEST 1991


witr at 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 <filename>".  To print a PostScript
program file, use "lp -Tpostscript <filename>".

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 at mport.com (Microport)
...!uunet!mport!lee
73407.2030 at compuserve.com



More information about the Comp.unix.sysv386 mailing list