Zebra printer - Switch between different label / paper sizes on the fly programatically


My customer uses about 400 ZEBRA QLn320 printers with field staff distributed all over the country. Currently all printers are setup to print a label of 12cm height and 7cm width. We use gap sense mode to detect the starting position of the next label. To print the content of the label we use the ZPL language and the LinkOS XAMARIN SDK. Everything works fine so far.

Due to business needs my customer needs to print to much smaller labels (2cm x 5cm) in the future. I have no problems to update the printer settings with the ZEBRA Printer Utility to the new paper format. What I'm looking for is a way to switch between these paper formats programmatically so that field staff can switch between different label sizes during the day WITHOUT connecting the printer to the ZEBRA Printer Utility.

Is this possible by sending ZPL commands to the printer? Is there an example available?

Thank you for your help!