Skip to content

Commit

Permalink
docs: add width params to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tr3v3r committed Oct 29, 2021
1 parent 706a5c1 commit c02cb06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/PRINTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Prints image from local/remote source.

- source : Image source. `{ uri: base64String | https:// | http:// | file:// }` or `require('./path_to_local_image/image.png')`
- params
- width: Width of the image (from 1 to 65535).
- color? : Specifies the color. `'EPOS2_COLOR_1' | 'EPOS2_COLOR_2' | 'EPOS2_COLOR_3' | 'EPOS2_COLOR_4'`
- mode? : Specifies the color mode. `'EPOS2_MODE_MONO' | 'EPOS2_MODE_GRAY16' | 'EPOS2_MODE_MONO_HIGH_DENSITY'`
- halftone? : Specifies the halftone processing method. `'EPOS2_HALFTONE_DITHER' | 'EPOS2_HALFTONE_ERROR_DIFFUSION' | 'EPOS2_HALFTONE_THRESHOLD'`
Expand Down

0 comments on commit c02cb06

Please sign in to comment.