Browse Prior Art Database

Rule And Fill Personal Printer Data Stream Command

IP.com Disclosure Number: IPCOM000100082D
Original Publication Date: 1990-Mar-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 3 page(s) / 127K

Publishing Venue

IBM

Related People

Buchanan, JC: AUTHOR [+3]

Abstract

The Rule and Fill command is used by an IBM Personal Printer to draw a rectangle which can be filled with black, levels of grey, or selected patterns. The logical page width and height of the rectangle is specified as parameters of the command. The upper left corner of the rectangle is located at the cursor point. The cursor point is not changed as the result of the execution of this command.

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

Rule And Fill Personal Printer Data Stream Command

       The Rule and Fill command is used by an IBM Personal
Printer to draw a rectangle which can be filled with black, levels of
grey, or selected patterns.  The logical page width and height of the
rectangle is specified as parameters of the command.  The upper left
corner of the rectangle is located at the cursor point.  The cursor
point is not changed as the result of the execution of this command.

      Rule patterns are aligned with respect to a common origin on
the logical page.  This allows separate rule commands which produce
abutting patterns of the same design to align properly.

                            (Image Omitted)

      Data Stream Command
CHR$(27);CHR$(91);CHR$(105);CHR$(CNT1);CHR$(CNTh);
CHR$(PARM_BYTE-1) ... CHR$(PARM_BYTE-N);

      Parameters:
Parm    Byte
           Units     Description
 1       1      UB       Units of Measure for Width and
Height
                            0 - Use previous value for Units
                            1 - PEL resolution of printer 1/300
                                inches (Default)
                            2 - Each unit equals 1/720 inches
                            3 - Each unit equals 1/1440 inches
                            4 - Each unit equals 1/1200 inches

      Logical
2       1     UB        Write Mode                    Operations
                            0 - OR (Default)            A + B
                            1 - Overpaint               A
                            2 - INVERTED then OR        A* + B
 3 - XOR                     A xor B
 4 - AND with INVERTED       A and B*
 5 - AND                     A and B
 6 - Subtract                A* and B
                            7 - OR result INVERTED      (A+B)*
                          255 - Use previous value
                                                A = Image
                                                B = Memory
3       3,4   UI        Rectangle Width
                            0 - Use Prev...