Oki ML591 MICROLINE Reference Manual - Page 61
Double Width & Height Printing Commands, Table 18: IBM ESC [ @ Command
View all Oki ML591 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Double Width & Height Printing Commands The double width & height commands allow you to select double width, double height, or double width and double height printing in the IBM emulation. Double Width & Height Printing Command, 9-Pin Printers (IBM) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML520, ML521 Function Double Width and/or Height Printing ASCII ESC [ @ Ln Hn NUL NUL n1 n2 Decimal 27 91 64 Ln Hn 0 0 n1 n2 Hexadecimal 1B 5B 40 Ln Hn 00 00 n1 n2 This command lets you specify character width and line spacing in addition to character height. Parameters n1 and n2 Parameters n1 and n2 are used to set the width, line spacing and height used. Variable n1 sets the character height and line spacing; variable n2 sets the character width. Parameters Ln Hn These parameters specify the number of bytes of the modes, calculated as Ln + (Hn x 256) Generally, Ln is 4 and Hn is 0. Table 18: IBM ESC [ @ Command - Character Height/Line Spacing for n1 Values Decimal Value of n1 0 1 2 16 17 18 32 33 34 Character Height Unchanged Standard Double Unchanged Standard Double Unchanged Standard Double Line Spacing Unchanged Unchanged Unchanged Single Single Single Double Double Double Table 19: IBM ESC [ @ Command - Character Width for n2 Values Decimal Value of n2 0 1 2 Character Width Unchanged Standard Double For example, to use double height characters with double the normal line spacing, without changing the width of the characters use this BASIC statement: LPRINT CHR$(27);"[@ ";CHR$(4);CHR$(0);CHR$(0);CHR$(0);CHR$(34);CHR$(0) 22 Chapter 3: Character Size & Spacing Commands