Browse Prior Art Database

Automated Synchronization of Intelligent Printer Data Stream Printer Asynchronous Negative Acknowledgements with a Test Script

IP.com Disclosure Number: IPCOM000115073D
Original Publication Date: 1995-Mar-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 4 page(s) / 110K

Publishing Venue

IBM

Related People

Chen, W: AUTHOR [+3]

Abstract

A method is disclosed to automate Print Services Facility (PSF) and printer regression testing using injected printer errors in fixed locations in a sequence of Intelligent Printer Data Stream (IPDS) commands. This method provides user-controllable and intervention-free means to induce printer asynchronous errors. Examples include consecutive paper jams on a job's header page, random repeated job cancellations, and print adjust before the header page is printed.

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

Automated Synchronization of Intelligent Printer Data Stream Printer
Asynchronous Negative Acknowledgements with a Test Script

      A method is disclosed to automate Print Services Facility (PSF)
and printer regression testing using injected printer errors in fixed
locations in a sequence of Intelligent Printer Data Stream (IPDS)
commands.  This method provides user-controllable and
intervention-free
means to induce printer asynchronous errors.  Examples include
consecutive paper jams on a job's header page, random repeated job
cancellations, and print adjust before the header page is printed.

      This method makes use of an automated regression test tool,
previously disclosed, made up of the five components shown in the
Figure; these components include:
  1.  A PC/HOST Command Processor that runs on an OS/2* system and is
       responsible for executing a predefined test script.  The
script
       is written to monitor the MVS console and perform MVS IPL,
       JES/PSF start up, JES commands (such as, forward space,
       backspace, interrupt printer, cancel printer, purge printer),
and
       testcase-submission functions.
  2.  A MVS Console that logs all system activities and the test
       results.  The console log becomes the input to the Test Result
       Analyzer when the testing is finished.
  3.  A Print Services Facility program that reports the following
       test-result data to the MVS console:
      o  Begin Dataset (BDS) checkpoint side count
      o  End Dataset (EDS) checkpoint side count
      o  Synchronization checkpoint side count
      o  Restart checkpoint side count
      o  Next side to print (side count)
      o  Skip side count
  4.  A "Happy" printer that is a printer simulator which can be a
       program or a real printer controller running in a stand-alone
       AIX* machine (as opposed to being inside a real printer).  The
       "Happy" printer behaves exactly like a real printer from the
PSF
       point of view.
  5.  A Test Result Analyzer that is a REXX Analyzer running in an
       offline batch mode on a MVS system.  It uses the MVS console
log
       as input and analyzes and reconciles the test result entries
       generated by PSF during the test run.

      This test system makes use of modifications to the Advanced
Function Presentation data streams (MO:DCA* and IPDS*) to induce
asynchronous errors in the "Happy" printer.

      For test scenarios that do not require copy-recovery one can
insert modified MO:DCA NOP (No Operation) structured fields in a
print data stream.  During the test session, PSF converts the MO:DCA
NOP to an IPDS NOP command.  The IPDS NOP, in turn, instructs the
"Happy" printer to create the intended error condition (NACK) on the
"current" sheet or on a "generated" sheet (for example, a
PSF-generated inte...