mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2026-08-01 12:17:26 +00:00
9af6276135d499e7e29bcda9a9069f3a5f2e783e
Add the PT-P900Wc with a 560px printhead and 360dpi resolution, using the P700 init sequence, PackBits raster, the print-information command and precut support. Verified printing on 36mm laminated tape. The existing 360dpi handling doubled the 180dpi tape widths, which is wrong for wide tapes: the 180dpi values are clamped by those printers' 128-pin printheads, not the true printable area. Add a separate px360 column with Brother's documented print areas (36mm = 454px, confirmed on hardware; the narrower widths are from the raster reference and untested) and clamp the result to max_px so 360dpi printers with a narrower head (PT-9200DX) stay safe. Also add the udev uaccess rule for 2085.
About: ptouch-print is a command line tool to print labels on Brother P-Touch printers on Linux. There is no need to install the printer via CUPS, the printer is accessed directly via libusb. The tool was written for and tested with the PT-2430PC, but meanwhile is also used with others (see "ptouch-print --list-supported") Maybe others work too (please report USB VID and PID so I can include support for further models, too). Further info can be found at: https://dominic.familie-radermacher.ch/projekte/ptouch-print/ Compile instructions: ./compile.sh Note: Dear visitor, currently I have absolutely no time for improvements on this project (my free time currently is about one or two hours PER MONTH). Therefore, I can not look at suggestions about improvements.
Languages
C
76.3%
CMake
18%
Roff
5.6%