Printing from OPENVPMS - number of copies doesnt do anything
Under OpenVPMS 2.4-beta selecting the number of copies doesnt seem to do much
It doesnt print multiple copies just 1.
The system is setup using a docker instance running under Ubuntu 18.
The docker instance of tomcat acts a client to the System which has a CUPS print server running that manages printing
We have confirmed that printing from the commandline using
LP -n 2 <doc>
Works in both the host and the docker instance and produces 2 copies.
At this stage with think the javax print implementation may be flawed.
JAVA version is Temurin 11.0.17
cups-client 2.3.1-9ubuntu1.2
Cups does report some issues with printing copies and has a recommendations to add
*cupsManualCopies True to the printers ppd file - this should force cups to send multiple print jobs v 1 with multiple copies
We did try this but give we could already print multiple copies it seemed a flawed work around
Re: Printing from OPENVPMS - number of copies doesnt do anything
Different template types use different print mechanisms.
Try printing multiple copies for:
1. JasperReports (e.g. Invoices, Receipts)
2. Word/OpenOffice templates
If this doesn't work, but does work when setting the cupsManualCopies flag to true, its a CUPS issue; the no. of copies are correctly being sent through to CUPS but the driver is ignoring them.
Check to see if there is a different driver for your printer that supports multiple copies.
Also see https://unix.stackexchange.com/questions/441513/how-can-i-tell-a-cups-pr...
Re: Printing from OPENVPMS - number of copies doesnt do anything
I can confirm that I just printed to the same printer
1. JRXML - 2 copies requested - 1 printed
2. OOffice - 2 copies requested - 2 printed
So it definitely works but 1 implementation is not?
Re: Printing from OPENVPMS - number of copies doesnt do anything
Both work for me, when printing on Windows. If you specify cupsManualCopies, do both work for you?