Package Details: dymo-cups-drivers 1.4.0.5-4

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: 19
Popularity: 0.046860
First Submitted: 2012-01-15 06:51 (UTC)
Last Updated: 2021-12-30 08:31 (UTC)

Latest Comments

festuc commented on 2022-02-18 19:54 (UTC) (edited on 2022-02-18 20:01 (UTC) by festuc)

I just had a problem with this printer i have a to zones on each label side without print.Reinstall will not fix the problem. You have to download with a browser your copy of tar file and put into your webserver, overwise wget can not download again. So, if you have this problem do not uninstall/reinstall. This will no fixed nothing

Auerhuhn commented on 2021-08-25 13:52 (UTC) (edited on 2021-08-25 13:52 (UTC) by Auerhuhn)

I get a 403 due to Cloudflare’s recently more aggressive captchawall. The following variant of Jay Ta'ala’s fix for genymotion seems to make it work again:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,9 @@ pkgdesc="Official Dymo supplied Linux Cups drivers for LabelWriter series"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL')
 depends=('libcups')
-source=(http://download.dymo.com/Software/Linux/${pkgname}-${_archive_ver}.tar.gz
+makedepends=('wget')
+DLAGENTS=("https::/usr/bin/wget -U "Mozilla" %u")
+source=(https://download.dymo.com/Software/Linux/${pkgname}-${_archive_ver}.tar.gz
        cups-ppd-header.patch cups-2.6-api.patch)
 sha256sums=('c60797e7e986ca329f46e9a6ab1cb6382383952b15685ed69fd91f3c7ed64f71'
             '3a11eaffc5295e4811721b1bd1e51d79ed5e2c5e7665d4be7fc9ce0579fd2a17'

gwpl commented on 2021-06-09 16:46 (UTC)

On more hint: I see that on that time when printing remotely I was using things like read -r -p 'Label:' label && convert -background white -fill black -density 600x600 -size 1346x756 -font 'DejaVu-Sans' -gravity center label:"${label}" label.png && display label.png && lpr -P DymoLW450 -o raw -o scaling=100 label.png , therefore with -o scaling=100 , while other times (probably when printing locally) I was printing from .png ... If someone finds out please share, otherwise I am happy to collab to make state of those printers better. (And anyway it maybe forum-thread worthy?)

gwpl commented on 2021-06-09 16:18 (UTC)

Another hint when printing with lpr -o raw -P Dymo_Print_NAme_in_your_system filename... is that sizing may matter to match well size of label (also resolution) as scaling code seems off in this driver, plus if you print vector vs bitmap. (on my side despite it prints "test page" from CUPS correctly, it prints .pdf and .png incorrectly when doing fast test, I may need to play later to recall how to set it up to make it work...)

gwpl commented on 2021-06-09 16:12 (UTC)

I just compiled using dymo-cups-drivers-1.4.0.tar.gz provided below and just printed succesfully "test page" from cups on small sticker.

gwpl commented on 2021-06-09 15:54 (UTC)

So to be specific I had two Dymo LabelWriter 450 . One directly to ArchLinux laptop, another attached to RapsberryPi with options to print : directly from raspberry pi and by sharing Dymo printer via network. Both options had their quirks , and for some things work as expected and sometimes making surprises ;).

gwpl commented on 2021-06-09 15:48 (UTC)

I've managed to find workarounds to make it work:

Here I captured in 2016-Q1 with context: https://cryptpad.fr/pad/#/2/pad/view/mP8Tg7NP5al-K+Y1kIOD-64QyCtZGISUtGiHyHAM7vM/

Basically driver seems buggy, and trying to print from graphical applications was often ending up with mismatched size or orientation (i.e. horizontal vs vertical etc). However somehow worked.

From commandline I kind of perfected my printing, so I ended up generating labels into files and printing from script using:

$ lpr -o raw -P remote_dymo

parameter "-o raw" is my workaround. I made it work on both: Archlinux and Raspberry Pi in 2016. This year I may try again ;).

gwpl commented on 2021-06-09 15:43 (UTC)

Error: Failure while downloading http://download.dymo.com/Software/Linux/dymo-cups-drivers-1.4.0.tar.gz

Here are copies of file:

https://ipfs.io/ipfs/QmaR9QEUMxGvk7FEVGavx7sWcHZRC6UVqLvXVBWxJxRTRL https://ipfs.globalupload.io/QmaR9QEUMxGvk7FEVGavx7sWcHZRC6UVqLvXVBWxJxRTRL

https://siasky.net/PAJe9HR_3nYeXfdPr8REDBafIAzincNENS0Q8tMCYC87jw

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

bparmentier commented on 2016-05-26 12:28 (UTC)

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

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