please dont rip this site

Epson ESC printer command

ESC 0x28
SubCode 0x55
Bytecount 0x05

ESC ( U

Set the printer basic units of measurement.

This command is used to set various global units of measurement that the printer can refer to with subsequent commands. Measurements are based on the Imperial system and are in fractions of an inch.

Format

ESC 0x28 0x55 05 00 PU VU HU BU(2)

PU = Page Units expressed in base units

VU = Vertical Units expressed in base units

VU = Horizontal Units expressed in base units

BU = base units (note little endian) expressed in 1/nth of an inch/

Example

ESC 28 55 05 00 04 04 04 A0 05

Subcode 0x55

Bytecount 0x0500 = 0x0005 = 5 dec

PU 0x04 = 4 dec Base units = 1/360th inch/2.77mil/0.07mm

VU 0x04 = 4 dec Base units = 1/360th inch/2.77mil/0.07mm

HU 0x04 = 4 dec Base units = 1/360th inch/2.77mil/0.07mm

BU 0xA0 05 = 0x05A0 = 1440 dec = 1/1440th of an inch/0.694mil/0.0176mm

In this example the vertical and horizontal units are the same representing 360dpi x 360dpi

Related Commands

ESC 0x28 0x43 ESC 0x28 0x63 ESC 0x28 0x63 ESC 0x28 0x53

ESC 0x28 0x76 ESC 0x28 0x56 ESC 0x28 0x2F ESC 0x28 0x5C

Notes:

There is another variant of this command with a byte count of 1.

Some older commands don't refer to these global measurement units.


file: /Techref/language/ESC/2855.htm, 1KB, , updated: 2011/5/9 16:54, local time: 2024/7/23 05:41,
TOP NEW HELP FIND: 
3.238.116.201:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://piclist.com/techref/language/ESC/2855.htm"> Epson ESC printer command ESC ( U</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .