
Epson FX Mode
59
Engl
is
h
For example, if printing is required to start 300 dots in from the left
margin, the calculation would look like this:
n2 = Int.(300/256) = 1
n1 = 300 - (1 x 256)
n1 = 300 - 256 = 44
so the command would read:
CHR$(27);"$";CHR$(44);CHR$(1);
To set the relative position the procedure is very similar except that the
position is calculated in 1/120 inch dot spacing. The main difference is
that, as the name suggests, the next printing position is calculated using the
last printing position immediately before receipt of the command as the
reference.
To move the print position to the right, calculate n1 and n2 from the
number of dots that are required and enter these values into the command:
CHR$(27);CHR$(92);CHR$(n1);CHR$(n2).
Moving the relative print position to the left is a little more complicated.
Firstly, determine the number of dots required. Subtract this value from
65536 (2
16
). Finally, calculate n1 and n2 using the formula given above
and enter the values into the command format.
Note:
n1 and n2 are both decimal numbers between 0 and
255.
Both commands will be ignored if they set the dot position outside the
margin limits.
Setting Margins
The left margin is set n1 characters from the head home position. The right
margin is set n2 characters from the head home position.
Setting margins
Decimal
Hex.
ASCII
Comp.
Set left margin
27 108 n1
1B 6C n1
ESC l n1
F
Set right margin
27 81 n2
1B 51 n2
ESC Q n2
F
Summary of Contents for ML4410
Page 4: ...iv User s Guide...
Page 20: ...12 User s Guide...
Page 80: ...72 User s Guide Canadian French ID 863...
Page 81: ...Appendix B Character Tables 73 English Mulitlingual ID 850...
Page 82: ...74 User s Guide Portugal ID 860...
Page 83: ...Appendix B Character Tables 75 English Norway ID 865...
Page 84: ...76 User s Guide Turkey ID 1012...
Page 85: ...Appendix B Character Tables 77 English Greek 437 ID 1008...
Page 86: ...78 User s Guide Greek 869 ID 869...
Page 87: ...Appendix B Character Tables 79 English Greek 928 ID 1009...
Page 88: ...80 User s Guide Greek 437 Cyprus ID 1011...
Page 89: ...Appendix B Character Tables 81 English Polska Mazovia ID 1014...
Page 90: ...82 User s Guide Serbo Croatic 1 ID 1016...
Page 91: ...Appendix B Character Tables 83 English Serbo Croatic 2 ID 1017...
Page 92: ...84 User s Guide ECMA 94 ID 1018...
Page 93: ...Appendix B Character Tables 85 English Hungarian CWI ID 1024...
Page 94: ...86 User s Guide Windows Greek ID 1020...
Page 95: ...Appendix B Character Tables 87 English Windows East Europe CEE ID 1019...
Page 96: ...88 User s Guide Windows Cyrillic ID 1022...
Page 97: ...Appendix B Character Tables 89 English East Europe Latin 2 852 ID 852...
Page 98: ...90 User s Guide Cyrillic 1 855 ID 855...
Page 99: ...Appendix B Character Tables 91 English Cyrillic 2 866 ID 866...
Page 100: ...92 User s Guide Kamenicky MJK ID 895...
Page 101: ...Appendix B Character Tables 93 English ISO Latin 2 ID 1015...
Page 102: ...94 User s Guide Hebrew NC ID 1030...
Page 103: ...Appendix B Character Tables 95 English Hebrew OC ID 1031...
Page 104: ...96 User s Guide Turkey 857 ID 857...
Page 105: ...Appendix B Character Tables 97 English Latin 5 Windows Turkey ID 1021...
Page 106: ...98 User s Guide Windows Hebrew ID 1032...
Page 107: ...Appendix B Character Tables 99 English Ukrainian ID 1027...
Page 108: ...100 User s Guide Bulgarian ID 1072...
Page 109: ...Appendix B Character Tables 101 English ISO Latin 6 8859 10 ID 1029...
Page 110: ...102 User s Guide Windows Baltic ID 1034...
Page 111: ...Appendix B Character Tables 103 English Baltic 774 ID 774...
Page 112: ...104 User s Guide KBL Lithuanian ID 1033...
Page 113: ...Appendix B Character Tables 105 English Cyrillic Latvian ID 1035...
Page 114: ...106 User s Guide Roman 8 ID 1028...
Page 115: ...Appendix B Character Tables 107 English Icelandic 861 ID 861...
Page 116: ...108 User s Guide...