!************************************************************************** !** D E V I C E . D A T ** !** ** !** The file DEVICE.DAT contains information about plotting devices. ** !** It is used by the DISLIN driver program DISDRV. ** !** For a device, four lines of text must be specified: ** !** ** !** a) First line ** !** Format: Device (<= 6 characters) ** !** ** !** Device defines a device name where the following names ** !** should be used: ** !** PSCi for PostScript printers (i = 1, 2, 3.. ,n) ** !** KYOi for Kyocera laserprinters with Prescribe ** !** HPLi for HPGL plotters ** !** LPRi for laserprinters with Tektronix emulation ** !** ** !** b) Second line ** !** Format: Emulation (<=4 characters) ** !** ** !** Emulation contains the graphics language of the device. The ** !** following keywords can be used: ** !** POST for PostScript, monochrom, 28.0 * 19.5 cm ** !** PSCL for PostScript, colour, 28.0 * 19.5 cm ** !** KYOC for Kyocera laserprinters with Prescribe, 28.5 * 20 cm ** !** HPGL for HPGL plotters ** !** HPA4 for A4 HPGL plotters, 27.175 * 19.0 cm, ie HP 7550A ** !** HPA3 for A3 HPGL plotters, 39.925 * 27.175 cm, ie HP 7550A ** !** HPA2 for A2 HPGL plotters, 53.4 * 33.6 cm, ie HP-Draft ** !** HPA1 for A1 HPGL plotters, 75.7 * 53.4 cm, ie HP-Draft ** !** LN03 for Tektronix emulation 4010/4014 (12 bit) ** !** TEKT for Tektronix emulation 4010/4014 (10 bit) ** !** ** !** PCL1 HP Laserjet II (25.4 * 17.78 cm, monochrom) ** !** PCL2 HP PCL emulation (25.4 * 17.78 cm, monochrom) ** !** PCL3 HP PCL emulation (25.4 * 17.78 cm, 8 clrs, 180 dpi) ** !** PCL4 HP PCL emulation (25.4 * 17.78 cm, 16 clrs, 150 dpi) ** !** PCL5 HP PCL emulation (25.4 * 17.78 cm, 16 clrs, 90 dpi) ** !** ** !** c) Third line ** !** This line contains the command for sending a file to the ** !** device with the status 'KEEP'. ** !** ** !** Example: lpr -Pqueue % ** !** ** !** Note: % is a placeholder for the filename and will be replaced ** !** by DISDRV. ** !** ** !** d) Fourth line ** !** This line contains the command for sending a file to the device ** !** with the status 'DELETE'. ** !** ** !** Example: lpr -Pqueue % ** !** ** !** Notes: - Several devices should be separated by lines of '-'. ** !** - Lines must begin at column 1. ** !** ** !** Version: 6.1 / UNIX ** !** Update : 20.03.1995 ** !************************************************************************** ------------------------------------------------------------------------ PSC1 POST lpr % lpr % ------------------------------------------------------------------------ ! The following header is printed by DISDRV if it is called without ! parameters. /DISDRV /**********************************************************************/ /** D I S D R V **/ /** **/ /** DISDRV sends a plotfile created by DISLIN to a device. **/ /** **/ /** Command: DISDRV filename[.met] [device] [options] **/ /** **/ /** filename is the name of the plotfile. **/ /** **/ /** device is the device name. **/ /** = CONS Tektronix emulation or X Window terminal (default). **/ /** = XWIN X Window terminal (small window). **/ /** = VT34 Tektronix emulation (VT330/VT340). **/ /** **/ /** = NONE Dummy device. **/ /** **/ /** = POST converts CGM, HPGL and GKSLIN to PostScript **/ /** = PSCL converts CGM, HPGL and GKSLIN to coloured PostScript **/ /** = KYOC converts CGM, HPGL and GKSLIN to Prescribe **/ /** = GKSL converts CGM and HPGL to GKSLIN **/ /** = CGM converts GKSL and HPGL to CGM **/ /** = HPGL converts GKSL and CGM to HPGL **/ /** = IMAG converts CGM, HPGL and GKSLIN to an Image file **/ /** = TIFF converts CGM, HPGL and GKSLIN to TIFF **/ /** **/ /** options is an optional field of keywords separated by blanks: **/ /** DEL means that the file will be deleted after plotting. **/ /** ROT can be used to rotate the plotfile by 90 degrees **/ /** (for some devices, this will be done automatically). **/ /** NOR disables automatic plotfile rotation. **/ /** REV exchanges the colours black and white on a colour **/ /** graphics system. **/ /** S=x defines a scaling factor with the value x. **/ /** F=file defines an output file used for file conversion. The **/ /** default file is the name of the plotfile and an ex- **/ /** tension that depends on the output format. **/ /** N=n defines the number of pages to be plotted. The de- **/ /** fault value is 0 (all pages). **/ /** P=n defines the first page to be plotted. Default: 1 **/ /** RAIN defines the color table RAIN. Other keywords can be: **/ /** SMALL (default), SPEC, GREY, VGA, RRAIN, RSPEC and **/ /** RGREY. **/ /** V=file specifies a file containing a colour table. Colours **/ /** must be defined by rgb coordinates in the range 0 and **/ /** 1 (separated by blanks, 1 line for each colour). **/ /** -bs enables backing store. **/ /** -v prints program version and author. **/ /** WS=nw,nh defines the size of the graphics window and the reso- **/ /** lution of TIFF and IMAG files where nw and nh are the **/ /** width and height in pixels. **/ /**********************************************************************/ /DISHPJ /**********************************************************************/ /** D I S H P J **/ /** **/ /** DISHPJ sends a CGM or GKSLIN metafile created by DISLIN to a **/ /** device using a raster graphics emulation (i.e. HP PCL). **/ /** **/ /** Command: DISHPJ filename[.MET] [device] [options] **/ /** **/ /** filename is the name of the plotfile. **/ /** **/ /** device is the device name. **/ /** = HPJ1 Kyocera printer (A4, SYS$WRITE, RZ) **/ /** **/ /** options is an optional field of keywords separated by blanks: **/ /** DEL means that the file will be deleted after plotting. **/ /** S=x defines a scaling factor with the value x. **/ /** F=file defines an output file. The graphics will not be sent **/ /** to a printer. **/ /** RAIN defines the color table RAIN. Other keywords can be: **/ /** SMALL (default), SPEC, GREY, VGA, RRAIN, RSPEC and **/ /** RGREY. **/ /** V=file specifies a file containing a colour table. Colours **/ /** must be defined by rgb coordinates in the range 0 and **/ /** 1 (separated by blanks, 1 line for each colour). **/ /**********************************************************************/ /DISIMG /**********************************************************************/ /** D I S I M G **/ /** **/ /** DISIMG sends an image created by DISLIN to a device. **/ /** **/ /** Command: DISIMG filename[.img] [device] [options] **/ /** **/ /** filename is the name of the image file. The file must be **/ /** created with the routine rimage. **/ /** **/ /** device is the device name. **/ /** = CONS X Window terminal (default). **/ /** = POST converts an image file to PostScript (greyscale). **/ /** = PSCL converts an image file to PostScript (color). **/ /** = TIFF converts an image file to TIFF. **/ /** **/ /** options is an optional field of keywords separated by blanks: **/ /** DEL means that the file will be deleted after plotting. **/ /** NOR disables automatic plotfile rotation for PostScript. **/ /** REV exchanges the colours black and white. **/ /** F=file defines an output file used for file conversion. **/ /** RAIN defines the color table RAIN. Other keywords can be: **/ /** SMALL, SPEC, GREY, VGA, RRAIN, RSPEC and RGREY. **/ /** The defaults are RAIN for X Window emulation and col- **/ /** oured PostScript files and RGREY for greyscale Post- **/ /** Script files. **/ /** V=file specifies a file containing a colour table. Colours **/ /** must be defined by rgb coordinates in the range 0 and **/ /** 1 (separated by blanks, 1 line for each colour). **/ /** -bs enables backing store. **/ /** -i prints information about the image file. **/ /** -v prints program version and author. **/ /**********************************************************************/ /DISTIF /**********************************************************************/ /** D I S T I F **/ /** **/ /** DISIMG sends a TIFF file created by DISLIN to a device. **/ /** **/ /** Command: DISTIF filename[.tif] [device] [options] **/ /** **/ /** filename is the name of the TIFF file. The file must be **/ /** created by DISLIN. **/ /** **/ /** device is the device name. **/ /** = CONS X Window terminal (full sreen mode, default). **/ /** = PSCL converts a TIFF file to PostScript (color). **/ /** = POST converts a TIFF file to PostScript (greyscale). **/ /** = IMAG converts a TIFF file to a DISLIN image format. **/ /** **/ /** options is an optional field of keywords separated by blanks: **/ /** DEL means that the file will be deleted after plotting. **/ /** NOR disables automatic plotfile rotation for PostScript. **/ /** F=file defines an output file used for file conversion. The **/ /** default file is file.ps or file.img. **/ /** W=nx,ny, defines a rectangle of the TIFF file that will be **/ /** nw,nh used. (nx,ny) is the upper left corner, (nw,nh) the **/ /** width and height of the rectangle. **/ /** -bs enables backing store. **/ /** -i prints information about the TIFF file. **/ /** -v prints author and program version. **/ /**********************************************************************/