Browse Prior Art Database

Storage And Management of Pc Printer Macros of Unknown Data Length

IP.com Disclosure Number: IPCOM000120899D
Original Publication Date: 1991-Jun-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 2 page(s) / 83K

Publishing Venue

IBM

Related People

Holcomb, DW: AUTHOR

Abstract

Disclosed is an implementation and printer interface specification that permits a PC (ASCII) printer to provide a method of receiving, storing, and processing printer macros whose length in bytes are known only after all data for a macro has been received.

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

Storage And Management of Pc Printer Macros of Unknown Data Length

      Disclosed is an implementation and printer interface
specification that permits a PC (ASCII) printer to provide a method
of receiving, storing, and processing printer macros whose length in
bytes are known only after all data for a macro has been received.

      It is often useful for a PC host application to be able to
store printer commands and/or text data in the printer for later
reference.  This allows information common to several printed pages
(overlays, forms data, etc.) to be printed multiple times after being
sent to the printer one time only.  The Store and Manage Macros
command of the IBM 4019 printer affords a PC application the ability
to store print commands and text as macros in the printer [*].
However, it requires the application to prefix the macro data with a
count field indicating the number of bytes to be included in the
macro.  The size of a macro is not always easily determined in
advance.  For instance, the data to be stored may come interactively
from keyboard inputs, or the application may be required to translate
the data from a source format that is not compatible with the printer
(i.e., EBCDIC to ASCII translation).  In such cases, the application
may have to first create a temporary file containing the data
intended for the printer macro just so the number of bytes may be
determined.  This may adversely affect application performance and
may require additional buffer or file space to be available.  With
the printer macro implementation described herein, the application
can store commands and data in macros in the printer without
informing the printer of the macro size; the printer is responsible
for dynamically determining the macro size as the data is stored.

      To satisfy the requirement above, the following new modes may
be added to the Store and Manage Macros comm...