FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n 定义Flash 位图


[格式]
类型 定义
ASCII码 FS q n [ xL xH yL yH d1…dk]…[ xL xH yL yH d1…dk]
十六进制码 1C 71 n [xL xH yL yH d1…dk]…[ xL xH yL yH d1…dk]
十进制码 28 113 n [xL xH yL yH d1…dk]…[ xL xH yL yH d1…dk]
[范围]
字段 定义
n 下载位图的数量(1 ≤ n ≤ 8)
xL xH 一行位图的字节数1 ≤ n ≤ max字节
yL yH 位图的高度,以点为单位
d1…dk 位图数据 1 ≤ n ≤ (xL+xH * 256) * (yL+yH * 256)
[注释]
  1. 位图数据为行式位图,横向扫描
  2. 频繁执行该命令能损坏Flash 存储器,推荐每天最多写Flash 10次。
  3. 该命令删除所有的以前由该命令定义的Flash 位图,打印机不能对上一次定义的多幅位图中的一个进行重新定义,在这种情况下,必须重新发送所有的数据。
  4. 由于在处理该命令的过程中,打印机处于忙状态,它向Flash 中写数据并且停止接收其他命令,因此,在该命令的执行过程中,禁止向打印机发送其他命令,包括实时命令。
  5. Flash位图是由命令FS q定义存储在Flash存储器中并用命令FS p打印的位图。
[示列数据]
1C 71 02 78 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 1F 80 1F 80 1F 83 C0 3C F0 3C FF FC 7F F8 07 E0 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 7F E0 7F E0 7F E1 E0 78 F0 3C FF FC 7F F8 1F F8 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 FF F0 FF F0 FF F1 F0 78 F8 3C FF FC 7F F8 3F FC 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 E0 F1 E0 F1 E0 F0 F0 F0 FC 3C 07 80 70 00 3E 3E 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 E0 71 E0 71 E0 70 79 E0 FC 3C 07 80 70 00 78 1F 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 E0 01 E0 01 E0 00 79 E0 FE 3C 07 80 70 00 70 0F 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 FC 01 FC 01 FC 00 3F C0 EE 3C 07 80 70 00 F0 00 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 FF 80 FF 80 FF 80 3F C0 EF 3C 07 80 7F F8 F0 00 1F FF 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 7F E0 7F E0 7F E0 1F 80 E7 BC 07 80 7F F8 F0 00 1F FF 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F0 0F F0 0F F0 0F F0 0F 00 E3 BC 07 80 7F F8 F0 00 1F FF 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 00 00 F8 00 F8 00 F8 0F 00 E3 FC 07 80 70 00 F0 0F 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 C0 79 C0 79 C0 78 0F 00 E1 FC 07 80 70 00 F0 0F 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 E0 79 E0 79 E0 78 0F 00 E0 FC 07 80 70 00 78 1E 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 01 F0 79 F0 79 F0 78 0F 00 E0 FC 07 80 70 00 7E 3E 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F8 FF F0 FF F0 FF F0 0F 00 E0 7C 07 80 7F FC 3F FC 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F8 7F E0 7F E0 7F E0 0F 00 E0 7C 07 80 7F FC 1F F8 1C 07 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF F8 1F 80 1F 80 1F 80 0F 00 E0 3C 07 80 7F FC 07 E0 1C 07 80 88 00 18 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 01 B3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 01 6B 00 00 00 00 03 F0 00 00 06 00 00 00 00 00 60 01 CB 00 00 00 C0 0F FC 00 00 06 00 00 00 00 00 60 01 4E 00 00 01 C0 1C 0E 00 00 06 00 00 00 00 00 60 01 CC 00 00 03 C0 38 07 00 00 06 00 00 00 00 00 60 00 00 00 C0 1F C0 30 03 99 C3 E6 0F 83 39 C0 00 60 39 C0 E1 80 1F C0 70 01 9B C7 F6 1F E3 79 C0 00 60 7F 61 B1 80 01 C0 60 01 9A 0E 1E 30 63 41 C0 00 60 E6 31 B3 00 01 C0 60 01 9C 0C 0E 30 33 80 00 00 60 C0 31 B6 00 01 C0 60 01 9C 18 0E 60 33 80 00 00 60 C7 30 F8 00 01 C0 60 01 9C 18 06 7F F3 80 00 00 60 C9 B0 00 C0 01 C0 60 01 9C 18 06 7F F3 80 00 00 60 C9 B0 E1 80 01 C0 70 01 9C 18 06 60 03 80 00 00 60 4F B1 B1 80 01 C0 30 03 1C 18 06 60 03 80 00 00 78 63 31 B3 00 01 C0 38 07 1C 1C 0E 70 33 80 00 00 6C 67 31 B6 00 01 C0 1E 0E 1C 0C 0E 30 63 81 C0 00 4C 6C 30 F8 00 01 C0 0F FC 1C 0F 3E 1F E3 81 C0 00 4C 78 30 00 00 01 C0 03 F0 1C 03 F6 0F 83 81 C0 00 38 70 30 00 00 01 C0

上面数据下载了两个位图文件


FS p n m 打印下载到FLASH 中的位图


[格式]
类型 定义
ASCII码 FS p n m
十六进制码 1C 70 n m
十进制码 28 112 n m
[范围]
字段 定义
n 需要打印的位图序号 0 ≤ n ≤ 7
m 以m指定的模式打印下载到FLASH中的位图 0 ≤ m ≤ 3
[注释]
m 模式 纵向分辨率(DPI) 横向分辨率(DPI)
0, 48 正常 200 200
1, 49 倍宽 200 100
2, 50 倍高 100 200
3, 51 倍宽、倍高 100 100

• n表示位图(由命令FS q定义)的图号。
• m指定打印位图的模式。

• Flash位图是由命令FS q定义存储在Flash存储器中并用命令FS p打印的位图。
• 当Flash 位图没有被定义时,该命令无效。
• 在标准模式下,该命令只有在打印缓冲区里没有数据时有效。
• 该命令除了受倒置打印模式的影响外,不受其他打印模式的影响(如:加粗打印、重叠打印、倍高、倍宽、下划线、字符放大、反白打印、顺时针旋转90度等)。
• 如果所要打印的下载位图超出当前打印区域,则不打印超出的部分。
• 在普通和倍宽模式下,该命令进纸n 点,n为NV 位图高度,在倍高和四倍大小模式下,该命令进纸n × 2 点,n为NV 位图高度,与ESC 2 或ESC 3设定的行间距无关。
• 打印完位图后,打印机换行,按普通模式处理其后的数据。

[示列数据]
1C 70 00 00
作者:admin  创建时间:2023-05-23 10:18
最后编辑:admin  更新时间:2023-05-26 17:07