Package Details: dymo-cups-drivers 1.4.0.5-3

Git Clone URL: https://aur.archlinux.org/dymo-cups-drivers.git (read-only)
Package Base: dymo-cups-drivers
Description: Official Dymo supplied Linux Cups drivers for LabelWriter series
Upstream URL: http://global.dymo.com/
Licenses: GPL, LGPL
Submitter: jkl
Maintainer: jkl
Last Packager: jkl
Votes: 9
Popularity: 0.016896
First Submitted: 2012-01-15 06:51
Last Updated: 2016-10-28 00:17

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

nitrotm commented on 2016-12-05 15:06

Can anybody print on a Dymo LabelPrinter PnP since Cups 2.2.x update using this driver?

Mine was working fine this summer, then I had the compilation issue mentioned below and even if it compiles fine now, nothing is ever printed out on labels.

I can't find any error or interesting debug message in cups logs, the cups usb backend / dymo driver emit/receive some data packets according to the logs.

nitrotm commented on 2016-10-26 14:27

Here is a simple patch to fix the problems (dymo-cups-drivers-1.4.0.5.patch):

diff -u -r dymo-cups-drivers-1.4.0.5/src/common/CupsFilter.h dymo-cups-drivers-1.4.0.5-patch/src/common/CupsFilter.h
--- dymo-cups-drivers-1.4.0.5/src/common/CupsFilter.h 2012-02-07 14:22:37.000000000 +0100
+++ dymo-cups-drivers-1.4.0.5-patch/src/common/CupsFilter.h 2016-10-26 16:09:48.957672252 +0200
@@ -23,6 +23,7 @@

#include <cups/cups.h>
#include <cups/raster.h>
+#include <cups/ppd.h>
#include <memory>
#include <string>
#include "CupsPrintEnvironment.h"

diff -u -r dymo-cups-drivers-1.4.0.5/src/lm/CupsFilterLabelManager.h dymo-cups-drivers-1.4.0.5-patch/src/lm/CupsFilterLabelManager.h
--- dymo-cups-drivers-1.4.0.5/src/lm/CupsFilterLabelManager.h 2012-02-07 14:22:38.000000000 +0100
+++ dymo-cups-drivers-1.4.0.5-patch/src/lm/CupsFilterLabelManager.h 2016-10-26 16:10:40.611006704 +0200
@@ -23,6 +23,7 @@

#include <cups/cups.h>
#include <cups/raster.h>
+#include <cups/ppd.h>
#include "LabelManagerDriver.h"
#include "LabelManagerLanguageMonitor.h"
#include "DummyLanguageMonitor.h"

#endif
diff -u -r dymo-cups-drivers-1.4.0.5/src/lw/CupsFilterLabelWriter.h dymo-cups-drivers-1.4.0.5-patch/src/lw/CupsFilterLabelWriter.h
--- dymo-cups-drivers-1.4.0.5/src/lw/CupsFilterLabelWriter.h 2012-02-07 14:22:37.000000000 +0100
+++ dymo-cups-drivers-1.4.0.5-patch/src/lw/CupsFilterLabelWriter.h 2016-10-26 16:10:25.051006367 +0200
@@ -23,6 +23,7 @@

#include <cups/cups.h>
#include <cups/raster.h>
+#include <cups/ppd.h>
#include "LabelWriterDriver.h"
#include "LabelWriterLanguageMonitor.h"
#include "DummyLanguageMonitor.h"

altercation commented on 2016-10-04 21:19

Similar to nitrotm.

../common/CupsFilter.h: In instantiation of ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’:
../common/CupsFilter.h:99:15: required from ‘int DymoPrinterDriver::CCupsFilter<D, DI, LM>::Run(int, char**) [with D = DymoPrinterDriver::CLabelWriterDriver400; DI = DymoPrinterDriver::CDriverInitializerLabelWriter; LM = DymoPrinterDriver::CDummyLanguageMonitor]’
raster2dymolw.cpp:108:37: required from here
../common/CupsFilter.h:218:32: error: ‘ppdOpenFile’ was not declared in this scope
ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
~~~~~~~~~~~^~~~~~~~~~~~~~~
../common/CupsFilter.h:228:18: error: ‘ppdMarkDefaults’ was not declared in this scope
ppdMarkDefaults(ppd);
~~~~~~~~~~~~~~~^~~~~
../common/CupsFilter.h:234:20: error: ‘ppdMarkOption’ was not declared in this scope
ppdMarkOption(ppd, Options[i].name, Options[i].value);
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:238:18: error: ‘cupsMarkOptions’ was not declared in this scope
cupsMarkOptions(ppd, OptionCount, Options);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:243:45: error: ‘ppdFindMarkedChoice’ was not declared in this scope
ppd_choice_t* choice = ppdFindMarkedChoice(ppd, "DymoHalftoning");
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../common/CupsFilter.h:248:11: error: ‘ppdClose’ was not declared in this scope
ppdClose(ppd);
~~~~~~~~^~~~~

nitrotm commented on 2016-10-04 09:20

Compilation fails with latest cups release (here are the first errors, several more are triggered during build):

In file included from raster2dymolw.cpp:37:0:
../common/CupsFilter.h: In member function ‘void DymoPrinterDriver::CCupsFilter<D, DI, LM>::InitDocument(const char*)’:
../common/CupsFilter.h:218:3: error: ‘ppd_file_t’ was not declared in this scope
ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
^~~~~~~~~~
../common/CupsFilter.h:218:15: error: ‘ppd’ was not declared in this scope
ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));
^~~
../common/CupsFilter.h:218:46: error: there are no arguments to ‘ppdOpenFile’ that depend on a template parameter, so a declaration of ‘ppdOpenFile’ must be available [-fpermissive]
ppd_file_t* ppd = ppdOpenFile(getenv("PPD"));

bparmentier commented on 2016-05-26 12:28

Note that you may need to install usb_modeswitch for the DYMO printer to be recognized in CUPS.

derhil commented on 2013-01-22 14:33

New Version 1.4.0:

https://dymo.custhelp.com/app/answers/detail/a_id/101/~/dymo-drivers-and-downloads#lw_linux