1XDPR(1)                     General Commands Manual                    XDPR(1)
2
3
4

NAME

6       xdpr - dump an X window directly to a printer
7

SYNOPSIS

9       xdpr  [  filename  ]  [ -display host:display ] [ -Pprinter ] [ -device
10       devtype ] [ option ...  ]
11
12

DESCRIPTION

14       Xdpr uses the commands xwd, xpr, and lpr or lp to  dump  an  X  window,
15       process  it  for  a  particular  printer  type, and print it out on the
16       printer of your choice.  This is the easiest way to get a printout of a
17       window.  Xdpr by default will print the largest possible representation
18       of the window on the output page.
19
20       The options for xdpr are the same as those for xpr, xwd, and lpr or lp.
21       The  most  commonly-used  options  are  described below; see the manual
22       pages for these commands for more detailed  descriptions  of  the  many
23       options available.
24

OPTIONS

26       filename
27              Specifies a file containing a window dump (created by xwd) to be
28              printed instead of selecting an X window.
29
30       -Pprinter
31              Specifies a printer to send the output to.  If a printer name is
32              not specified here, xdpr (really, lpr or lp) will send your out‐
33              put to the printer specified by the  PRINTER  environment  vari‐
34              able.   Be sure that type of the printer matches the type speci‐
35              fied with the -device option.
36
37       -display host:display[.screen]
38              Normally, xdpr gets the host and display number to use from  the
39              environment  variable  ``DISPLAY.''   One  can, however, specify
40              them explicitly; see X(1).
41
42       -device devtype
43              Specifies the device on which the file will  be  printed.   Cur‐
44              rently supported:
45                   la100  Digital LA100
46                   ljet   HP  LaserJet series and other monochrome PCL devices
47                          such as  ThinkJet,  QuietJet,  RuggedWriter,  HP2560
48                          series, and HP 2930 series printers
49                   ln03   Digital LN03
50                   pjet   HP PaintJet (color mode)
51                   pjetxl HP  HP  PaintJet  XL  Color  Graphics Printer (color
52                          mode)
53                   pp     IBM PP3812
54                   ps     PostScript printer
55
56              The default is PostScript.  -device lw (LaserWriter) is  equiva‐
57              lent  to  -device ps and is provided only for backwards compati‐
58              bility.
59
60       -help  This option displays the list of options known to xdpr.
61
62       Any other arguments will be passed to the xwd, xpr, and lpr or lp  com‐
63       mands as appropriate for each.
64

SEE ALSO

66       xwd(1), xpr(1), lpr(1), lp(1), xwud(1), X(7)
67

ENVIRONMENT

69       DISPLAY   which display to use by default.
70
71       PRINTER   which printer to use by default.
72
74       Copyright X Consortium
75       See X(7) for a full statement of rights and permissions.
76

AUTHORS

78       Paul Boutin, MIT Project Athena
79       Michael R. Gretzinger, MIT Project Athena
80       Jim Gettys, MIT Project Athena
81
82
83
84X Version 11                       Release 6                           XDPR(1)
Impressum