How can I get this Dymo Add In, to get the information from my web
site's back end (admin), and print it? The DymoLabel.SetAddress 1 is
the line where the button gets the address information. Now I need to
to either get the info from the SQL Database or get it to "view" the
information from the packing slip and print the address from the
packing slip generated by the website. I am using oscommerce. The
store is written in php. I realize that I can copy and paste the
address into the label maker, but that is one more step.
This is the default code DYMO gave me:
<HTML>
<HEAD>
<SCRIPT LANGUAGE=VBScript>
Sub Btn1_onclick()
Dim DymoAddIn, DymoLabel
Set DymoAddIn = CreateObject("DYMO.DymoAddIn")
Set DymoLabel = CreateObject("DYMO.DymoLabels")
DymoAddIn.Open "C:\Program Files\Dymo Label\Label Files\WebsiteLabel.LWT"
DymoLabel.SetAddress 1,"Saturday, 1:30 PM-2:00 PM"+chr(10)+"Employer:
1: John Kennedy"+chr(10)+"P-100: The Very Best
Position"+chr(10)+"TableID-44"+chr(10)+"Candidate: C-1162: Bonnie
Ahlers"
DymoAddIn.Print 1, TRUE
End Sub
</SCRIPT>
<TITLE>Label Printing Demo</Title>
</HEAD>
<BODY>
<Bold>Label Printing Demo</Bold><p>
<INPUT TYPE=BUTTON NAME=Btn1 VALUE="Print Label">
</BODY>
</HTML> |