dymosoftware / Drivers

21 stars 5 forks source link

raster2dymolw_v2 file not found #3

Open tphollis opened 1 year ago

tphollis commented 1 year ago

When trying to use the driver for LabelWriter 550 Turbo (lw550t.ppd) I kept getting an error saying "raster2dymolw_v2 file not found". A simple fix for this is to open up the .ppd file and change "raster2dymolw_v2" to "raster2dymolw". This is what worked for me anyway.

jayjayseal commented 4 months ago

Do not change the file. Copy the file (/LW4xx Linux/Linux/src/lw/raster2dymolw_v2) from the ZIP file to /usr/lib/cups/filter/

i guess the installer does not copy that file from the source to your device. (along with that the LW4xxLinux ppd folder does not contain ppd files for the lw4 printers but only for the 5xx printers. There is a lot wrong with the SDK.

jayjayseal commented 4 months ago

For the labelwriter 500 this works on Linux with this patch.

nullpanda commented 3 months ago

Hey Jay where did you find v2? I don’t see it in that directory.

jayjayseal commented 3 months ago

https://github.com/dymosoftware/Drivers/blob/main/LW4xx%20Linux/LW4xx%20Linux.zip

In this zipfile you should find it

nullpanda commented 3 months ago

For the .cpp file there is no V2 in that zip.

I also just started seeing new behavior where the system log shows my printer “disconnects” as soon as I submit a print job and then it reconnects a few seconds later.

`Apr 1 22:42:44 printah kernel: [ 382.044906] usblp 1-1.3:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x0922 pid 0x0028

Apr 1 22:43:06 printah kernel: [ 403.432309] usblp0: removed `

Mawiguk0 commented 3 months ago

Hi I really need to join the discussion here because the LabelWriter 550 drives me crazy. I followed alot of guides, threads and issues on this topic and are at the edge of frustration.

@nullpanda @jayjayseal I got the project to compile the v2 files here is how:

Install depedencies as needed

apt install libcups2-dev libcups2 build-essential automake libboost-dev

(Not shure if all are needed)

Inside the LW5xx_Linux folder

chmod +x configure
aclocal
automake
./configure
make
make install (puts the v2 files into the cups dir)
printpi-32:~/Drivers/LW5xx_Linux# ls /lib/cups/filter/raster2dymo* -lah
-rwxr-xr-x 1 root root 42K Oct 27  2019 /lib/cups/filter/raster2dymolm
-rwxr-xr-x 1 root root 91K Apr 10 11:42 /lib/cups/filter/raster2dymolm_v2
-rwxr-xr-x 1 root root 46K Oct 27  2019 /lib/cups/filter/raster2dymolw
-rwxr-xr-x 1 root root 94K Apr 10 11:42 /lib/cups/filter/raster2dymolw_v2

Important Notice: I tried to run this on the 64 bit legacy Raspberry Pi OS before. Maybe because of my failed attempts on that system or the nature of this maybe beeing compatible with 32 bit only... On a fresh install 32 bit legacy Raspberry Pi OS (PI3) it works flawless. ( I literally was shocked when the printer started printing as intended) Here are some more sys informations for you:

printpi-32:~# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

root@printpi-32:~# uname -a
Linux printpi-32 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux