Skip to content

How do i add in printParamsXml? #16

Answered by brianedelman
brianedelman asked this question in Q&A
Discussion options

You must be logged in to vote

Here's the answer for posterity

    const printParams =
        '<LabelWriterPrintParams><TwinTurboRoll>Right</TwinTurboRoll></LabelWriterPrintParams>';
    const paramsSmall = {
        data: `printerName=${encodeURIComponent(
            printers[0]?.name
        )}&printParamsXml=${encodeURIComponent(
            printParams
        )}&labelXml=${encodeURIComponent(smallXmlMemo)}&labelSetXml=`,
    };

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@brianedelman
Comment options

@brianedelman
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by brianedelman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants