Now we are looking into printing from the gateway (external input trigger) so I have created a report and using the executeAndDistribute command to start the print job. But what ever I do I’m not able to make it fit the label. As the container print job is spot on I cannot set any offsets on the printer.
In my experience this is a printer driver problem, not an Ignition problem. I print to a lot of Datamax printers and the issue is that the printer driver needs to have a matching label stock setting that matches the report size (and orientation) or else it doesn’t know what to do with it and will seemingly randomly pick a stock size setting. I would check that first.
Interesting. I print to SATO printers as well without issue. I don’t specify orientation in the function though, maybe that has something to do with it? That looks like the only difference. Here’s what I do:
My setup is landscape, and believe I need it. I think I have tried every combination possible now.
useAutoLandscape* defaults to true. If useAutoLandscape is false, pageOrientation , which can have values of “portrait” or “landscape” (default is “portrait”), is used.