DCD-SDK-Sample icon indicating copy to clipboard operation
DCD-SDK-Sample copied to clipboard

DCD 1.3.1 reports LabelManager 420P IsAutoCutSupported as true even though it doesn't support this feature

Open fssup opened this issue 4 years ago • 1 comments

The LabelManager 420P has a cutter, but is manually operated. It therefore does not qualify for the IsAutoCutSupported flag, but nonetheless it is set.

Info: DCD 1.3.1 on Windows 10 1909 x64 Visual Studio 2019 DYMO.Connect.SDK 1.3.1.115 Installation steps followed from WPFSDKSample

Steps to reproduce:

  1. Installation according to WPFSDKSample
  2. Create new C# .NET Framework console application in Visual Studio 2019
  3. Build this file:
using DymoSDK.Implementations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrinterInfo
{
    class Program
    {
        static void Main(string[] args)
        {

            IEnumerable<DymoSDK.Interfaces.IPrinter> Printers;
            Printers = DymoPrinter.Instance.GetPrinters();
            foreach (DymoSDK.Interfaces.IPrinter Printer in Printers)
            {
                Console.WriteLine(Printer.Name + ", IsConnected: " + Printer.IsConnected + ", IsAutoCutSupported: " + Printer.IsAutoCutSupported + ", PrinterType: " + Printer.PrinterType);
            }
            Environment.Exit(0);
        }
    }
}
  1. Connect DYMO LabelManager 420P
  2. Run the executable you just build from the commandline
  3. The SDK reports the LabelManager 420P as IsAutoCutSupported: True even though the physical device doesn't have this feature as it is operated manually

fssup avatar Apr 24 '20 15:04 fssup

Problem still present in DYMO.Connect.SDK 1.3.1.160-beta

fssup avatar May 07 '20 09:05 fssup