Brother International HL-L2325DW Command Reference Guide for Software Develope - Page 300
Set relative print position
View all Brother International HL-L2325DW manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 300 highlights
Set inter-character space EscSPn (27)(32)n n This command allows you to set the space between successive characters. n is the space between characters in multiples of 1/120". n must be in the range 0 to 127. LPRINT CHR$(27); CHR$(32); CHR$(5); 'Set 1/24" char space Select justification mode Escan (27)(97)n n This command allows you to select the justification mode for subsequent text. Set n to 0 to select left justification. Set n to 1 to centre subsequent text. Set n to 2 to select right justification. Set n to 3 to select full justification (text will be both left and right justified). The default justification mode is left justification. The horizontal tab, HT, and backspace, BS, control codes can only be used in left justification mode. LPRINT CHR$(27); CHR$(97); CHR$(2); 'Right justify text Set absolute print position Esc$n1n2 (27)(36)n1n2 n1n2 This command allows you to print characters a specified distance in from the left margin. The unit of movement is 1/60". The specified distance to be moved is n1+(n2*256)/120". If the specified position is to the right of the right margin the command is ignored. LPRINT CHR$(27); CHR$(36); CHR$(120); CHR$(0); 'Print a line 2" in Set relative print position Esc\n1n2 (27)(92)n1n2 n1n2 This command allows you to print characters a specified distance to the left or right of the current print position. The unit of movement is 1/120". If you wish to move the print position to the right, the distance the print position is to be moved is calculated as (n1+(n2*256))/120". If you wish to move the print position to the left, the distance the print position is to be moved is calculated as (65536 - (n1+(n2*256)))/120". If the specified position is beyond the left or right margin the command is ignored. LPRINT CHR$(27); CHR$(36); CHR$(180); CHR$(0); 'Print a line 1.5" to the right Select unidirectional printing Esc< (27)(60) This command has no effect. Select / cancel unidirectional printing EscU (27)(85) This command has no effect. CHAPTER 6 EPSON - 10