Download DP8340 Parallel Interface User`s Manual
Transcript
If the position into which the download character is written (the character code) is defined as (21)H, (22)H, (23)H, then we have n1 = (21)H, n2 = (23)H The relation between the character pattern data and the print head assigns the 9 pin as unused. Therefore, m0 = (80)H. If data m1 to m18 is converted to hexadecimal, it appears as follows. Data m1 m2 m3 m4 m5 Binary 10100000 10100000 10111110 10100000 10100000 DATA TRANS MISSION Hex. A0 A0 BE A0 A0 Data m1 m2 m3 m4 m5 Binary Hex. 10011000 98 11100100 E4 10000010 82 11100100 E4 10011000 98 Data m1 m2 m3 m4 m5 Binary Hex. 11111111 FF 10000011 83 10111101 BD 11000001 C1 11111111 FF (1) Difine download (1B)H (26)H (00)H (21)H (23)H (80)H (A0)H (A0)H (BE)H (A0)H (A0)H (80)H (98)H (E4)H (82)H (E4)H (98)H (80)H (FF)H (83)H (BD)H (C1)H (FF)H (2) Select download (1B)H (25)H (01)H (3) Character code (21)H (22)H (23)H (A0)H (4) Cancel download (1B)H (25)H (00)H (5) Character code (21)H (22)H (23)H (0A)H PRINT SAMPLE CODE FUNCTION ESC a n (1B)H (61)H n n-line feed OUTLINE After printing the data in the current line, n lines are fed by this code. The value of n ranges from 1 to 120. CODE ESC C n (1B)H (43)H n Sets page length in lines FUNCTION OUTLINE This code sets the length of a page to n lines. The value of n ranges from 1 to 120. On initialization, the page length default condition will be 42 lines. The line feed pitch is onesixth inch. – 17 –