Commit Graph

19 Commits

Author SHA1 Message Date
dae16f4a26 Fix includes, fix copy ctor and mov ctor for CairoWrapper
Some checks failed
Build ptprnt / build (push) Failing after 1m1s
2025-10-15 19:12:15 +02:00
f7661a813d Label refactoring
All checks were successful
Build ptprnt / build (push) Successful in 3m52s
2025-10-15 18:34:22 +02:00
d12fc3acb5 Version bump dependencies (#16)
All checks were successful
Build ptprnt / build (push) Successful in 3m17s
Reviewed-on: moritz/ptouch-prnt#16
2025-10-14 16:16:24 +00:00
2d37f6fcfb cli-parser-cleanup (#15)
All checks were successful
Build ptprnt / build (push) Successful in 3m50s
Reviewed-on: moritz/ptouch-prnt#15
2025-10-13 19:23:27 +00:00
05cd9d244c Generate labels with pangocairo (#8)
All checks were successful
Build ptprnt / build (push) Successful in 3m41s
Goal of this PR is to have some basic labels generated with pangocairo
- size of the canvas should be matching the input text and grow/shrink accordingly
- basic formatting options like fontsize and align should be working

Reviewed-on: moritz/ptouch-prnt#8
2025-10-12 20:07:18 +00:00
Moritz Martinius
349036bfaf Updated Code debug configuration to use lldb
All checks were successful
Build ptprnt / build (push) Successful in 3m50s
2024-11-14 20:37:04 +01:00
ad0b2c91ae Add a printer factory to simplify construction of printer drivers (#11)
All checks were successful
Build ptprnt / build (push) Successful in 1m1s
Co-authored-by: Moritz Martinius <mm@cloudprinters.de>
Reviewed-on: moritz/ptouch-prnt#11
2024-04-20 11:10:30 +00:00
5b3148cb65 Improve gitignore for less noise in commits (#10)
All checks were successful
Build ptprnt / build (push) Successful in 1m34s
Co-authored-by: Moritz Martinius <mm@cloudprinters.de>
Reviewed-on: moritz/ptouch-prnt#10
2024-03-23 12:04:49 +00:00
9a1aee6658 cli-parser (#4)
All checks were successful
Build ptprnt / build (push) Successful in 1m22s
Goal of this PR should be to integrate a working CLI parser so that commands can be sent to the Printer class to print text, such as
ptprnt -t=FooBar
also, standard flags for setting the output verbosity and help should be implemented

Reviewed-on: moritz/ptouch-prnt#4
2023-10-22 19:42:59 +00:00
c0811df4bb Moved graphics classes into own namespace, added unit testing with gtest 2023-09-23 13:33:10 +02:00
458806c6af USB updates, remove iostream usage 2023-08-01 18:19:50 +02:00
c3f200fee4 Set up clang format & tidy and format all the files 2023-02-09 19:41:11 +01:00
38906dafef Implement open() and close() for Usb class, added a lot of TODO's 2022-11-13 21:28:28 +01:00
d7dfdc4739 Added Usb Detection using libUsb 2022-11-12 18:34:40 +01:00
815e67bdfb Add USB stub, add logging using spdlog 2022-11-12 18:34:40 +01:00
4809f60d2c List usb device 2022-11-12 18:34:40 +01:00
cc2316a497 Change build system to meson 2022-11-12 18:34:40 +01:00
2913a272d1 Sketching some basic interfaces 2022-11-12 18:34:40 +01:00
bd9a39e185 Initial commit, basic CMake project
Signed-off-by: Moritz Martinius <moritz@admiralackbar.de>
2022-11-12 18:34:40 +01:00