I am trying to figure outhow to print labels directly from Access to my Dymo printer through SDK. Dymo has a small sample Access file to help show some features but this is all confusing to me. Anywasy I have found several codes for VB Net and was wondering if anyone could translate this to VBA for me so I can try to make it work. Thanks.
Dymo Sample Database Click Here
Private Label As DYMO.Label.Framework.ILabel
Label = DYMO.Label.Framework.Framework.Open("c:Documents and SettingsAll
UsersDocumentsDYMO LabelLabel FilesTestLabel.label")
Label.Print("DYMO LabelWriter 450 Turbo")
Or can this VBA be converted from Excel to Access?
Dim myDymo As DYMO_DLS_SDK.DymoHighLevelSDK
Dim dyAddin As DYMO_DLS_SDK.ISDKDymoAddin
Dim dyLabel As DYMO_DLS_SDK.ISDKDymoLabels
Set myDymo = New DYMO_DLS_SDK.DymoHighLevelSDK
Set dyAddin = myDymo.DymoAddin
Set dyLabel = myDymo.DymoLabels
dyAddin.Open Environ$("USERPROFILE") & "\My Documents\DYMO Label\Labels\BoardFile.label"
dyLabel.SetField "Text", "My text goes here"
dyAddin.Print2 1, True, 1
Set myDymo = Nothing