Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — MultiPersonal System R32V2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XDPR(1)                                              XDPR(1)



     NAME
          xdpr - dump an X window directly to a printer

     SYNOPSIS
          xdpr [filename] [-display host:display] [-dprinter]
          [-device printer_device]
          [option ... ]

     DESCRIPTION
          xdpr uses the commands xwd(1), xpr(1), and lp(1) to
          dump an X window, process it for a particular printer
          type, and print it out on the printer of your choice.
          This is the easiest way to get a printout of a window.
          xdpr by default prints the largest possible
          representation of the window on the output page.

          The options for xdpr are the same as those for xpr,
          xwd, and lp.  The most commonly used options are
          described below; see the manual pages for these
          commands for more detailed descriptions of the many
          options available.

            filename
              specifies a file containing a window dump (created
              by xwd) to be printed instead of selecting an X
              window.

            -dprinter
              specifies a printer to which to send the output.
              If a printer name is not specified here, xdpr
              (really, lp) sends your output to the printer
              specified by the PRINTER environment variable.  Be
              sure that type of the printer matches the type
              specified with the -device option.

            -display host:display[.screen]
              Normally, xdpr gets the host and display number to
              use the environment variable DISPLAY.  You can,
              however, specify them explicitly.

            -device printer-device
              specifies the device type of the printer.
              Available printer devices are ln03 for the DEC
              LN03, pp for the IBM 3812 PagePrinter, and ps for
              any postscript printer (e.g., DEC LN03R or LPS40).
              The default is ps.

            -help
              displays the list of options known to xdpr.

          Any other arguments will be passed to the xwd(1),
          xpr(1), and lp(1) commands as appropriate for each.



                                - 1 -





     XDPR(1)                                              XDPR(1)



     SEE ALSO
          xwd(1), xpr(1), lp(1), xwud(1)

     BUGS
          The -output and -append options of xpr are not passed
          to xpr.

          Only the option that selects a printer device is passed
          to lp.

     ENVIRONMENT
            DISPLAY
              For which display to use by default.

            PRINTER
              For which printer to use by default.

     AUTHOR
          Paul Boutin, MIT Project Athena
          Michael R. Gretzinger, MIT Project Athena
          Jim Gettys, MIT Project Athena


































                                - 2 -



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