DataMuseum.dk

Presents historical artifacts from the history of:

CR80 Wang WCS documentation floppies

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about CR80 Wang WCS documentation floppies

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7a8a1b12c⟧ Wang Wps File

    Length: 10039 (0x2737)
    Types: Wang Wps File
    Notes: Spelunked
    Names: »~ORPHAN59.08«

Derivation

└─⟦9270f92d5⟧ Bits:30006106 8" Wang WCS floppy, CR 0167A
    └─ ⟦this⟧ »~ORPHAN59.08« 

WangText



9…08…9…0b…9…0c…9…00…9…05…-…01…-…06…,…08…,…0b…,…0f…,…01…,…07…+…0a…+…0b…+…01…+…02…+…06…+…07…*…0d…*…0e…*…02…*
*…05…*…06…)…0a……86…1               
                    
          …02…          
 …02…   …02…        

…02…CPS/SDS/041

…02…820705…02……02…
PRINTER
DETAILED DESIGN SPECIFICATION…02……02…CAMPS







                        1̲ ̲ ̲G̲E̲N̲E̲R̲A̲L̲



1.1      P̲U̲R̲P̲O̲S̲E̲ ̲A̲N̲D̲ ̲S̲C̲O̲P̲E̲

         a)  The Printer Package Specification for the CAMPS
             project/4040 is written to fulfil the following
             objectives:

             1)  To provide a detailed deinition of the Printer
                 Package function and Software architecture.

             2)  To provide user operational and development
                 personnel with details of the ongoing analysis.

             3)  To define in detail the interfaces with other
                 packages and to describe their acilities.

         b)  The Printer Package Specification defines the functions
             and software architecture of the package to a level
             sufficient for a programmer to start detailed design
             with a minimum of design effort.

             The Printer Package constitutes oneof the building
             blocks of the TEP package.

             All Printer Package internal data and interfaces
             are defined within this document in detail. For
             a detailed data description of data external to
             the Printer package and interfaces to other packages
             refe the Database Design Document (CPS/DBD/001)and
             the relevant interface documents.




1.2      A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲ ̲A̲N̲D̲ ̲P̲R̲O̲J̲E̲C̲T̲ ̲R̲E̲F̲E̲R̲E̲N̲C̲E̲S̲



1.2.1    A̲p̲p̲l̲i̲c̲a̲b̲l̲e̲ ̲D̲o̲c̲u̲m̲e̲n̲t̲s̲

         CAMPS System Requirement Specification
         CPS/210/SYS/0001

         User Procedures and Associated Formats
         CS/230/ICD/001

         Supervisor Commands and Procedures
         CPS/230/ICD/0002

         CAMPS System Design Specification
         CPS/SDS/001

         Database Design Document
         CPS/DBD/001

         CAMPS Software Interface Control Document
         CPS/ICD/009

         Terminal Package Design Specifiation
         CPS/SDS/012



1.2.2    R̲e̲f̲e̲r̲e̲n̲c̲e̲ ̲D̲o̲c̲u̲m̲e̲n̲t̲s̲

         DOCUMENT NAME                        DOCUMENT NUMBER
          ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲ ̲
         ̲ ̲ ̲ ̲ ̲ ̲

         CAMPS System Functions               CPS/SDS/024
         Messge Management                    CPS/SDS/025
         System Status and Control            CPS/SDS/029
         Table Managment                      CPS/SDS/026
         Input/Output Control                 CPS/SDS/028
         Storage and Retrieval                CPS/SDS/030
         Statistics                           CPS/SDS/031
         Logging                              CPS/SDS/032
         Traffic Handling                     CPS/SDS/033
         Message Dstribution                  CPS/SDS/034
         Supervisor VDU                       CPS/SDS/035
         Supervisor Printer                   CPS/SDS/036
         MDCO VDU                             CPS/SDS/037
         MSO VDU                              CPS/SDS/038
         USER VDU                             CPS/SDS/039
         OCR                                  CPS/SDS/040…86…1 
                                                     …02…   …02…   …02…
                                                …02…           
                                                           
                                                           
                                                 
1.3      T̲e̲r̲m̲s̲ ̲a̲n̲d̲ ̲A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲-



