User`s guide
Appendix A:vvprint/vvlpr Commands & Parameters
24 - PShop User’s Guide
Using vvprint/vvlpr options from lp
In order to pass options on to vvprint from the lp command you need to use
the -o option with double quotes arround the options.
For example to print to a print queue named stylus with the scaling=scale and
copies=2 options you would simply enter the following:
# lp -d stylus -o "scaling=scale copies=2" filename
This same command can also be executed as:
#$VV_HOME/bin/./vvprint -scaling=scale -copies=2 filename
ASCII Text Printing Capability
ASCII file recognition is controlled by the command line option “ascii”. It can
be set to “yes”, “1”, “no” or “0”. If not specified, the feature is enabled. You can
disable ascii printing through vvprint if you know that you are always going to
be printing image or PostScript files and would like to protect your system from
illicit print jobs.
When you print a file with vvprint, the program tests for each known filetype
in turn. If none matches and ASCII recognition is enabled, the print job data will
be piped through a filter and the file input routine will be called on the output
from the filter. The program expects the filter to read from stdin and write to
stdout, and redirects the filter’s stdout to a temporary file.
The “ASCII recognition” can also be used to convert numerous image formats
into one that vvprint can recognize. In short, the filter takes a file of an unknown
type and converts it into a recognized type.
PShop includes the ASCII filter “mpage”. Refer to the man page included with
PShop on options available for mpage. This is set as the default filter in the
printer interface script, under the variable “
VVP_FILTER”. You can use an
alternate filter (for ASCII or any other unrecognized file formats) by setting
VVP_FILTER accordingly.
PostScript versus Bitmap Image Printing
PShop handles PostScript and PDF documents differently from bitmap image
files (except for EPSI "Encapsulated PostScript Interchange" files which PShop
regards as bitmap image files). This is because PostScript and PDF documents
generally contain specific page layout information. In contrast, bitmap images