Forums / All Other Contributions/Addons / Dymo Label Printer

Dymo Label Printer

Started by swguy on 9 Mar 2008, 9:52 AM · Views: 26,974

Results 1 to 20 of 53
9 Mar 2008, 9:52 AM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Dymo Label Printer

Dymo saves you time-o! This mod allows you to print the Ship To address from the invoice page on a Dymo LabelWriter 400. In version 1, only Windows Internet Explorer is supported; future versions will add more operating system and browser variants.

Download:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=947

Extended Help:
http://www.thatsoftwareguy.com/zencart_dymo.html

Happy labeling,
That Software Guy

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Apr 2008, 1:51 AM
#2
cookiesa avatar

cookiesa

New Zenner

Join Date:
Jan 2007
Location:
Adelaide, South Australia
Posts:
43
Plugin Contributions:
0

Re: Dymo Label Printer

Great Mod Idea!

I waould like to be able to use it with a different label (still on the 400) Is it just a matter of changing the label in the path??

Thanks

www.platypusscreenprinting.com.au

Baby Clothing and Screen Printing

3 Apr 2008, 1:54 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

You might need to fiddle with ./admin/includes/javascript/dymo_ie.js.php

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Apr 2008, 7:42 AM
#4
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Dymo Label Printer

Would be great if you manage to add support for Firefox. I almost bought this label printer recently, but I didn't because it only supports IE and Microsoft Office (as far as I know).

3 Apr 2008, 9:55 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

If you have a mac, there is a separate mac client (it doesn't actually use address book).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Apr 2008, 2:50 PM
#6
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Dymo Label Printer

Thanks for your reply, but no Mac here, just a PC + XP.

I am addicted to FireFox, and I have a quite severe IE fobia.

4 Apr 2008, 12:29 AM
#7
cookiesa avatar

cookiesa

New Zenner

Join Date:
Jan 2007
Location:
Adelaide, South Australia
Posts:
43
Plugin Contributions:
0

Re: Dymo Label Printer

Highly recommend them, great printer and you will be amazed how often you use it!

www.platypusscreenprinting.com.au

Baby Clothing and Screen Printing

9 Apr 2008, 9:07 AM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

OK, I have tested a FF solution under Vista and it works. I will test under XP this weekend and write it up. There are a bunch of steps.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

12 Apr 2008, 4:29 PM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

OK, version 1.1, which supports Win/Firefox is now available in the downloads area. There are a number of additional steps you need to follow to make it work; please read and follow the directions carefully. You will want to upgrade to Firefox 2.0 if you haven't done so already.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

24 Apr 2008, 12:31 PM
#11
u761877 avatar

u761877

New Zenner

Join Date:
Sep 2005
Posts:
22
Plugin Contributions:
0

Re: Dymo Label Printer

Hello

I have installed the software and updated the files, The directories are correct in the dymo_ie.js.php.

But I am still getting the "label not found", with the standard install from the CD supplied there does not seem to be an address file called

Address (30252 , 30320, 30572).LWL only

Address (99010).LWL

Please can you advise

Mike

24 Apr 2008, 12:34 PM
#12
u761877 avatar

u761877

New Zenner

Join Date:
Sep 2005
Posts:
22
Plugin Contributions:
0

Re: Dymo Label Printer

I think I have sorted the problem

I changed the PHP file to point to the address (99010).LWL and it works

Thanks

Mike

24 Apr 2008, 11:12 PM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

Great. I'm going to update the help to talk about this at some point.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

11 Sep 2008, 9:36 PM
#14
mickpunt avatar

mickpunt

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Dymo Label Printer

Hi mr. Scott Wilson,

I (and assuredly many many others) really appreciate all the information and modules you have contributed on Zen Cart, very helpful indeed!

I was trying to get your Dymo module to work, unfortunately the dymo.xpi does not seem to be compatible with FF 3.x. Any chance you will be upgrading the mod ?

Thanks a bunch!

Mick Perez

BTW Click here to download an **updated **version of the Firefox extension.

11 Sep 2008, 10:07 PM
#15
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

It's on my list of things to do.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

11 Sep 2008, 11:18 PM
#16
mickpunt avatar

mickpunt

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Dymo Label Printer

Okay... just to let you know... I got it working in FF 3.x

Edit invoice.php, go to line 48 (<head>) and add the following code on the next blank line:

<script language="javascript" type="text/JavaScript"><!--
function PrintBtnClicked(addr)
{
	try
	{
		DymoAddIn = new nsDymoAddIn();
		DymoLabels = new nsDymoLabels();
		if (DymoAddIn.Open('D:\\Mick\\MyDocuments\\ZandAmsterdam\\Dymo\\ZandAmsterdamEtiket.LWL'))
        	{
	        	DymoLabels.SetAddress(1, addr);
		        DymoAddIn.Print(1, true);
	        }
       	else
	        alert('Error: Label file Not Found!');
	}
	catch (err)
	{
		alert(err);
		return;
	}
}
//-->
</script>

Now comment out the 2 lines of code specifying the dymo javascript, like such:

// <script src="file:///d:/Mick/MyDocuments/ZandAmsterdam/Zen Cart/Mods/dymo_label_printer_1-1/dymo_1.1/dymo_ff.js">
// </script>

The only thing you need to do now is specify the correct local LWL file in the java script function PrintButtonClicked.

if (DymoAddIn.Open('C:\\Username\\MyDocuments\\Customer\\Dymo\\CustomerSpecificDymoTemplate.LWL'))

Done! To my amazement it worked in one go :D

So no more fiddling needed with the firefox configuration in order to permit local includes. Which doesn't work anyway in FF3.

Cheers!

Mick

12 Sep 2008, 12:16 AM
#17
mickpunt avatar

mickpunt

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Dymo Label Printer

If noticed there is a possibility of a bug:

PrintBtnClicked('Diana 't Hart \nBeersel..., 2631 CS\n?Noord-Holland, Netherlands')

Javascript will stop on the second quote (after Diana). I'm not very good with PHP (yet) but I found a function to escape only certain characters. So I tried this:

$label_addr = addcslashes($label_addr, '\107..\110');

\107 being the oct representation of a single quote.

But unfortunately that doesn't quite do the trick since it also escapes the newlines. Any help on this?

Thanks!

Mick

12 Sep 2008, 9:35 PM
#18
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,741
Plugin Contributions:
56

Re: Dymo Label Printer

Thanks for posting your findings. I'll update the documentation and the code next month, and I'll take a look at your bug at that time.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 Sep 2008, 1:05 AM
#19
tirjasdyn avatar

tirjasdyn

New Zenner

Join Date:
Sep 2005
Posts:
7
Plugin Contributions:
0

Re: Dymo Label Printer

omg. this is exactly what I'm looking for.

We use the dymo label printer to print our event tickets. I will see if I can get this to work for this...we just need name, item ordered and attributes ordered printed.

2 Oct 2008, 9:27 PM
#20
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Re: Dymo Label Printer

Is there any way to have this work with the batch print mod?