Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xwdtoc(1) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XWDTOC(1)  —  NEWS-OS Programmer’s Manual

NAME

xwdtoc − converts from the X Window System dump format to CDFF

SYNTAX

xwdtoc[ option_list]

DESCRIPTION

The xwdtoc command converts X Window System dump format files into CDFF files.  The dump formats for X11.R2/R3/R4 are supported.  The dump data is converted into image data in the CDFF file format.  Many options are available for use with this command.  Descriptions of their functions follow.  Note that xwdtoc distinguishes the mode (grayscale or bitmap) of the XWD file image and automatically handles the file with an appropriate mode. 

−D Specifies debug mode. Debug messages are output on the standart output. 

−i xwd-file
Specifies the xwd file (X Window System dump format file) to be used as input. Input is from the standard input when this option is not specified.

−o cdff-file
Specifies the CDFF file to be output. Output is on the standard output when this option is not specified.

−n docname
Specifies the document name (as a Shift-JIS character string) to be written in the header of the CDFF file to be output. If not specified, the window name is used. If that specification is also missing, the first 80 bytes of the text file will be used.

−X page-width
Specifies the page width. The unit of BMU ( 1200 BMU = 1 inch ) is used when ’b’ or no unit is specified after the number. The unit of centimeter, millimeter, or inch is used when ’c’, ’m’ or ’i’ is specified after the number, respectively. All the numbers are stored in the unit of BMU in the CDIF format file. The default value is 9921 (210 mm (width of A4 upright)). This unit specification applys for the −Y, −x, −y, −U, −L options as well. 

−Y page-height
Specifies the page height in BMUs. The default value is 14031 (297 mm (height of A4 upright)).

−x frame-width
Specifies the width of the printable region (frame) in BMUs. The default value is 9921.

−y frame-height
Specifies the height of the printable region (frame) in BMUs. The default value is 14031.

−h x-resolution
Specifies the horizontal resolution of the image in dots per inch. The default value is 100 dots/inch.

−v y-resolution
Specifies the vertical resolution of the image in dots per inch. The default value is 100 dots/inch.

−L left-margin
Specifies the left margin of the page in BMUs. The default value is 0.

−U top-margin
Specifies the top margin of the page in BMUs. The default value is 0.

A graphic representation of some of the options described above is shown below. 

         −X
<−−−−−−−−−−−−−−−−>
+−−−−−−−−−−−−−−−−+ ^
|    ^           | |
|    |−U          | |
|  −L v           | −Y
|<−−>+−−−−−−+ ^  | |
|    |      | |  | |
|    |      | −y  | |
|    |      | |  | |
|    |  image | |  | |
|    +−−−−−−+ v  | |
|     <−−−−−>     | |
|        −x       | |
|                | |
|                | |
|                | |
|             page | |
+−−−−−−−−−−−−−−−−+ v

NEWS-OSRelease 4.2.1R

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