Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do you print to the right or left label on a labelwriter 450 twin turbo? #3

Open
dchan14 opened this issue Jan 29, 2018 · 7 comments

Comments

@dchan14
Copy link

dchan14 commented Jan 29, 2018

great package works fine for a single sided printer but how do i get these options
paramsXml: dymo.label.framework.createLabelWriterPrintParamsXml({copies:1,twinTurboRoll:'Right',printQuality:'Text'}), labelSetXml: new dymo.label.framework.LabelSetBuilder(), labelXmlDymo: dymo.label.framework.openLabelXml(labelXml),

@NicolaiF
Copy link

NicolaiF commented Apr 2, 2018

I saw your fork, where you added functionality for printparams. Does this mean you can choose to print left or tight using a 450 twin turbo?

@dchan14
Copy link
Author

dchan14 commented Apr 2, 2018 via email

@NicolaiF
Copy link

NicolaiF commented Apr 3, 2018

Superb, thanks man!

@satrugna
Copy link

Hello, Could you please let me know where to add printparams = 'Left
'? Thank you!

@srikanthpavuluri
Copy link

printparams = 'Left '

On Mon, Apr 2, 2018 at 2:02 PM, NicolaiF @.***> wrote: I saw your fork, where you added added (?) functionality for printparams. Does this mean you can choose to print left or tight using a 450 twin turbo? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#3 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTlHE4X3CnZuph5fXscXKXkjbKxRQ82ks5tkmeagaJpZM4RxUkg .

Can you help where exactly we need provide this tag in xml?

@NicolaiF
Copy link

If you check the source code for dchan's fork
https://github.com/dchan14/dymojs/blob/master/lib/index.js#L24
you'll see it's the third parameter of the print function

So you'll do something like this
dymo.print( printerName, // Name of the printer you're using printlabel(), // The main XML that you're printingRight // third parameter for PrintParams );

@srikanthpavuluri
Copy link

srikanthpavuluri commented Jan 26, 2022

Yeah! Thanks a lot. Will try that.

But we are unable to print labels from the application hosted on a server. And it works absolutely fine in local env.

For example -
http://localhost:41951/ -> works fine in local.

Will the hostname change in the non-local/prod application?

but when it is accessed from the hosted application it fails to get the connection status of the Dymo service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants