"max-buffer-size": "25m"
"mode": "non-blocking" - Make sure the DPI of the document is correct (e.g. 203dpi)
- Make sure the document does not need to be scaled (and scaling to fit is disabled) (for 4x6 that means 812 x 1218 pixels max)
- Make sure the document is black and white (no grayscale)
ZPL is a beast. pdfimages -all <input_file>.pdf <out_prefix>
convert <generated_png>.png -filter point -density 203 -units PixelsPerInch out.png
And then print the generated png. Cryptsetup
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 465.5 MiB/s 654.0 MiB/s
OpenSSL Speed for ChaCha
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
chacha20-poly1305 85242.48k 144024.55k 265936.64k 309418.33k 317977.94k 317658.45k
vs Pi4 Cryptsetup
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 18.9 MiB/s 31.9 MiB/s
OpenSSL Speed for ChaCha
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
chacha20-poly1305 24833.53k 55555.22k 90574.34k 99022.17k 102659.41k 100592.30k
https://aws.amazon.com/blogs/containers/preventing-log-loss-...