Getting Printing to work in Quartus.
Step-by-step:
Run /afs/engin.umich.edu/caen/rhel_4/quartus2-5.1/bin/mwcontrol
Select "Printers"
Select "Add new Printer"
Click next twice until you get a line that includes "Print command"
Change "Print command" to:
/bin/sh -c "/usr/um/bin/lpr %s ; rm %s"
Press Next
Change name to something (say New); Press Next
Select "Yes" when asked if you want it to be the default printer; Press Next
Select "Yes" when asked if you want to print a test page; Press Next
Press Finish
A test page should come out almost immediately.
The basic problem is that it was using the
default lpr rather than the umich one. And the umich one doesn't seem
to like piping input into it.
- Not use "lpr" but rather use /usr/um/bin/lpr
- Not use "cat %s | lpr" but rather use "/usr/um/bin/lpr %s".
You still need the rest of the stuff (sh and rm).