Google Answers Logo
View Question
 
Q: Using a Dymo LabelWriter to auto print packing slips from php website. ( No Answer,   1 Comment )
Question  
Subject: Using a Dymo LabelWriter to auto print packing slips from php website.
Category: Computers > Internet
Asked by: jasonhilton-ga
List Price: $10.00
Posted: 21 Sep 2004 12:55 PDT
Expires: 21 Oct 2004 12:55 PDT
Question ID: 404301
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>
Answer  
There is no answer at this time.

Comments  
Subject: Re: Using a Dymo LabelWriter to auto print packing slips from php website.
From: roberthodgen-ga on 22 Sep 2004 06:45 PDT
 
I think you can't add HTML to a PHP page.
Just a guess.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy