Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ctoif(1) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdff(5)

xif(1)

lpf_clsif(8)

lpf_lbpif(8)

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

NAME

ctoif − CDFF-to-CDIF converter

SYNOPSIS

ctoif [ option list ]

DESCRIPTION

Ctoif converts CDFF format files into CDIF format files.  The following options may be specified when using this command. 

−D Outputs debug messages during conversion on the standard error output when converting from CDFF to CDIF. 

−F The output is displayed in a frame when converting from CDFF to CDIF. 

−S Output is in CDIF source file format when converting from CDFF to CDIF.  Output is in binary file format when this option is not specified. 

−s start-page
Specifies the page number from which to begin conversion when converting from CDFF to CDIF.

−e end-page
Specifies the page number at which to end conversion when converting from CDFF to CDIF.

−i cdff-file
Specifies the CDFF file to be input. Uses the standard input when this option is not specified.

−o cdif-file
Specifies the CDIF file to be output. Uses the standard output when this option is not specified.

−p copies
Specifies the number of times each separate page is to be output. Output is one-to-one when this option is not specified.

−R scale
Specifies the scale of shrinkage/enlargement of the figure in percent. This is done by changing resolutions when creating documents in CDIF format. No shrinkage/enlargement is done when this option is not specified. Default value is 100.

−U v-offset
Specifies the top margin of the page. margin means the distance between the edge of the paper and the boundary of the printing area (frame).  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.  Default value is 0.  This unit specification applys for the −L, −X, −Y options as well. 

−L h-offset
Specifies the left margin of the page. margin means the distance between the edge of the paper and the boundary of the printing area (frame).  Default value is 0. 

−X page-width
Specifies the horizontal width of the page when altering the value of the page width forcefully from the one specified in CDFF files. This change of horizontal width applies on every page in the file.

−Y page-height
Specifies the vertical width of the page when altering the value of the page width forcefully from the one specified in CDFF files. Nomally the value of the page width is specified within the CDFF file. This change of vertical width applies on every page in the file.

−m mode
Specifies limit of CDIF command outputs. when ’mono’ is specified, command outputs are limited within CDIF Version 1.0 specifications. when ’pseudo8’ is specified, command outputs are expanded to CDIF Version 1.1 specifications (with color expansion).

−C codeset
Specifies character codeset of output cdif source file on using −S option ( and debug messages on using  −D option ).  Codeset is "sjis" or "euc".  "sjis" specifies Shift-JIS and "euc" specifies EUC.  If this option is not set, character codeset is specified according to environment variable LANG.  If LANG is not specified, character codeset is specified to Shift-JIS. 

SEE ALSO

cdff(5), xif(1), lpf_clsif(8), lpf_lbpif(8)

BUGS

The vertical height and horizontal width of the page are compared and the longer of the two is aligned with the vertical direction for the printer when switching between landscape and potrait modes. CDFF does not support the following items.

(1) Layout entities not supported
(iii) Graphic Data Rotation Angle
(iv)  Graphic Data X-Direction Enlargement Rate
(v)   Graphic Data Y-Direction Enlargement Rate
(iix) Image Data Rotation Angle
(2) Text attributes not supported
(i)   Rubi
(ii)  Page Number format
(iii) Edge
(3) Graphics not supported
(i)   Pict
(ii)  DefinePict
(4) Graphic attributes not supported
(i)  Color
(5) Images not supported
(i)   Xposition/Yposition
(ii)  Free Byte Offsets/Free Offsets
(iii) Cell Width/Cell Length
(iv)  White Point/PrimaryChromaticities
(v)   Threshouldings
(vi)  MaxSampleValue/MinSampleValue
(vii) Compression(LZW)

NEWS-OSRelease 4.1C

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