-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathprinter.yaml.example
More file actions
35 lines (29 loc) · 937 Bytes
/
printer.yaml.example
File metadata and controls
35 lines (29 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
printer:
# type: usb # Uncomment this for an usb printer
# type: serial # Uncomment this for a serial printer
# type: network # Uncomment this for a network printer
settings:
# USB settings for communicate with printer
# use lsusb for get them
idVendor: 0x0483
idProduct: 0x5740
# settings for serial printers
#devfile: /dev/ttyS0
# settings for network printers
#host: 192.168.1.99
# For propoer aligment on recipts we must set widths
# according to the printer specifications
#
# PoS printers are able to print on two different fonts
# FontA & Font B
#
# using WidthA & WidhtB we can set the number of chars
# available for each font
#
# pxWidht sets the total pixel width an is used only for
# control the image printing for being center
WidthA: 44
WidthB: 34
pxWidth: 206
charSet: \x1b\x52\x12