Commit graph

244 commits

Author SHA1 Message Date
Anton Thomasson
29c5bbf62b Make it DBusActivatable 2023-02-19 17:08:46 +01:00
Anton Thomasson
fce00048ef Adjust label text size 2023-01-29 15:47:38 +01:00
Anton Thomasson
62bcecccbe Add basic label printer support 2023-01-29 13:47:43 +01:00
Anton Thomasson
f9b740c94b Ensure increasing page range list 2022-08-19 18:32:06 +02:00
Anton Thomasson
38d5a95982 Reset position for decoded answer when passed as failure response 2022-08-13 21:02:00 +02:00
Anton Thomasson
ac84fe079e Use PrintParameters for paper sizes 2022-08-13 20:04:10 +02:00
Anton Thomasson
53ca370f92 Add advanced page ranges (list of ranges) 2022-08-13 16:35:03 +02:00
Anton Thomasson
3abd1e103f Enable encoding 1-set-of 2022-08-13 16:34:00 +02:00
Anton Thomasson
8712ee6eea Remove unneccessary function argument 2022-08-13 12:10:40 +02:00
Anton Thomasson
9287da53aa Move some raster compensation to where it belongs 2022-08-01 20:30:22 +02:00
Anton Thomasson
6a06fa5ffd Add support for client-side copies 2022-07-31 22:08:54 +02:00
Anton Thomasson
b7aeb097a3 Optimize raster logic a bit 2022-07-31 19:47:45 +02:00
Anton Thomasson
15cae28413 Improve PrinterWorker threading
Let PrinterWorker own its thread.
Don't access IppPrinter from PrinterWorker.
2022-07-20 15:18:49 +02:00
Anton Thomasson
5f71f2dd64 Add optional job-id to prioritized/sorted operation attributes
Some printers are really picky...
2022-07-18 22:27:39 +02:00
Anton Thomasson
51c90e6443 Add two-stage create/send print job support 2022-07-17 17:28:03 +02:00
Anton Thomasson
d037600d0f Don't use chunked encoding when there is no document 2022-07-17 17:28:03 +02:00
Anton Thomasson
aaae57b113 Fix boolean encoding 2022-07-10 16:39:19 +02:00
Anton Thomasson
da923e3a32 Make await an explicit step on CurlRequester 2022-07-10 13:11:20 +02:00
Anton Thomasson
071c39b6f3 Move operation to IppMsg constructor 2022-07-10 11:36:21 +02:00
Anton Thomasson
04830863ab Simplify IppPrinter->PrinterWorker interface 2022-07-10 10:29:56 +02:00
Anton Thomasson
95ef563230 Use QImageReader so images are loaded in correct orientation 2022-07-06 20:31:09 +02:00
Anton Thomasson
813e1edb6a Fix plaintext 2022-06-10 19:40:51 +02:00
Anton Thomasson
fb40a89858 Don't remove icons from fake-file printers
...just don't try to load them
2022-06-04 17:42:18 +02:00
Anton Thomasson
64a7b0120f Guard against 0-length values 2022-06-04 14:44:26 +02:00
Anton Thomasson
8c6344eef8 Enable raw/binary fake-printers 2022-06-04 14:43:53 +02:00
Anton Thomasson
6c7e09fdb5 Add SVG support 2022-05-30 19:35:18 +02:00
Anton Thomasson
342a1a82f0 Improve printer discovery logic 2022-05-27 14:19:56 +02:00
Anton Thomasson
58619bd63a Improve likelyhood of name resolution 2022-05-26 14:42:01 +02:00
Anton Thomasson
18f0c66dba Give better feedback when there is no way to convert 2022-05-26 12:28:29 +02:00
Anton Thomasson
ab96dc547f Add Reverse-BMP format 2022-05-26 11:57:16 +02:00
Anton Thomasson
6ba065b4b1 Drop use of qt foreach 2022-05-22 11:00:32 +02:00
Anton Thomasson
ba2a826b56 Fix potential icon request loop 2022-05-19 20:49:57 +02:00
Anton Thomasson
08b66ed711 Stop resizing images when transferred as such 2022-05-16 21:52:00 +02:00
Anton Thomasson
ff2eae04cf Add Identify-Printer 2022-05-16 20:29:53 +02:00
Anton Thomasson
b4aaa85a2d Add option for restricting non-printer connections 2022-05-15 21:21:32 +02:00
Anton Thomasson
dd19333c81 Support printing plaintext as plaintext
It will be converted ro \r\n linebraks, but still has lowest prio
for printing plaintext input due to unreliable rendering.
2022-05-02 21:20:26 +02:00
Anton Thomasson
6e2ded84e2 Fix plaintext printing >2 pages 2022-04-09 13:30:41 +02:00
Anton Thomasson
5799985c92 Fix status message for PDF 2022-04-09 13:30:23 +02:00
Anton Thomasson
cecc038a6d Fix more broken stuff after restructuring 2022-03-26 18:35:22 +01:00
Anton Thomasson
993eb75cf7 Fix printing on non-A4 after restructuring 2022-03-23 20:34:38 +01:00
Anton Thomasson
09ceb4f0ec Use PrintParameters for conversion settings 2022-03-19 18:51:13 +01:00
Anton Thomasson
e16bfbe7c6 Don't send margins when effecting them locally 2022-03-19 17:55:55 +01:00
Anton Thomasson
ef3b53abdb Add re-encoding of jpegs to baseline profile 2022-03-06 17:16:07 +01:00
Anton Thomasson
40da0790e2 Remove unneccessary SvgProvider 2022-02-21 18:14:04 +01:00
Anton Thomasson
71b2986a37 Spring cleaning 2022-02-20 14:13:11 +01:00
Anton Thomasson
3be30e58e6 Squelch a warning 2022-02-19 18:43:44 +01:00
Anton Thomasson
0efd96c072 Make the icon an attribute on the printer object
This allows retrying based on actual size and using cURL for getting
the icon to avoid old Qt network code.
2022-02-19 17:48:51 +01:00
Anton Thomasson
595a253693 Hook up debug log switch to raster verbose mode 2022-01-23 17:36:47 +01:00
Anton Thomasson
afb8d65ea8 Clean up logs a bit 2022-01-19 20:18:00 +01:00
Anton Thomasson
390e5dd16d Make debug log configurable 2022-01-19 20:03:19 +01:00