Last change # Time-stamp: "97/02/26 15:25:33 antilog"

How to print at CERN


List of known DELPHI xprint printers

Usage : xprint -Pprinter_name file_name For more information have a look to the Printer Support page ( Who to call in case of problem with a printer , ...)

How to print in DELICE

How to print from CERNSP/HPPLUS on DELICE : rlpr
usage: rlpr - - - - file ...

 -Pqueue-name  - name of the queue:
                   s_ansi (default)
                   s_post
                   ansi
                   post
 -1            - 1 page per sheet (default)
 -2            - 2 pages per sheet (recto-verso for q_ansi and q_post only !)
 -4            - 4 pages per sheet
 -Oorientation - orientation:
                   portrait
                   landscape
 -h            - print this help
example : rlpr -Ps_post -2  myfile.ps
Contact : F.Giacomini
How to print on the color printer of DELICE
From CERNSP/HPPLUS
On paper : xprint -P13-2-color filename
On transparency : xprint -P13-2-color-t filename
From VXCERN
On paper : XXPRINT -P13-2-color filename
On transparency : XXPRINT -P13-2-color-t filename
From VXDEL1
lpx  filename/options
with :   co:x  = nbre copies
         re:xx = reduction
         bw    = blackwhite
         tr    = transparency
ex : lpx myfile/co:2/tr/re:50/bw 
Contact : J-P Chavanel 13R-015 (Tel: 39 68 )

How to print/produce nice listing from UNIX

a2ps
The a2ps command allows you to produce a nice postscript file form a simple text file. For example to format a listing in 2 pages per pages and 130 lines per pages you can do :
a2ps -l130 mylisting.for > mylisting.ps  
To print a Patchy listing ( produced with ylist ) or any file with "fortran carriage control" , you have first to interpret the carriage control. For this use the UNIX command asa.
Example : after the command
ylist tpcana.car 3 tpcana.list .go 
( option 3 of Ylist = 110 lignes par page + 1 ligne de header = 111 lignes/page)
you can direclty print a nice listing in DELICE by :
asa tpcana.list | a2ps -H" tpcana.list " -l111 -nf | rlpr -Pq_post  -2  
For details do a2ps -h .
P.A