
4/24/92


I. SETUP


   The following files are part of the PRINTER Device Driver component level
test bucket:

     PRINT1.BAT   - automatically runs the DOS mode tests on LPT1 only.

     PRINT2.BAT   - automatically runs the DOS mode tests on LPT2 only.

     PRINT3.BAT   - automatically runs the DOS mode tests on LPT3 only.

     PRINT1_2.BAT - automatically runs the DOS mode tests on LPT1 and LPT2
                    only.

     PRINT1_3.BAT - automatically runs the DOS mode tests on LPT1 and LPT3
                    only.

     PRINT2_3.BAT - automatically runs the DOS mode tests on LPT2 and LPT3
                    only.

     PRINTALL.BAT - automatically runs the DOS mode tests on LPT1, LPT2, and
                    LPT3.

     PRINT1.CMD   - automatically runs the OS/2 mode tests on LPT1 only.

     PRINT2.CMD   - automatically runs the OS/2 mode tests on LPT2 only.

     PRINT3.CMD   - automatically runs the OS/2 mode tests on LPT3 only.

     PRINT1_2.CMD - automatically runs the OS/2 mode tests on LPT1 and LPT2
                    only.

     PRINT1_3.CMD - automatically runs the OS/2 mode tests on LPT1 and LPT3
                    only.

     PRINT2_3.CMD - automatically runs the OS/2 mode tests on LPT2 and LPT3
                    only.

     PRINTALL.CMD - automatically runs the OS/2 mode tests on LPt1, LPt2, and
                    LPt3.

     PRT_A51.EXE  - printer device driver test that sends all printable
                    characters through DosWrite.


   Create a directory called PRINTDD on the hardfile. Copy the above files to
the PRINTDD directory.


II. RUNNING THE TESTS

   A. Open a DOS full screen session. Change to the PRINTDD directory on
       the hardfile.

      To test LPT1 only, at the command prompt enter:

      PRINT1


      To test LPT2 only, at the command prompt enter:

      PRINT2


      To test LPT3 only, at the command prompt enter:

      PRINT3


      To test LPT1 and LPT2, at the command prompt enter:

      PRINT1_2


      To test LPT1 and LPT3, at the command prompt enter:

      PRINT1_3


      To test LPT2 and LPT3, at the command prompt enter:

      PRINT2_3


      To test LPT1, LPt2, and LPT3; at the command prompt enter:

      PRINTALL


      CHECK THE LOG FILE
       The list of log files for the different BAT files are listed in
       the LOGGING section of this file.



  B.  Open an OS/2 full screen session. Change to the PRINTDD directory on
       the hardfile.

      To test LPT1 only, at the command prompt enter:

      PRINT1


      To test LPT2 only, at the command prompt enter:

      PRINT2


      To test LPT3 only, at the command prompt enter:

      PRINT3


      To test LPT1 and LPT2, at the command prompt enter:

      PRINT1_2


      To test LPT1 and LPT3, at the command prompt enter:

      PRINT1_3


      To test LPT2 and LPT3, at the command prompt enter:

      PRINT2_3


      To test LPT1, LPt2, and LPT3; at the command prompt enter:

      PRINTALL


      CHECK THE LOG FILE
       The list of log files for the different CMD files are listed in
       the LOGGING section of this file.


  C.  Connect a printer to the LPT port you want to test.
      Copy the config.sys file to the port in an OS/2 session.
      EX., copy c:\config.sys lpt1
      Check printed output.


  D.  Connect a printer to the LPT port you want to test.
      Copy the config.sys file to the port in a DOS session.
      EX., copy c:\config.sys lpt1
      Check printed output.


  E.  Connect a printer to LPT1.
      Go to the OS/2 Desktop.
      Open a folder(OS/2 SYSTEM is a good one). Reffer to the Master Help
        Index if your not shure what a folder is.
      Hit PrintScreen or Shift-PrintScreen, depending on your keyboard.
      Check printed output.

      Note: The Printscreen function will print the object that the mouse
            is on. If the mouse is on a folder it prints the folder. If the
            mouse is on the Desktop it will print the entire Desktop.
            You will need a print driver installed for the Printscreen
            function to work and the driver will need to be set to output
            to the port you want the printscreen to go to.


      The total run time for the printer tests is approximately 20
minutes.





III. LOGGING


   PRT1OS.LOG   - The log file to which Print1.cmd logs its results.

   PRT2OS.LOG   - The log file to which Print2.cmd logs its results.

   PRT3OS.LOG   - The log file to which Print3.cmd logs its results.

   PRT1_2OS.LOG - The log file to which Print1_2.cmd logs its results.

   PRT1_3OS.LOG - The log file to which Print1_3.cmd logs its results.

   PRT2_3OS.LOG - The log file to which Print2_3.cmd logs its results.

   PRTALLOS.LOG - The log file to which Printall.cmd logs its results.

   PRT1DOS.LOG  - The log file to which Print1.bat logs its results.

   PRT2DOS.LOG  - The log file to which Print2.bat logs its results.

   PRT3DOS.LOG  - The log file to which Print3.bat logs its results.

   PRT12DOS.LOG - The log file to which Print1_2.bat logs its results.

   PRT13DOS.LOG - The log file to which Print1_3.bat logs its results.

   PRT23DOS.LOG - The log file to which Print2_3.bat logs its results.

   PRTALDOS.LOG - The log file to which Printall.bat logs its results.


   To determine whether the tests have passed, you will need to edit the log
files and examine the output from the printers.


   Attached is a copy of the prt1os.log file.



PRT_A51          Starting...
PRT_A51  (000) 1 Character data test A51
PRT_A51  (000) 7 LPT1 was opened, rc is 0.
PRT_A51  (000) 7 LPT1 is ready, rc is 0.
PRT_A51  (001) 7 Sending 080,6 to mode command .......... Wed Jun 03 16:43:29 1992
PRT_A51  (001) 7 LPT1 is in normal mode, rc is 0
PRT_A51  (001) 7 Sending ascii chars 32-126 & 160-254 to LPT1.
PRT_A51  (001) 7 LPT1 was closed, rc is 0.
PRT_A51          PASSED IF ALL CHARACTERS WERE PRINTED
