Commit graph

137 commits

Author SHA1 Message Date
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
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
51c90e6443 Add two-stage create/send print job support 2022-07-17 17:28:03 +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
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
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
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
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
71b2986a37 Spring cleaning 2022-02-20 14:13:11 +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
afb8d65ea8 Clean up logs a bit 2022-01-19 20:18:00 +01:00
Anton Thomasson
8843275fde Remove redundant deleteLater 2022-01-17 21:32:12 +01:00
Anton Thomasson
8b4c2f373b Plug a leak 2022-01-14 22:49:38 +01:00
Anton Thomasson
2ab6a7d979 Resolve string uris 2022-01-14 22:44:55 +01:00
Anton Thomasson
0684e677ec Get printer strings 2022-01-14 22:14:06 +01:00
Anton Thomasson
d6db1ff5e2 Naming and cleanup of worker 2022-01-07 20:36:21 +01:00
Anton Thomasson
cd62f76fc2 Remove autogeneration of version header
...just use a direct define.
2022-01-01 19:26:40 +01:00
Anton Thomasson
70206916e4 Use Bytestream instead of QByteArray for IPP messages 2021-12-14 20:06:16 +01:00
Anton Thomasson
76e579532a Remove secure/taint indicator and related functionality 2021-11-16 20:46:35 +01:00
Anton Thomasson
e918b8784a Leave page-ranges in for Postscript 2021-11-16 20:46:35 +01:00
Anton Thomasson
497f860aaf Fix messages, cleanup 2021-11-16 20:46:35 +01:00
Anton Thomasson
fce3974d51 Fix printing PDF as Postscript 2021-11-16 20:46:35 +01:00
Anton Thomasson
32d3cc6587 Remove more redundant logic 2021-11-16 20:46:35 +01:00
Anton Thomasson
0ef25112a5 Change to cURL for IPP requests 2021-11-16 20:46:35 +01:00
Anton Thomasson
a4168ef74f Remove always use media-col setting 2021-07-31 12:59:51 +02:00
Anton Thomasson
ebdfa9e4ee Change paper sizes to QSizeF 2021-07-31 12:52:33 +02:00
Anton Thomasson
83ec5d8040 Add default value for resolution 2021-07-19 22:03:08 +02:00
Anton Thomasson
a7f169c42a Respect margins in convertImage 2021-07-14 15:07:55 +02:00
Anton Thomasson
2f1e1bf7a5 Add warning/hint about suffixes 2021-06-28 20:15:21 +02:00
Anton Thomasson
55f6971e6a Adjust raster resolution according to printer needs 2021-06-27 16:23:27 +02:00