@(#) Shows how to print from physgi01 @(#) Updated 8/24/94 > Available Printers (PS = PostScript, trans = transparency) NAME MODEL LOCATION FORMAT MEDIUM ---- ----- -------- ------ ------- generic line printer CSCF ASCII z-fold paper lz510b Talaris 1590-T Rm 2-77 ASCII,PS paper lzpsa LaserWriter CSCF PS paper lzta Talaris 800 CSCF ASCII paper lztb Talaris 1590-T CSCF PS paper lzt24a QMS 2400 CSCF ASCII paper phyqms QMS 1700 Rm 1-240 ASCII,PS paper psct510a Tek Phaser II Rm 1-240 color PS trans ps510q QMS 860 Rm 1-184 ASCII,PS paper > Print Commands - lp : System V Print Spooler; primary system supported under IRIX Type man lp for detailed information. - lpr : BSD Print Spooler; supported under IRIX for compatibility Type man lpr for detailed information. - clpr : BNL Cluster Print Utility; prints on CSCF VAX Cluster printers Type man clpr for detailed information. - qpr : QMS Print Spooler; provides options for controlling special features of certain QMS printers. Type man qpr for detailed information. > How to print ASCII files on spedific printers "file" represents the name of the ASCII file to be printed. ">" represents the shell prompt - generic (generic line printer) > clpr -ffile - lz510b > lp -dlz510b file > clpr -ffile -qlz510b - lzta > clpr -ffile -qlzta - lztb > clpr -ffile -qlztb - lzt24a > clpr -ffile -qlzt24a - phyqms > lp -dphyqms file > qpr -P phyqms file - ps510q > lpr -P ps510q file > How to print PostSctipt files on specific printers "file" represents the name of the PostScript file to be printed. ">" represents the shell prompt - lzpsa > clpr -ffile -qlzpsa - lztb > clpr -ffile -qlztb - lz510b > lp -dlz510b -opsi file - phyqms > lp -dphyqms file > qpr -P phyqms file - psct510a (transparency) > lp -dpsct510a file - ps510q > lpr -P ps510q file > Printing on CCD VAX Cluster Printers - Use the clpr command (type man clpr for more information on clpr command) - Select printer by specifying -q option lz510b Talaris 1590-T in Rm 2-77 lzpsa LaserWriter at CCD PostScript lzta Talaris 800 at CCD lztb Talaris 1590- at CCD PostSctipt lzt24a QMS 2400 at CCD - Select font and mode with -s option lz510b: R610P Roman 10-pt portrait R612P Roman 12-pt portrait S610P sans serif 10-pt portrait S612P sand serif 12-pt portrait Ex: > clpr -fmyfile # Prints myfile on default cluster printer. Ex: > clpr -fmyfile -qlz510b -sS610P # Prints myfile on lz510b with # sans serif 10-pt font, portrait - Printing PostScript Files Ex: > clpr -qlzpsa -ps -fmyfile.ps # Prints myfile.ps on CCD LaserWriter NOTE: .ps file extension is required for lzpsa Ex: > clpr -qlztb -fmyfile.ps # Prints myfile.ps on CCD Talaris > Printing on network printers - Printers available: phyqms - Bldg 510, RM 1-240 lz510b - Bldg 510, RM 2-77 - print: Use the lp command (type man lp for information on lp command) Ex: > lp -d lz510b myfile #Prints myfile in current directory on lz510b - set default printer: Define environment variable LPDEST Ex: > setenv LPDEST lz510b # Sets default to lz510b - get status: Use lpstat command Ex: > lpstat lz510b-69 nepsee 87 Jun 22 09:55 Ex: > lpstat -t # Lists all status information scheduler is running no system default destination device for lz510b: /dev/nulllz510b lz510b not accepting requests since Jun 23 10:43 - Talaris printer out for repair printer lz510b disabled since Jun 23 10:38 - Talaris printer out for repair - cancel requests: Use cancel command Ex: > cancel lz510b-69 # Cancels pending request listed by lpstat - disable printer Use disable command: Ex: > disable -c -r"Talaris printer out for repair" lz510b # Disables printer lz510b # -c cancels any requests currently printing # -r posts text message stating reason - enable printer: Use enable command Ex: > enable lz510b - prevent print requests: Use reject command (RESTRICTED) Ex: > /usr/lib/reject -r"Talaris printer out for repair" lz510b # Prevents queueing requests to lz510b # -r posts text message stating reason - allow print requests: Use accept command (RESTRICTED) Ex: > /usr/lib/accept lz510b # Allows requests to lz510b