Posted 14 September 2017, 6:48 pm EST
[activereports_archive]I am a developer using VB2013 and SQL on the backend.
I am deploying a Queue/Kiosk system which uses an EPSON EU T400 printer for the kiosks and a Zebra LP2824 for the workers in reception.
I have several AR8 reports. Two (long and short) for each printer.
In all my testing, the printer name was hard-coded - PrinterName = “LP2824” - and was not an issue.
I see that my printer list includes both the EU T400 and the LP2824 (plus the fax “printer” and the XPS Document Writer).
Now that it is deployed to actual machines… and they have other printers installed (at least 1 network printer).
I am getting Failed to open the LP2824 printer… System error number: 5 errors.
I read where the solution was setting PrinterName = “” and letting VB handle it. However, the default is typically the network printer… and the result is printing a 2" by 4" ticket on a 8.5 by 11 sheet.
I knew that it wasn’t going to work, but I instantiated a printer dialog, let the user select a printer, and applied that choice to the document.
Still getting the System error number: 5 errors.
Is there something in the print object themselves that I’m missing?
Localizeable - False
MasterReport - False
MaxPages - 1
PrintWidth - 1.9
ScriptLanguage - VB.NET
ShowParameterUI - True
Tray and Watermark properties, I’m assuming, are not affecting this.
Thanks for your time.[/activereports_archive]