ExLibrisGroup / alma-print-daemon

Application which listens for and prints letters from the Ex Libris Alma print queues.
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Allow not specifying a page size for printers which cut paper after printing #55

Open mgobat opened 2 years ago

mgobat commented 2 years ago

Users with printers which cut the paper after printing would like an option to not specify a page size and rather rely on the printer to "do that work". Ex Libris will investigate this possibility.

Aavalaakso commented 2 years ago

This already works in version 1.3.1. So why it could be hard with later versions?

mgobat commented 2 years ago

@Aavalaakso, in order to support running the application as a Windows service, which was the major enhancement in 2.0, we had to completely change the way printing works. Pre-2.0, we used a browser window to print the Alma documents. Since Windows services can't have a UI, we had to change that; 2.0 renders the Alma letter as a PDF then prints the PDF. The PDF generator wants a document format (A3, A4, A5, letter, etc) or a page size specified. We are looking at alternatives...

Aavalaakso commented 2 years ago

Thanks for technical side. I understand the problem now.

mgobat commented 2 years ago

Rather than adding support for unknown printout dimensions (which isn't really possible with the PDF generator), if you are not running the Alma Print Daemon as a Windows service, the old method of printing via the Window is used. Please see https://github.com/ExLibrisGroup/alma-print-daemon/releases/tag/v2.1.0-beta2 for details.

korgol commented 12 months ago

Could you add A6 format, now I have to set dimensions manualy?