LCAT

Section: Local Commands (L)
Updated: 28 August 1990
Index Return to Main Contents
 

NAME

lcat - Cat Simulator for Hewlett-Packard DeskJet Printer  

SYNOPSIS

lcat [ -f fontname ] [ -l ] [ -O output ] [ file ]

 

DESCRIPTION

lcat converts file, or its standard input, to a format suitable for downloading to a Hewlett-Packard DeskJet. The program offers two output qualities: normal and draft. By default the program selects the normal quality (300 dpi), while the -l flag selects the low quality mode (150 dpi).

The program is designed to be used as a filter, but under MSDOS this cannot be done (pipes are considered text streams and there is no way to suppress output processing; so tabs are converted to spaces etc.). For this reason the -O flag is provided to specify an output file.

The program uses a graphics compression algorithm unique to the DeskJet family, so it cannot be used with the LaserJet series (but by specifying the -DLASERJET compile-time option it can be made to produce uncompressed output that can be used on both printers).

If you use the default fonts (times) be sure to supply troff with the correct font width tables (see vwidth(1)).  

EXAMPLES

troff -t -man /usr/man/man1/ls.1v | lcat -l > /dev/lp  

SEE ALSO

vcat(l)  

BUGS

Very slow in the normal mode, while the draft mode has very poor quality.

Due to differences between the DeskJet resolution and the vfont resolution (DeskJet is 150 and 300 dpi, while the vfonts are 200 dpi), the program converts the requested pointsize to a more suitable one.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 06:56:20 GMT, December 12, 2024