Below is a sample Unix .profile for an Appgen® user. Note the way AGINIT
is defined to include UnForm. In addition, a second printer device
is defined with UnForm's -x option, so a page with a cross hair pattern
can be printed by selecting the alternate printer in Appgen.
|
|
----- .profile ------
:
# @(#) profile 26.1 95/09/18
#
# Copyright (C) 1989-1995 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
# .profile -- Commands executed by a login Bourne shell
#
PATH=$PATH:$HOME/bin:. # set command search path
MAIL=/usr/spool/mail/`logname` # mailbox location
export PATH MAIL
# use default system file creation mask
eval `tset -m ansi:${TERM:-ansi} -m :\?${TERM:-ansi} -r -s -Q`
/usr/bin/prwarn # issue a warning if password due to expire
PATH=$PATH:/data/appgen/bin:.; export PATH ; umask 00
AGHOME=/data/appgen;export AGHOME
#Client/Server Software Enviromental Variables:
#AGCLIENT=Y - activates client software.
# This will only work on a client platform
#AGTERM=agclient
# You should also set AGTERM=agclient.
#export AGTERM AGCLIENT
#the following are examples of other enviromental variables you can use:
#AGAUTOR=OFF - forces the operator to press the return
# key in order to make a menu selection.
#AGCS=X - sets the currency symbol to 'X'
#AGBASEDATE=1900 - sets the base year to '1900'
AGINIT="SPOOLER='uf90c -f appgen.rul | lp -dhp -oraw' FORMSPOOLER='uf90c -f appgen.rul | lp -dhp -oraw'"
# Note the above option -oraw applies to most SCO Unix interface scripts
# and may not be correct for your operating system. Check your lp man page
# for raw, binary, or passthru options.
export AGINIT
# printers 1-4 are AGPRTn, set 4 to UnForm crosshair pattern
AGPRT4="'uf90c -x 1-10 | lp -dhp -oraw'"; export AGPRT4
# Appgen 5.1 changed parsing of the AGPRTn values. You may find it necessary
# to place the 'UnForm | lp' command line into an executable /usr/bin/filename,
# and then specify that file in AGPRTn.
#Please refer to your APPGEN reference manual Appendix F
#for a complete description of all enviromental variables.
#appgen
UnForm and CirrusPrint are registered trademarks of SDSI. General and
MailCall are trademarks of SDSI. Other product names
used herein may be trademarks or registered trademarks of their respective
owners.
SDSI uses Google analytics and conversion tracking on some site pages.
Site design by ZiMDesign.