lvlpr(3)

LIBRARY ROUTINE
lvlpr - Format a Khoros image for output on a standard line printer

LIBRARY CALL
#include "vinclude.h"
int
lvlpr(file, image, width)
FILE *file;
struct xvimage *image;
int  width;

INPUT

file
    file descriptor to write output to

image
    pointer to xvimage structure to be processed

width
    width of lineprinter in characters

OUTPUT

Return Value:
    1 on success, 0 on failure.

MODIFICATIONS
Mark Young, Mike Lang

DESCRIPTION
lvlpr formats a Khoros BYTE image for output on a standard line printer. Thirty-two grey levels are used, obtained by multiple-overstrike methods. An image wider in pixels than the printer width in character positions is cut into strips which can be placed side by side to form the whole.

The output is sent to the standard output and must be piped to the appropriate device.

NOTE: This routine can generate large amounts of printer output. DO NOT send an image to the printer unless you are sure you can run faster than the users in the queue after you. They'll soon be after you with a stout rope!

SEE ALSO
vlpr(1), intro(3), vipl(3), verror(3), vutils(3) lvpostscr(1), lvconvert(1)

RESTRICTIONS
vlpr works only on BYTE images.

AUTHOR
Scott Wilson

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.