Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xlator_call(8) [ultrix man page]

xlator_call(8)						      System Manager's Manual						    xlator_call(8)

       xlator_call - shell script to invoke PostScript translators

       xlator_call datatype orientation pagesize width length indent

       This  Bourne  shell script can be called by the line printer daemon to invoke the appropriate translator to convert each data type to Post-
       Script.	The data type passed by may be specified by using the command with the -Ddatatype option, or by using the  Da=datatype	capability
       in the file.

       For a file in a data syntax to be translated to PostScript, the script must contain a case branch which recognizes the data type string and
       calls a suitable filter.  The supplied recognizes the ANSI, ASCII, ReGIS and Tektronix 4014 data types.

       The valid data types are: or any other for which a translator has been installed.

       The valid orientations are: portrait or landscape.

       The valid page sizes are: or

       The width (in characters) of the page.

       The length (in lines) of the page.

       The amount (in spaces) the output is to be indented.

       All the valid arguments are described in detail by the reference page.

       An example shell script is shown below:
       case $datatype in
	    exec ansi_ps -F $pagesize -O $orientation -e "$@";;
	    echo "(04) cvn {} def"
	    exec ln03rof -w$width -l$length -i$indent;;
	    exec cat;;
	    exec tek4014_ps -F $pagesize -O $orientation;;
	    exec regis_ps -F $pagesize -O $orientation;;
	    echo "$0: Translator for data type $datatype not installed" >&2

       When the shell script is called, the path searched is:

       The				       script

See Also
       lno3rof(8), printcap(5), ansi_ps(8), lpd(8)


Check Out this Related Man Page

crontab(5)							File Formats Manual							crontab(5)

       crontab - clock daemon table file


       The  command  executes  at  specified dates and times according to the instructions in the file. The file consists of lines with six fields
       each.  The format for a line is as follows:

	      minute hour day month weekday command

       The following list defines each field in the line:

       minute (0-59)  The exact minute that the command sequence executes.

       hour (0-23)    The hour of the day that the command sequence executes.

       day (1-31)     The day of the month that the command sequence executes.

       month (1-12)   The month of the year that the command sequence executes.

       weekday (1-7)  The day of the week that the command sequence executes. Monday = 1, Tuesday = 2, and so forth.

       command	      The complete command sequence variable that is to be executed.  Note that the command string must conform  to  Bourne  shell

       The first five integer fields may be specified as follows:

       o   A single number in the specified range

       o   Two numbers separated by a minus, meaning a range inclusive

       o   A list of numbers separated by commas, meaning any of the numbers

       o   An asterisk meaning all legal values

       The sixth field is a string that is executed by the shell at the specified times.  A percent sign (%) in this field is translated to a new-
       line character.	Only the first line of the command field, up to a percent sign (%) or end of line, is executed by the  shell.	The  other
       lines are made available to the command as standard input.

       The following example is part of a file:
       # periodic things
       0,15,30,45 * * * * (echo '^M' `date`; echo '') >/dev/console
       0,15,30,45 * * * * /usr/lib/atrun

       # daily stuff
       5 4 * * * sh /usr/adm/newsyslog
       15 4 * * * ( cd /usr/preserve; find . -mtime +7 -a -exec rm -f {} ; )
       20 4 * * * find /usr/msgs -mtime +21 -a ! -perm 444 -a ! -name bounds
	    -a -exec rm -f {} ;

       # NOTE: The above line is wrapped.

       # local cleanups
       30 4 * * * find /usr/spool/mqueue -type f -mtime +5 -name df-exec rm {} ;
       35 4 * * * find /usr/spool/mqueue -type f -mtime +5 -name tf-exec rm {} ;
       40 4 * * * find /usr/spool/rwho -type f -mtime +21 -exec rm {} ;

       # redirecting error output
       0 17 * * 1,3,5 /bin/tar -cv /usr/sysads/smith > /dev/console 2>&1

See Also
       sh(1), cron(8)
       Guide to System Environment Setup

Man Page