250 likes | 468 Views
Laser Printers on Ratex. Alan Carson carso018@umn.edu. Why Laser Printers?. Less Expensive Easier to read (arguable) Less maintenance Networked. There are other ways to do this. But this is how we did it:. Basic Overview. Set up a printer on your system
E N D
Laser Printers on Ratex Alan Carson carso018@umn.edu
Why Laser Printers? • Less Expensive • Easier to read (arguable) • Less maintenance • Networked
There are other ways to do this But this is how we did it:
Basic Overview • Set up a printer on your system • Create a driver to pipe UniVerse print jobs through your system printer • Set up a printer in UniVerse and point it to the driver
Set up Network Printers on AIX • Make sure qdaemon is running # ps -ef|grep qdaemon # more /etc/inittab qdaemon:2:wait:/usr/bin/startsrc –sqdaemon • Add printer IP address to /etc/hosts 192.168.150.155 hpstpaul
Set up Network Printers on AIX • Allow printer IP through any firewalls
Set up Network Printers on AIX • Create printer queue using smit # smit print
Set up Network Printers on AIX • Choose Remote printer – Local Filtering
Set up Network Printers on AIX • Select printer make and model • If AIX asks for drivers, install them from installation CDs • Hewlett-Packard • hplj-4 Hewlett-Packard LaserJet 4,4M Make and model example above works for all of our HP and non-HP printers
Set up Network Printers on AIX • Configure name of queue and IP address
Verify Print Queue is Working • Run lpstat hpstpau @192 READY hpstpaul: JetDirect lpd: no jobs queued on this port • Print a test page /usr/bin/qprt -Phpstpaul /etc/hosts
Change Attributes of Print Queue • Run lsvirprt and enter printer number • Enter mU~v to add 13pt font
Create UniVerse Printer Driver # vi /usr/spool/uv/lpr.drvr # chmod a+rx /usr/spool/uv/lpr.drvr
Create UniVerse Printer Driver • Other example drivers: cat - | lpr –P hpstpaul lp –d hpstpaul –o landscape
Create Print Queue in UniVerse • su to root and from uv, LOGTO UV
Create Print Queue in UniVerse • Enter info and reread spooler config file
Create Print Queue in UniVerse • If multiple printers, better to set up other null devices (or lock file from previous screen shot) ln -s /dev/null /dev/null-LJ1 ln -s /dev/null /dev/null-LJ2 ln -s /dev/null /dev/null-LP1 Because of Universe internal locking mechanism to prevent contention for the same printer.
Verify UniVerse Print Queue > SPOOL –LIST Printer: CP17 Q: on P: on Form: no entries.
Set up Printer in Ratex • Printer Control – Define Printer Forms
Adjust Printer Driver for Needs • Examples: /usr/bin/qprt -Phpstpaul -scourier-bold -p12 /usr/bin/qprt -Phpstpaul -w130 -l51 -scourier-bold -p12 -z+ /usr/bin/qprt -Phpstpaul -w135 -l65 -p13 -z+
Utility to Restart Print Queue • (see included program print out)
Utility to Restart Print Queue • (see included program print out)
Utility to Restart Print Queue • Compile and create entry to *.MPQ file LPSTART 0001: PQ 0002: HRUN USER.BP PRINT.MENU 0003: P • Maintain Menu Items 11 43,12 25 - Printer Queues 25 LPSTART N
THE END Alan Carson carso018@umn.edu