LPRINT

[ Program Manual | User's Guide | Data Files | Databases ]

Table of Contents
FUNCTION
DESCRIPTION
EXAMPLE
OUTPUT
RELATED PROGRAMS
RESTRICTIONS
FORM FEEDS
COMMAND-LINE SUMMARY
LOCAL DATA FILES
PARAMETER REFERENCE

FUNCTION

[ Top | Next ]

LPrint prints text file(s) on a PostScript printer connected to LPrintPort.

DESCRIPTION

[ Previous | Top | Next ]

We use this utility to list text files on our PostScript laser printers. If you have a PostScript printer, your system manager has defined the logical name LPrintPort to be the port to which that printer is connected.

If the logical name LPrintPort is really your terminal, LPrint turns on the terminal's pass-through printer port before printing the file. You can send the output to a disk file if you need to move the file to another machine before printing it.

EXAMPLE

[ Previous | Top | Next ]

Here is a session using LPrint to print the file gamma.seq on our PostScript laser printer.


% lprint

  LPRINT what file(s) ?  gamma.seq

%

OUTPUT

[ Previous | Top | Next ]

The output is in the Courier font at 12-point scale.

RELATED PROGRAMS

[ Previous | Top | Next ]

Replace, CompressText, OneCase, ShiftOver, DeTab, ChopUp, LPrint, and ListFile are the Wisconsin Package file utilities programs.

RESTRICTIONS

[ Previous | Top | Next ]

LPrint is only for printing text files, not for making plots. The printer must be turned on. The terminal and printer must be set to the same baud rate.

FORM FEEDS

[ Previous | Top | Next ]

Programs like Map can keep clusters of related material from spanning page boundaries by putting a form-feed character on a line by itself whenever the next cluster of material will not fit on the current page. If the first character on any line is a form-feed character, LPrint stops printing on this page and continues printing the material from subsequent lines on the next page. If there are any other characters on the line with the form feed, they are not printed.

COMMAND-LINE SUMMARY

[ Previous | Top | Next ]

All parameters for this program may be added to the command line. Use -CHEck to view the summary below and to specify parameters before the program executes. In the summary below, the capitalized letters in the parameter names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.


Syntax: LPRint [-INfile=]gamma.seq -Default

Required Parameters: None

Local Data Files: None

Optional Parameters:

-OUTfile=gamma.ps  directs the output to somewhere other than LPrintPort
-COLumns=80        controls the number of characters per line
-NOHEAding         suppresses the heading on each page
-LANdscape         prints lines lengthwise (eleven-inch width)
-MARgin=5          moves the left margin five characters to the right
-PAGe=60           sets the number of lines per page
-BEGin=1           sets the line number where printing begins
-END=10            sets the line number where printing ends
-NUMbering         prints a line number at the beginning of each line
-CTRLD             adds <Ctrl>D at the end of the output

LOCAL DATA FILES

[ Previous | Top | Next ]

None.

PARAMETER REFERENCE

[ Previous | Top | Next ]

You can set the parameters listed below from the command line. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.

-OUTfile=temp.ps

directs output to a file or another device instead of to LPrintPort.

-COLumns=80

Usually, LPrint shrinks the font to fit the number of characters on the longest line in your first input file. You can modify the font size to support between 40 and 255 characters per line with this parameter.

-NOHEAding

Usually, LPrint puts a heading that shows the file name, the date and the page number. You can suppress that heading with this parameter.

-LANdscape

The text orientation can be rotated to print parallel to the long axis of the paper with this parameter.

-MARgin=3

Usually, LPrint prints the first character in the first column (margin = 0). This parameter lets you shift the listing to the right by adding one or more blank characters in the margin. (The number of characters per line of output is the sum of the column and margin settings.)

-PAGe=60

Usually, LPrint prints 60 lines per page on regular listings and 42 lines per page in landscape orientation. You can set the number of lines per page with this parameter.

-BEGin=1

You can make LPrint begin printing the file from a line other than the first line with this parameter.

-END=10

You can make LPrint stop printing the file at a particular line with this parameter.

-NUMbering

makes LPrint print a line number at the beginning of each line.

-CTRLD

sends a <Ctrl>D (^D, ASCII 4) at the end of the stream of PostScript instructions (some terminal servers require this in order to liberate the terminal for use by others).

Printed: December 9, 1998 16:29 (1162)

[ Program Manual | User's Guide | Data Files | Databases ]


Documentation Comments: doc-comments@gcg.com
Technical Support: help@gcg.com

Copyright (c) 1982-2001 Genetics Computer Group, Inc. A subsidiary of Pharmacopeia, Inc. All rights reserved.

Licenses and Trademarks Wisconsin Package is a trademark of Genetics Computer Group, Inc. GCG and the GCG logo are registered trademarks of Genetics Computer Group, Inc.

All other product names mentioned in this documentation may be trademarks, and if so, are trademarks or registered trademarks of their respective holders and are used in this documentation for identification purposes only.

Genetics Computer Group

www.gcg.com