Skip to content

[Bug]: label printing not working in online version #378

@eikos1

Description

@eikos1

Binner version

V2.6.15

Operating System

Windows 10 pro

Describe the bug and the steps to reproduce it

When i try to print a label in the online version i get an error message.
I changed the printer name in DYMO LabelWriter 550 (my local printer name) but its not working/ showing up. (on the local version i got it working with this label printer.

Editie Windows 10 Pro
Version 2009
Installationdate ‎18-‎5-‎2025
Build OS 19045.5854

browser: chrome and edge version 136.0.3240.76

error message:
API Error

System.Exception
Print Error! An exception occurred of type System.Exception
Could not locate printer named: 'DYMO LabelWriter 450 Twin Turbo' - the following printers are available: Microsoft XPS Document Writer,Microsoft Print to PDF

Api Endpoint: https://binner.io/api/part/print?partNumber=Z0103MN&partId=37817&generateImageOnly=false
at Binner.Common.IO.Printing.WindowsPrinterEnvironment.SetPrinterByName(PrintDocument t, String printerName) in C:\projects\binner-io\Binner\Library\Binner.Common\IO\Printing\WindowsPrinterEnvironment.cs:line 76 at Binner.Common.IO.Printing.WindowsPrinterEnvironment.CreatePrinterDocument(PrinterOptions options) in C:\projects\binner-io\Binner\Library\Binner.Common\IO\Printing\WindowsPrinterEnvironment.cs:line 43 at Binner.Common.IO.Printing.WindowsPrinterEnvironment.PrintLabel(PrinterOptions options, LabelDefinition labelProperties, Image1 labelImage) in C:\projects\binner-io\Binner\Library\Binner.Common\IO\Printing\WindowsPrinterEnvironment.cs:line 31 at Binner.Common.IO.Printing.DymoLabelPrinterHardware.Print(Image1 image, LabelDefinition labelProperties, PrinterOptions options) in C:\projects\binner-io\Binner\Library\Binner.Common\IO\Printing\PrinterHardware\DymoLabelPrinterHardware.cs:line 114 at Binner.Common.IO.Printing.DymoLabelPrinterHardware.PrintLabel(LabelContent content, PrinterOptions options) in C:\projects\binner-io\Binner\Library\Binner.Common\IO\Printing\PrinterHardware\DymoLabelPrinterHardware.cs:line 94 at Binner.Web.Controllers.PartController.PrintPartAsync(PrintPartRequest request) in C:\projects\binner-io\Binner\Binner.Web\Controllers\PartController.cs:line 632

Would you like to attach your appsetings.json configuration?

No response

Screenshots or Videos (Optional, but they help!)

No response

Are you able to contribute a PR? (No is ok!)

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions