BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kprintfile - print a file to a printer
LIBRARY CALL
int kprintfile(
char *filename,
kvalist)
INPUT
- filename - the filename to be printed
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
This routine executes a system call to the system printer.
It uses the environment variable PRINTER to determine
which printer to use. This can be overriden using the
KPRINTER_NAME option below. If neither of these are
specified then the routine will use 'default' printer
by calling print command with no print option.
Also, options can be specified to kprintfile. The following
are a list of options:
KPRINTER_NAME - the printer name to print the file to
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/file.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.