APPENDIX B — SCS/DCA COMMAND SUMMARY | Page | |
|
|
|
Command: | Set Justify Mode (SJM) |
|
Format: | 2B D2 nn 0D st pr |
|
Printers: | 3812, 5219 |
|
Action: | Set Justify Mode is used to activate and deactivate | |
| justification. |
|
The st parameter specifies whether justify mode is to be activated or deactivated. An st value of 00h means no change. An st value of 01h means activate justify mode. An st value of 02h means deactivate justify mode.
The pr parameter specifies the percentage of white space at the end of the field to be redistributed within the field. A pr value of 00h means no change.
Allowed values of pr are 00h, 32h (50%) and 64h (100%).
When justification is active, Justify Text Field (JTF) is not allowed.
When justification is active, subsequent text is justified between the left and right margins.
Lines ended with any of the following combinations of commands are considered to be the last line of a paragraph and are not justified:
NL (or IRS) & NL (or IRS); RNL (or IRT); NL (or IRS)
&LF; NL (or IRS) & HT; NL (or IRS) & Indent Tab; NL (or IRS) & Space; NL (or IRS) & Numeric Space; NL (or IRS) & Required Space; NL (or IRS) & BS; NL (or IRS)
&UBS; NL (or IRS) & CR; NL (or IRS) & RLM; NL (or IRS) & NBS; Required Form Feed.
| Lines of text that extend past the right margin are not |
| justified. |
IBMEMUL: | Same as IBM. |
| The OPTIMA allows any percentage rule: 00h (no |
| change), and 01h (1%) to 64h (100%). |
| The OPTIMA turns off justify mode (as set by Set Justify |
| Mode) upon receiving this command. |
| The OPTIMA performs all calculations necessary to |
| perform the justification on the target printer. |
275EMUL: | No operation. |
|
|