I have a use case where I would like to programmatically change the label settings. What I do is I have PDF files, I crop some parts of the PDF file and I want to print it through my GK420d (shared as a network printer) onto a 10x15cm label.
I can do the crop and print it programmatically, no issue. The PDF has the right page size. My problem is I can only print to the full size of the label if I open the printing preferences and manually correct the label size to 10 x 15 cm. If I do this manually before printing my label, all good. If I leave it on default or any other settings it won't work because the printed PDF label size will be really small and won't fit the page.
May I ask if there is any way to change it? Maybe by changing some files/registry where it stores these settings or using the LinkOS SDK?