Author Topic: generic label printing extension  (Read 37080 times)

moriarty

  • Beginner
  • *
  • Posts: 1
Re: generic label printing extension
« Reply #15 on: December 01, 2008, 23:07:53 pm »
Hi Martin,

Thanx for the great extention! Works great for me!
The only weird thing is that in the backend the table creates one extra column! The headings and te informations in the rows don't correspond anymore...

I use VM 1.1.2 and JL 1.0.15

Thanx, Patrick

mhans

  • Beginner
  • *
  • Posts: 13
Re: generic label printing extension
« Reply #16 on: December 18, 2008, 15:27:42 pm »
Hi all,
Version 2.0 is out! This time, you can design your labels in SVG (for example using http://www.inkscape.org). You can then add tags like {product_name} and {address_1} etc. and they will be replaced by the extension before creating the PDF. See the example PDF attached to this message.

Enjoy!

Martin

[attachment cleanup by admin]

sham

  • Beginner
  • *
  • Posts: 3
Re: generic label printing extension
« Reply #17 on: December 19, 2008, 12:20:51 pm »
Hi,
this label thing is great, Thanks for your effort.

I got only one error, there are function missing

Array (
  • => {now+1 year 6 months -> d. M Y} [1] => +1 year 6 months [2] => -> d. M Y [3] => d. M Y )

Fatal error: Call to undefined function: date_create() in /home/sites/crownaceuk.com/public_html/administrator/components/com_virtuemart/html/order.order_label_generic_print.php on line 105

Could you have a look ?

Thanks in advance.

mhans

  • Beginner
  • *
  • Posts: 13
Re: generic label printing extension
« Reply #18 on: December 20, 2008, 15:41:49 pm »
Hi sham,
oops. Looks like that function only exists in newer versions of PHP. Which version are you using?

Until I get around to fixing it, a workaround is to remove the {now ...} tag from the item.svg template file.

Please let me know if this works for you.

Martin

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #19 on: December 27, 2008, 23:27:58 pm »
Joomla 1.5.8
Virtuermart 1.1.2

When press print label, have this error.

Fatal error: Class 'PDF_SVG' not found in C:\Archivos de programa\EasyPHP 2.0b1\www\administrator\components\com_virtuemart\html\order.order_label_generic_print.php on line 49


Please help me.

Thanks,

and this error use generic_label_printing_1.0b.zip


[attachment deleted by admin]

[attachment cleanup by admin]

mhans

  • Beginner
  • *
  • Posts: 13
Re: generic label printing extension
« Reply #20 on: December 28, 2008, 20:54:45 pm »
Hi investigacion,
ah I see what's going on. The install procedure in the README file is not complete. It should have asked you to install the file svg2pdf.php in administrator/components/com_virtuemart/classes/pdf.

The extension is now hosted at http://www.bitbucket.org/mhans/generic_label_printing/

Here you'll find the current development version which has many bugfixes and improvements compared to 2.0. sham, I've also fixed your issue there.

Martin

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #21 on: December 29, 2008, 13:58:27 pm »
Hi mhans,

Its same error, with generic_label_printing_1.0e and generic_label_printing_2.0.zip  andgeneric_label_printing-1414d4333e46

Please send me all instruccions or file copy

my e-mail tur_jose@hotmail.com

Joomla 1.5.8
Virtuemart 1.1.2

Thanks,
???

Hi investigacion,
ah I see what's going on. The install procedure in the README file is not complete. It should have asked you to install the file svg2pdf.php in administrator/components/com_virtuemart/classes/pdf.
The extension is now hosted at http://www.bitbucket.org/mhans/generic_label_printing/
Here you'll find the current development version which has many bugfixes and improvements compared to 2.0. sham, I've also fixed your issue there.
Martin

mhans

  • Beginner
  • *
  • Posts: 13
Re: generic label printing extension
« Reply #22 on: December 30, 2008, 08:33:40 am »
Hi investigatcion,
I currently recommend generic_label-printing-6911c3c995e6, since tip is not working right now (I'm in the middle of refactoring something). And you need to copy *all* the files below administrator/ and components/ to the corresponding place in your joomla-installation.

Martin

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #23 on: December 30, 2008, 15:28:46 pm »
I copy all files administrator/components
 include in zip generic_label_printing-6911c3c995e6.zip

and edit this files:

2. insert the link into the order list
--------------------------------------

Edit

administrator/components/com_virtuemart/html/order.order_list.php

and replace
 
    if (!$display_print_label) {
       $listObj->addCell("");
    } else {
 
with
    if (!$display_print_label) {
           require("order.order_label_generic_print_icon.php");
       // $listObj->addCell("");
    } else {

3. fix frontend administration
--------------------------------------
Edit

components/com_virtuemart/virtuemart.php

and replace

   replace
 
    echo PSHOP_OFFLINE_MESSAGE;
} else {
 
   with

    echo PSHOP_OFFLINE_MESSAGE;
} elseif (vmRequest::getVar('format', 'html' )=='raw') {
    require('order.order_label_generic_print_icon_fe.php');
} else {

the image of the error, there are the first line of the error and the last lines of the error.

When I give him to print label this mistake goes out (see image attach)

That I file do I lack?

Do I need some file more not included in the zip?

That I am doing badly?

Joomla 1.5.8
Virtuemart 1.1.2

Where to install the file .Hg_archival.txt? directory copy what?

Where to install the file test.php ? directory copy what?

two files is not copied, is important???

were encoded in UTF-8 or ISO-8859-15?  This possible problem ?????





[attachment deleted by admin]

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #24 on: January 01, 2009, 15:55:48 pm »
Does not work. After many attempts have only worked generic_label_printing_1.0e version.

The version generic_label_printing-6911c3c995e6.zip does not work in any way.

Some files are missing or there is something wrong.

I copied all the folders in the same order as in zip file.

Any solution?

My Joomla 1.5.8
Virtuemart 1.1.2

I just need to address label.

HAPPY NEW YEAR 2009

mmarfy

  • Beginner
  • *
  • Posts: 36
Re: generic label printing extension
« Reply #25 on: January 02, 2009, 16:55:15 pm »
Hi, payment method? it's possible to add to it?

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #26 on: January 02, 2009, 18:00:15 pm »
you will run the label?

which version?

Tell me if you have modified any files more.

see the previous post, because I do not work for me?

Thanks,
jose

JamesW

  • Beginner
  • *
  • Posts: 7
Re: generic label printing extension
« Reply #27 on: March 14, 2009, 18:42:32 pm »
I have setup the generic_label_printing_2.0.zip but i recieve the error 'font has not been set' in adobe acrobat when i click the print icon. Any ideas on how to fix this?

investigacion

  • Beginner
  • *
  • Posts: 30
Re: generic label printing extension
« Reply #28 on: March 14, 2009, 20:24:45 pm »
Since you have formed it?

It gives the mistake of the post to my me:

Re: generic label printing extension " Reply *23 on: December 30, 2008, 15:28:46 pm "


Generic label printing, work on Joomla 1.5 and Virtuemart 1.1.2 ??????
that is the cuestion ????

JamesW

  • Beginner
  • *
  • Posts: 7
Re: generic label printing extension
« Reply #29 on: March 22, 2009, 23:10:38 pm »
I downloaded the generic label printing extension v2. When I click the icon that appears in the print label field for an order a blank PDF opens up and I recieve the message 'Font has not been set'. Is there a fix for this?

I am using Joomla 1.5.8 and Virtuemart 1.1.3.