Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xprint(1) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XPRINT(1)                       X11 R4.11MU05                      XPRINT(1)


NAME
       xprint - print an X window dump.

SYNOPSIS
       xprint [-OPTIONS] [INPUT_FILENAME]

DESCRIPTION
       The xprint program takes as input a window dump file produced by xwd
       program and formats it for output on the PostScript printers. Xprint
       works both on monochrome and color displays. By default, xprint
       prints the largest possible representation of the window on the
       output page.

OPTIONS
       xprint accepts the following command line options:

       -append filename
               Xprint appends its output to the given file.  -a is the
               abbreviated form.

       -colorprinter
               Xprint formats its output for a color printer.  -c is the
               abbreviated form.

       -header string
               Specifies a header string to be printed above the window.
               -hea is the abbreviated form.

       -height inches
               Specifies the maximum height of the window on the page.
               Inches are expressed as real numbers.  -hei is the
               abbreviated form.

       -landscape
               Prints the window in landscape style. By default the window
               is always drawn as follows: (if the width of the window is
               less than its height OR portrait option is defined) AND
               landscape option is not defined then the window will be draw
               in portrait style otherwise the window will be drawn in
               Landscape style.  Landscape means the title of a window will
               be parallel to the right side of the page. See the -ll option
               below.  -la is the abbreviated form.

       -left inches
               Specifies the left margin for the picture in inches.  Inches
               are expressed as real numbers. By default the window is
               centered on the page.  -le is the abbreviated form.

       -ll     When specified in conjunction with -landscape the window will
               be drawn such that its title will be parallel to the left
               side of the page. It has no effect if portrait flag is
               defined.

       -output filename
               Xprint will send its output to the given file instead to
               stdout.  -o is the abbreviated form.





       -portrait
               Prints the window in portrait style. By default the window is
               always drawn as follows: (if the width of the window is less
               than its height OR portrait option is defined) AND landscape
               option is not defined then the window will be draw in
               portrait style otherwise the window will be drawn in
               Landscape style.  Portrait means the title of the window will
               be parallel to the top side of the page.  -p is the
               abbreviated form.

       -scale inches
               Affects the size of the window on the page.  Inches are
               expressed as real numbers.  -s is the abbreviated form.

       -top inches
               Specifies the top margin for the picture in inches.  Inches
               are expressed as real numbers. By default the window is
               centered on the page.  -to is the abbreviated form.

       -trailer string
               Specifies a trailer string to be printed below the window.
               -tr is the abbreviated form.

       -width inches
               Specifies the maximum width of the window on the page. Inches
               are expressed as real numbers.  -w is the abbreviated form.

INPUTFILENAME
       Xprint will take its input from the given file instead from the
       stdin. The filename should be the last argument to xprint.

SEE ALSO
       xwd



LIMITATIONS
       In order to get a screen dump (1280x1024) at 300 dots per inch
       approximately 2MB of printer memory is required.

EXAMPLES
       xwd | xprint  -width 1.5 -height 1.75 -append filename

       xwd | xprint  -portrait -width 2.5 -height 1.75 > filename

       xwd | xprint -top 1.0 -left 1.5 -landscape > filename

       xprint -landscape -ll -output filename datafile

       xwd -xy | xprint -scale 2.0 -landscape -output filename

$STATUS
       xprint program will print an appropriate message and return 1 if the
       arguments are specified incorrectly.

COPYRIGHT
       Copyright 1989, Data General Corporation, R.T.P., N.C.

AUTHOR
       Bhagirath H. Thaker




Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026