yarn add dymo-js-sdk
# or
npm install --save dymo-js-sdk
Can be seen in the src/demo/test-label.ts or in the sample ./src/demo/vue/hello-printer application
Initialize the framework and print the label. The code might look like this
// init the framework
const framework = await createFramework(undefined, true)
// build label template values
const record = labelSet.addRecord()
record.setText('Line1', 'This is a test label')
record.setText('Line2', 'This is another test')
record.setText('Line3', 'This is another test')
record.setText('ItemCode', '100a')
in your terminal navigate to ./src/demo/vue/hello-printer
yarn install
yarn start
git clone git@github.com:1to1plus/dymo-js-sdk.git
yarn install
This project is not complete yet. I'm creating test and tweaking the code to do what it needs to do still.
My adoption of https://github.com/dymosoftware/dymo-connect-framework