1.3.1    T̲e̲r̲m̲s̲

         All Local Constants and Types are declared in sec.
         4.1.4.  All Global Constants and Types are delared
         in CPS/DBD/001 sec. 4 (CAMPS Preix File) and are catalogued
         in sec. 4.1.6.

         The WITH - statement used in section 4 (in the flowgram's)
         is originally a 'Pascal' - statement.  It has the same
         function in the flowgram's of this document as in 'Pascal'.



1.3.2    A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲

        PRIP                     TEP: P̲r̲i̲nter P̲ackage
        PRIS                     P̲r̲inter S̲ubpackage
        UPCO                     U̲ser P̲rinter C̲o̲ntrol
        PROP                     P̲r̲inter O̲utp̲ut
        DEMCO                    D̲E̲vice M̲onitoring and C̲O̲ntrol
        CIF                      C̲amps I̲nformation F̲ile
        IMF                      nternal M̲essage F̲ormat
        IIF                      I̲nternal I̲nformation F̲ormat
        BLE                      B̲uffer L̲ist E̲lement
        E                        E̲xtension
        MC                       M̲odule C̲omponent
        M                        M̲odule
        CP                       C̲ommon P̲rocedure…86…1        
                                 …02…   …02…   …02…   …02…            …02…    
                                                          
               2̲ ̲ ̲S̲U̲M̲M̲A̲R̲Y̲ ̲O̲F̲ ̲R̲E̲Q̲U̲I̲R̲E̲M̲E̲N̲T̲S̲



2.1     P̲A̲C̲K̲A̲G̲E̲ ̲D̲E̲S̲C̲R̲I̲P̲T̲I̲O̲N̲

        The P̲r̲i̲nter P̲ackage (PRIP) contains the software to
        support the print-functions required for

            Supervisor           Printers,
            Shaed                Printers,
            Stand-alone          Printers.

        In connection with Supervisor printers PRIP has only
        a slave function. The S̲upervisor P̲ri̲nter P̲ackage (SPIP)
        supports the Supervisor Print functions and delegates
        the items for print to the Printer Package.
        t the Printer Package items will be queued in a priority
        based FIFO-manner before being processed.

        Items to be Processed can be:

        a)  Control Items:

                Timeouts
                DEMCO Commands
                Log Acknowledges
                FLASH Notifications

        b)  Print Items:

                Mssages
                Comments
                Message status Notifications
                MSO/MDCO instructions
                Service Messages
                Reports
                Statistics
                Log records
                System Information Extracts
                Tables.

        The Printer Package converts and formats the data before
        printout. I also takes care of page accounting and
        document accounting.

        The Printer Package interfaces with other parts of
        the Terminal Package as well as other Packages of the
        CAMPS system.


         Fig. 2.1-1 shows the interface between the Printer
         Package, and the other TEP Packages:

             Supervisor Printer Package (SPRI)
             VDU User Package (VUP)

         Further fig. 2.1-1 shows th interfaces to the other
         CAMPS packages:

             System Status and Control     (SSC)
             CAMPS System Functions        (CSF)
             LOG Package                   (LOG)
             Message Distribution Package  (MDP)
             I/O Control                   (IOC)
             Storage and File Management   (FMS)
             Table Management Package(TMP)

         The numbers on figure 2.1-1 refers to the following
         table:

         1.  Supervisor print items

         2.  User print items

         3.  DEMCO Commands and Command Completion Codes.

         4.  Timer requests/events,
             Queue handling, Access control

         5.  Final transactin Log information

         6.  Incoming/Outgoing Messages

         7.  Printout Data

         8.  MDCO MSO Print Items

         9.  Device profile data, Format execution data,
             Printer Parameters.

















































               FIG. 2.1-1…01…INFORMATION FLOW


2.2      P̲A̲C̲K̲A̲G̲E̲ ̲F̲U̲N̲C̲T̲I̲O̲N̲S̲

         This section outlines the functions to be performed
         by PRIP.



2.2.1    M̲a̲i̲n̲ ̲F̲u̲n̲c̲t̲i̲o̲n̲s̲ ̲(̲N̲o̲r̲m̲a̲l̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲n̲)̲

         The main functions implemented by PRIP are

         1.  Fomatting and printout

         2.  Document accounting

         3.  Preemption Control



2.2.1.1  F̲o̲r̲m̲a̲t̲t̲i̲n̲g̲ ̲a̲n̲d̲ ̲P̲r̲i̲n̲t̲o̲u̲t̲

         Some of the items queued for print contains binary
         data which will have to be converted into a displayable
         form before being printed.

         The iems do not contain all of the data to be printed.
         The predefined part of it is contained in the Print
         Format File (PFF) and must be merged with the variable
         part to form the complete text.

         The formatting also includes placing of the text so
         that  nice layout is obtained. Ref. also sec. 2.2.1.2
         below.

         When the text has been formatted, it will be output
         to the printer.



