This is the command vtprint that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
vtprint - print files from UNIX host to printer attached to local terminal
SYNOPSIS
vtprint [ -bBcCdDeEfFhlnNqQtvw ] [ -L vtprintcap ] [ -T termtype ] [ -V device ] [
filename... ]
DESCRIPTION
vtprint is a simple filter that prints ASCII text to a printer connected to a terminal or
terminal emulator. It uses terminal escape sequences to print, and can substitute for
lpr(1) in circumstances where the printer is not connected directly to the host or
available via TCP/IP.
OPTIONS
-b Causes vtprint to open the output stream in binary modes, overriding any automatic
postprocessing done by the host (e.g. CR/LF translations). This has no effect if
the output stream is not a tty device.
-B Undoes the effect of the -b option. Note that this does not open the output stream
in text mode if it would not normally be opened in that mode.
-c Causes vtprint to append any linefeeds (ASCII 0xA) with carriage returns (ASCII
0xD). This is useful for printing data from a UNIX or similar host to an MS-DOS
system's printer that expects CR/LF line termination.
-C Causes vtprint to pass all carriage returns and linefeeds unmodified.
-d Use the tty device file instead of stdout for output. This is defined as /dev/tty
on this system. (This is operating system specific and may vary from system to
system.) This is useful for using vtprint as a pipe called by programs that
suppress or redirect the stdout stream of the pipe or printing process.
-D Use the stdout stream for output, rather than a tty device file.
-e Forces vtprint to ignore the TERM environment variable and use the builtin control
codes instead.
-E Undoes the effect of the -e option, which allows vtprint to attempt to find an
entry in /etc/vtprintcap for the TERM value and use the corresponding control
codes.
-f Requests vtprint to suppress inclusion of formfeeds (ASCII 0xC) between multiple
files. Note that this has no affect on any formfeeds that may be present in the
input files already.
-F Requests vtprint to include formfeeds between multiple files specified on the
command-line and at the end of the last file printed.
-h Print out a simple usage message.
-l Print out the vtprint license agreement.
-L vtprintcap
Specifies an alternate file to use instead of /etc/vtprintcap.
-n Causes vtprint to strip the CR from any CR/LF sequences. This will not affect
handling of any CRs present elsewhere in the file.
-N Causes vtprint to pass all carriage returns and linefeeds unmodified.
-q Quiet mode. Suppress various status messages from being displayed, useful in
situations where vtprint is used as part of a shell script, for example.
-Q Cancels the effect of the -q option, allowing normal progress reporting to occur.
-t Force the use of the TERM variable to perform a look up of the control sequences to
be used in /etc/vtprintcap. If an entry in that file can't be found, vtprint will
abort with an error.
-T termtype
Use the value of termtype instead of the value of the TERM environment variable
when performing lookups in /etc/vtprintcap.
-v Display version information.
-V device
Specifies an alternate device file instead of /dev/tty to use.
-w Display important warranty waiver information. NO WARRANTY!
-- This option changes no special operational parameters of vtprint. But it does
indicate to the program that all of the command-line arguments which follow are to
be parsed as filenames, even if they begin with a dash. Hence to process a single
file with the name "file" you would call vtprint as " vtprint -- -file".
ENVIRONMENT
TERM the type of the terminal vtprint will assume is being used.
VTPRINT
string of options to be used by vtprint.
Use vtprint online using onworks.net services