Dymo Integration

1 Message Forum Options Options
Embed this topic
Permalink
MattHankins
Dymo Integration
Reply Threaded MoreMore options
Print post
Permalink
Hello,

I am using Plone 3.0.6, Zope 2.10.5 final, Signupsheet .3 Beta. I have a working registration form that allows users to sign up for an event. It collects information via the registration form and also provides an administrative view of all registrants for the particular event. My question is how do I access and edit this file so that I can use the form variables (ie each registrants name, school, address, etc) and pass that information to my java script file that feeds the variables to be formated. The idea here is to provide the client with a way to easily print mailing labels from information provided by the registration form.

The Admin view currently looks like this:

Name        |    School                            |  Address    |  City            | State | Zip
--------------------------------------------------------------------------------------------------------------
John Doe  |  Forestview Highschool     |  12 test st  |  gastonia   |   nc   |  55555
Jane Doe  |  Ashbrook Highschool       |  12 test st  |  gastonia   |   nc   |  55555
Cary Doe  |  Athens Drive Highschool  |  12 test st  |  gastonia   |   nc   |  55555

I would like to add a print button at the end of each row allowing a Dymo Labeler to print the information. However I have to provide the labeler with the correct information of each registrant.

The resulting form should look like this:

Name        |    School                            |  Address    |  City            | State | Zip    | Dymo Labeler
----------------------------------------------------------------------------------------------------
John Doe  |  Forestview Highschool     |  12 test st  |  gastonia   |   nc   | 55555 | [print John Doe]
Jane Doe  |  Ashbrook Highschool       |  12 test st  |  gastonia   |   nc   | 55555 | [print Jane Doe]
Cary Doe  |  Athens Drive Highschool  |  12 test st  |  gastonia   |   nc   | 55555 | [print Cary Doe]

Each [print label] button should pass the appropriate variables on each row to the Dymo Labeler

The problem is I am used to working with PHP MyQL and I dont know how to access this code and integrate the button as its own field supplying it with the required parameters/variables to be formated and printed.

I plan to use the examples provided by the Dymo SDK.

My thoughts are that the information in the admin view are queried somewhere unknown to me in a simple for loop. I would just like to grab those variables through each loop and create a button that provides these parameters to the Dymo.

Any suggestions on the easy way to implement the dymo with the desired functionality. Please be as specific and detailed in your response as possible. Also any references and suggestions are greatly appreciated. Thanks in advance for your time and expertise. I hope this question is clear enough and in the correct location on the forum.

Good day, -Matt