Browse Prior Art Database

Appending Control Code to Plane Text File

IP.com Disclosure Number: IPCOM000121354D
Original Publication Date: 1991-Aug-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 4 page(s) / 98K

Publishing Venue

IBM

Related People

Baba, M: AUTHOR [+2]

Abstract

Described herein is a function to append control codes to a plane text file. By appending control codes of device-setting modes to a plane text file, the file can set device modes by itself at the output without operation by user.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Appending Control Code to Plane Text File

      Described herein is a function to append control codes to
a plane text file.  By appending control codes of device-setting
modes to a plane text file, the file can set device modes by itself
at the output without operation by user.

      When printing plane text files, you must set printer modes with
the proper parameter by using MODE command, e.g., the example MODE
LPT1:132,6 means set the mode of operation of printer number 1 to 132
characters per line, 6 lines per inch vertical spacing.  It is
troublesome to set printer modes every time and to manage or remember
all of a file's proper parameters for setting printer modes.  There
are also some cases where one is unable to set printer modes by MODE
command, e.g., users or clients cannot set printer modes of printer
devices attached on a server by MODE command on a network system, and
SPOOLER cannot save the data of setting a printer mode with each
file.

      This utility provides the functions to append a control code
for setting printer modes at the head of a target plane text file and
to remove, modify and display the control codes appended in the file
easily.

      Using this utility, provides the following advantages:
      - it is unnecessary to set printer modes by users when
      printing.
      - it is easy to manage the information as to each
      file's proper print format.
      - it reduces misprints caused by a user's incorrect
      setting of printer mode or collision of the setting by
      multiple users.
      - it is possible to set printer modes of a printer
      device attached on a server from a client because the file
      which is sent from a remote side has control codes for
      setting printer modes and can set the printer device by
      itself at pr...