4

I have been looking for some sample for quite a long time now but did not find any. I want to feed the image to printer in its memory (or cache) and then print it out. I have the documentation of the command:

FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n
[Name] Define NV bit image
[Format]  ASCII   FS q   n [xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n
          Hex     1C 71  n [xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n
          Decimal 28 113 n [xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n

I just couldn't get my head around this part:

[xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n

No sample available on internet as to how to use this parameter.

halfer
  • 19,824
  • 17
  • 99
  • 186
Awais Shaikh
  • 531
  • 4
  • 15

1 Answers1

0
[xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n 

defines the Image you want to send, you can send multiple images hence (n) in the end. If you only want to send one picture you only need to define one Array.

xL and xH = width of the image in pixels for example xL=64 xH=0

yL and yH = heigth of the image in pixels for example yL =96 xH=0

to be honest I don't know why one can set a Height for each of those coordinates..

d1 ... dk = the image data in bytes

how to set the image data

nyx00
  • 106
  • 3
  • 12