176
halftone property
Halftone processing method. (in firmware Ver.1.2 and later)
Object type
String
Description
The halftone processing method to be applied to monochrome (two-tone) printing is specified.
The default value is HALFTONE_DITHER.
Example
Constant
Description
HALFTONE_DITHER
Dithering, suitable for printing graphics only.
HALFTONE_ERROR_DIFFUSION
Error diffusion, suitable for printing text and graphics together.
HALFTONE_THRESHOLD
Threshold, suitable for printing text only.
To set the halftone type as error diffusion:
<script type="text/javascript" src="epos-print-3.x.x.js"></script>
<script type="text/javascript">
<!--
var address = 'http://192.168.192.168/cgi-bin/epos/service.cgi?devid=local_printer';
var canvas = document.getElementById('myCanvas');
var epos = new epson.CanvasPrint(address);
epos.halftone = epos.HALFTONE_ERROR_DIFFUSION;
epos.print(canvas);
//-->
</script>
Содержание TM-T88V-i
Страница 10: ...10 ...
Страница 14: ...14 ePOS Print Canvas API Monochrome or Grayscale Monochrome ...
Страница 160: ...160 ...
Страница 216: ...216 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 218: ...218 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm ...
Страница 222: ...222 Forced transmission mode Supported Recovery from an error Supported Reset Supported Command Supported 80mm 58mm ...
Страница 258: ...258 ...