Failed to open the LP2824 printer

Posted by: seankelly on 14 September 2017, 6:48 pm EST

  • 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]

  • Posted 14 September 2017, 6:48 pm EST

    [activereports_archive]SeanKelly,

    Can you please try setting the required paper size after you set the PrinterName to empty string. So you can set the PrinterName property in the ReportStart event, followed by defining the paper size required for printing the report. You can use the PageSettings class to accomplish this. More information on this class can be found here:

    http://helpcentral.componentone.com/nethelp/AR8Help/AR8_HelpOnlineEN/GrapeCity.ActiveReports.v8~GrapeCity.ActiveReports.PageSettings.html

    Finally, you can instantiate your print dialog to allow the user to select a printer and check if you are able to get the report to print. Let me know if you still face any issues.

    Regards,

    Sankalp[/activereports_archive]

  • Posted 23 June 2018, 12:09 pm EST

    I think that it is a printer driver compatible issue. The printer driver is a most important element of a printer. You can do update printer driver. If your printer driver is work than a arrange a technician from Ricoh printer support for you

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels