Microsoft KB Archive/22763

Second Part of PCSDs in PRDs

PSS ID Number: Q22763 Article last modified on 11-02-1994

1.x 2.x 3.x

MS-DOS

Question:

What is the meaning of the “second part” bytes in the PCSDs of the PRDs?

Response:

A control sequence that is listed as the “second part” is sent after the parameter for the control sequence of the “first part” has been sent.

For example, suppose a printer manual says the control sequence for “set line spacing” is ESC C n ;. This would mean “send me an ESC C, then send me the parameter (n) that you want line spacing set to, then send me a semicolon.”

The control sequence at byte:18 should then be “^[C” and the control sequence at byte:24 should be “;”. When Word needed to set the line spacing, it would look to byte:18 and send an ESC C, then calculate the correct parameter and send that, then look to byte:24 and send a semicolon.

KBCategory: kbother KBSubcategory: Additional reference words:

=
================================================================ Copyright Microsoft Corporation 1994.