This shows you the differences between two versions of the page.
ptouch [2017/03/23 16:40] – [I want my printer to have always the same dev file name] root | ptouch [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 100: | Line 100: | ||
puts "image bitmap start # | puts "image bitmap start # | ||
- | | + | |
+ | # orazek- picture, sirka- width, sirka_v_bytech - width in bytes, delke - length, | ||
end | end | ||
Line 267: | Line 268: | ||
SUBSYSTEM==" | SUBSYSTEM==" | ||
</ | </ | ||
+ | |||
This creates file /dev/dot0 for our dotmatric printer connected to usb-parallel adapter. | This creates file /dev/dot0 for our dotmatric printer connected to usb-parallel adapter. | ||
[[http:// | [[http:// | ||
+ | |||
+ | To test new rules without rebooting | ||
+ | <code bash> | ||
+ | udevadm control --reload-rules && udevadm trigger | ||
+ | </ | ||
+ | |||
The printer which should have access to thouse special dev file needs to be added in the group lp. | The printer which should have access to thouse special dev file needs to be added in the group lp. |