ZEBRA TECHNOLOGIES
Printer Configuration
SGD (SET-GET-DO) or a File
• SGD.SET
// Set the device.languages on the printer to ZPL
SGD.SET("device.languages", "zpl", conn);
// Set the media.type on the printer to label
SGD.SET("media.type", "label", conn);
• SGD.GET
// Get the link_os version from the printer
String osVersion = SGD.GET("appl.link_os_version", conn);
// Get the firmware version from the printer
String fwVersion = SGD.GET("appl.name", conn);
• SGD.DO
// Reset the printer
SGD.DO("device.reset", "", conn);
15
• Configure with a file
– Put SGD configuration commands in a file.
– Send the file with the SendFileContents() API over the Printing Channel