title: esc pos set page size ESC W cmd
body: <p>I read a lot of documentation about ESC POS printer and still don't understand how set page size cmd (ESC W) is working. It seems to be like high and low byte to define the x-y positions</p>
  
  <p>this should be the explaination, I just want to understand how I set some x,y position by it</p>
  
  <p>xL-xH - low and high byte of initial horizontal offset</p>
  
  <p>yL-yH - low and high byte of initial vertical offset</p>
  
  <p>dxL-dxH - low and high byte width of the page</p>
  
  <p>dyL-dyH - low and high byte height of the page</p>
  
  <p><a href="https://i.stack.imgur.com/KcOSL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KcOSL.png" alt="enter image description here"></a></p>