Package Details: dymo-cups-drivers 1.4.0.5-5

Git Clone URL: https://aur.archlinux.org/dymo-cups-drivers.git (read-only, click to copy)
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: 18
Popularity: 0.000000
First Submitted: 2012-01-15 06:51 (UTC)
Last Updated: 2022-09-13 19:44 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

theokonos commented on 2021-03-24 18:15 (UTC)

Has anyone had any luck getting labelwriter printers to work on Manjaro or Arch? I'm running Manjaro 21.0 with kernel 5.4.105, and I consistently get an error "Unable to open raster file - : No such file or directory."

I've tried this AUR build as well as manually patching the drivers. The printer is shared on my network using an RPi4 and CUPS but I know the issue is local to Manjaro because I can print without issue from my Windows machine.

Zepman commented on 2020-08-27 17:25 (UTC)

ARM64 works. Just add to the 'arch' array in PKGBUILD the value 'aarch64' (including quotes).

festuc commented on 2020-01-04 12:41 (UTC)

It compiles well with rpi4 and works ok with my labelwriter 450 But at begin said is not compatible with my architecture

ArnaudNux commented on 2019-10-17 21:54 (UTC)

/usr/include/cups/ppd.h:364:14: note: declared here 364 | extern void ppdClose(ppd_file_t ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ In file included from raster2dymolw.cpp:37: ../common/CupsFilter.h:249:11: warning: 'void ppdClose(ppd_file_t)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 249 | ppdClose(ppd); | ~~~~~~~~^~~~~ In file included from ../common/CupsFilter.h:26, from raster2dymolw.cpp:37: /usr/include/cups/ppd.h:364:14: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ mv -f .deps/raster2dymolw.Tpo .deps/raster2dymolw.Po make[4]: Leaving directory '/home/arnaud/tempo/qt4/dymo-cups-drivers/src/dymo-cups-drivers-1.4.0.5/src/lw' make[3]: [Makefile:435: all-recursive] Error 1 make[3]: Leaving directory '/home/arnaud/tempo/qt4/dymo-cups-drivers/src/dymo-cups-drivers-1.4.0.5/src/lw' make[2]: [Makefile:262: all-recursive] Error 1 make[2]: Leaving directory '/home/arnaud/tempo/qt4/dymo-cups-drivers/src/dymo-cups-drivers-1.4.0.5/src' make[1]: [Makefile:204: all] Error 2 make[1]: Leaving directory '/home/arnaud/tempo/qt4/dymo-cups-drivers/src/dymo-cups-drivers-1.4.0.5/src' make: [Makefile:263: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

salmon commented on 2019-09-15 13:52 (UTC)

Had to add cups/sidechannel.h to CupsPrintEnvironment.cpp for it to compile. Here's an update to nitrotm's patch file:

diff -ur 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 08:22:37.000000000 -0500
+++ dymo-cups-drivers-1.4.0.5-patch/src/common/CupsFilter.h 2016-10-27 20:13:46.267013540 -0400
@@ -23,6 +23,7 @@

 #include <cups/cups.h>
 #include <cups/raster.h>
+#include <cups/ppd.h>
 #include <memory>
 #include <string>
 #include "CupsPrintEnvironment.h"
diff -ur 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 08:22:38.000000000 -0500
+++ dymo-cups-drivers-1.4.0.5-patch/src/lm/CupsFilterLabelManager.h 2016-10-27 20:14:00.407310094 -0400
@@ -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"
@@ -50,4 +51,4 @@

 /*
  * End of "$Id: CupsFilterLabelManager.h 14880 2011-03-31 16:29:05Z aleksandr $".
- */
\ No newline at end of file
+ */
diff -ur 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 08:22:37.000000000 -0500
+++ dymo-cups-drivers-1.4.0.5-patch/src/lw/CupsFilterLabelWriter.h  2016-10-27 20:14:23.717798963 -0400
@@ -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"
diff -ur dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnviroment.cpp dymo-cups-drivers-1.4.0.5-patch/src/common/CupsPrintEnviroment.cpp
--- dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnvironment.cpp   2012-02-07 08:22:37.000000000 -0500
+++ dymo-cups-drivers-1.4.0.5-patch/src/common/CupsPrintEnvironment.cpp 2019-09-14 22:39:23.226950081 -0400
@@ -23,6 +23,7 @@

 #include "CupsPrintEnvironment.h"
 #include <errno.h>
 #include <cups/cups.h>
+#include <cups/sidechannel.h>
 #include <cassert>

 namespace DymoPrinterDriver

nitrotm commented on 2016-12-05 15:06 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-10-04 09:20 (UTC) by nitrotm)

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"));