2.2.1.2  D̲o̲c̲u̲m̲e̲n̲t̲ ̲A̲c̲c̲o̲u̲n̲t̲i̲n̲g̲

         Document Accounting is to be carried out as stated
         in the SRS sec. 3.2.3.7.2 for the follwing items:

         -   Messages
         -   Service Messages
         -   Comments

         The layout of the document accounting is outlined in
         figure 2.2.1-1 and figure 2.2.1-2.


         Figure 2.2.1-1 explains the contents of the document
         control number, while figure 2.2.1-2 shows the page
         layout.



2.2.1.3  P̲r̲e̲e̲m̲p̲t̲i̲o̲n̲ ̲C̲o̲n̲t̲r̲o̲l̲

         When items with Flash Precedence ae queued for print
         they shall start being executed within a specified
         time limit unless the printer process already executes
         a Flash item.

         If the item being executed is of precedence lower than
         flash and it cannot be completed within the time limt,
         it shall be preempted. Processing of the preempted
         item shall be resumed right after the preemption causing
         item has been finished.

         The preemption time limit is set by the Supervisor.…86…1
                 …02…   …02…   …02…   …02…            …02…                 …02…    
                






                        2 FIGURER


2.2.2    F̲u̲n̲c̲t̲i̲o̲n̲a̲l̲ ̲R̲e̲s̲p̲o̲n̲s̲i̲b̲i̲l̲i̲t̲i̲e̲s̲



2.2.2.1  S̲t̲a̲r̲t̲,̲ ̲S̲t̲o̲p̲,̲ ̲C̲l̲o̲s̲e̲ ̲D̲o̲w̲n̲,̲ ̲R̲e̲s̲u̲m̲e̲

         PRIP performs the above functions on command from DEMCO.

         a)  Start:

             Initializes and starts the prnting actions. Also
             the Print Format Handler is initialized. Upon completion
             a report will be sent to DEMCO.

         b)  Stop:

             Immediately stops the printing actions. The items,
             that is currently processed, will be returned to
             its queue for later procesing.

             Completion is reported to DEMCO.

         c)  Close Down:

             Stops the printing actions after a specified time.
             Is used to terminate the processing in an ordered
             manner. Completion is reported to DEMCO.

         d)  Resume:

             Is used to resume printing ations after printer
             errors.




2.2.2.2  C̲h̲e̲c̲k̲p̲o̲i̲n̲t̲i̲n̲g̲ ̲a̲n̲d̲ ̲R̲e̲c̲o̲v̲e̲r̲y̲

         Checkpointing is performed by calling the SAVE-function
         (CSF) at appropriate points, that is when print out
         of an item has been completed. The ueue element will
         be dismantled.

         On recovery some of the items queued for print may
         have a flag set indicating suspected duplication. In
         that case it shall be indicated on the document.



2.2.2.3  E̲r̲r̲o̲r̲ ̲D̲e̲t̲e̲c̲t̲i̲o̲n̲ ̲a̲n̲d̲ ̲E̲r̲r̲o̲r̲ ̲H̲a̲n̲d̲l̲i̲n̲g̲

         PRIP is desined so that errors are detected at an early
         stage. 

         All detected errors, i.e. System Call errors, Queue
         errors, internal software errors, etc, are handled
         by using the CSF procedures ANALYZE ̲ERROR and SEND
         ̲GARBLE.



2.2.2.4  I̲n̲t̲e̲g̲r̲i̲t̲y̲ ̲o̲f̲ ̲O̲p̲e̲r̲a̲t̲i̲o̲

         The error detection and error handling functions described
         in section 2.2.2.3 ensures that errors are detected
         and handled properly.

         Single and minor software errors do not decrease system
         throughput. Only severe errors cause major recovery
         orinvoke operator intervention.





2.2.2.5  D̲a̲t̲a̲ ̲C̲o̲l̲l̲e̲c̲t̲i̲o̲n̲



2.2.2.5.1    L̲o̲g̲

         A final log record shall be generated on interruption
         or completion of printing the following item types:

         -   Messages
         -   Service Message
         -   Comments

         The log record shall contain the following fields:

         a)  Device designator
         b)  Transaction serial number
         c)  Format identification
         d)  Log time
         e)  Item reference identification
         f)  Exit cause
         g)  Classification
         h)  Special handling ctegory
         i)  Start time of transaction
         j)  System Print Control Number
         k)  Special Handling Print Control no. (if applicable)



2.2.2.5.2    S̲t̲a̲t̲i̲s̲t̲i̲c̲s̲

         NA.



2.2.2.5.3    R̲e̲p̲o̲r̲t̲s̲

         When completing printout of

         Messages, Service Messages, or Comments,