Package: dymoprint
dymoprintLinux Software to print with LabelManager PnP from DymoFirst version from Sebastian Bronner:https://sbronner.com/dymoprint.htmlCloned to Github and formerly maintained by @computerlyrik:https://github.com/computerlyrik/dymoprintCurrently maintained by @maresbFeaturesText printingQR code printingBarcode printingImage printingCombinations of the aboveGUI Application based on PyQt6ExperimentalLabelManager PCLabelPoint 350LabelManager 280LabelManager 420PLabelManager Wireless PnPWindows support by setting the driver to WinUSB usingZadigFor more information about experimental device support, see#44.InstallationIt is recommended to install dymoprint withpipxso that it runs in an isolated virtual environment:pipxinstalldymoprintIn case pipx is not already installed, it can be installed on Ubuntu/Debian withsudoapt-getinstallpipxor on Arch withsudopacman-Spython-pipxBy default, users don't have permission to access generic USB devices, so you will
need to add a rule. The first time you rundymoprint, it will give instructions
about how to do this:$dymoprint"Hello world"...
Youdonothavesufficientaccesstothedevice.Youprobablywanttoaddtheaudevrulein/etc/udev/rules.dwiththefollowingcommand:echo'ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0922", ATTRS{idProduct}=="1001", MODE="0666"'|sudotee/etc/udev/rules.d/91-dymo-1001.rules
...Testing experimental featuresTo install a test branch, by userghuserfor the branchbranchname, runpipxinstall--forcegit+https://github.com/ghuser/dymoprint@branchnameTo revert back to the release version, runpipxinstall--forcedymoprintTo install a particular release version, specifydymoprint==x.y.zinstead ofdymoprintin the above command.DevelopmentTo install for development, fork and clone this repository, and run (ideally within a venv):pipinstall--editable.This project usespre-committo run some checks before committing.
After installing thepre-commitexecutable, please runpre-commitinstallFont managementFonts are managed viadymoprint.ini. This should be placed in your
config folder (normally~/.config). An example file is provided here.You may choose any TTF Font you likeYou may edit the file to point to your favorite font.For my Arch-Linux System, fonts are located at e.g./usr/share/fonts/TTF/DejaVuSerif.ttfIt is also possible to Download a font fromhttp://font.ubuntu.com/and use it.ModesPrint textdymoprint MyTextMultilines will be generated on whitespacedymoprint MyLine MySecondLine # Will print two LinesIf you want whitespaces just enclose in " "dymoprint "prints a single line"Print QRCodes and Barcodesdymoprint --helpPrint Codes and TextJust add a text after your qr or barcode textdymoprint -qr "QR Content" "Cleartext printed"Picture printingAny picture with JPEG standard may be printed. Beware it will be downsized to tape.dymoprint -p mypic.jpg ""Take care of the trailing "" - you may enter text here which gets printed in front of the imageGUIRun DymoPrint GUIdymoprint_guiFeaturesLive previewmargin settingstype size selectorvisualization of tape color schemathe ability to freely arrange the content using the "Node" listText Node:payload text - can be multi-linefont selectorfont scaling - the percentage of line-heightframe border width steeringQr Node:payload textBarCode Node:payload textcodding selectorImage Node:path to fileNodes can be freely arranged, simply drag&drop rows on the list.
To add or delete the node from the label - right-click on the list and select the action from the context menu.
To print - click the print button.ExampleExample 1: multiple text + QR codeExample 2: two images + text with frame, white on redExample 3: barcode, text, imageDevelopmentBesides the travis-ci one should run the following command on a feature implemention or change to ensure the same outcome on a real device:dymoprintTst&&\dymoprint-qrTst&&\dymoprint-ccode128Tst&&\dymoprint-qrqrencoded"qr_txt"&&\dymoprint-ccode128Test"bc_txt"ToDo(?)support multiple ProductIDs (1001, 1002) -> use usb-modeswitch?put everything in classes that would need to be used by a GUIfor more options use command line parser frameworkallow selection of font with command line optionsallow font size specification with command line option (points, pixels?)provide an option to show a preview of what the label will look likeread and write a .dymoprint file containing user preferencesprint barcodesprint graphicsplot frame around labelvertical printrefactor code with better abstractionspixel fontsweb interface