Hi,
- we are trying to retrieve bunch of printer settings but using SGD we are only able to retrieve only one setting per request, is there a way to get collective setting in a single request
- When we try to cycling setting request using SGD sometimes values are getting clubbed together eg: resolution is empty but for media size returns {Resolution value}{Media size value}
- zpl.top_position command doesn't work
Setting trying to get are as follows
enum ZebraPrinterSetting: String, CaseIterable {
case resolution = "head.resolution.in_dpi"
case mediaSize = "zpl.label_length"
case mediaType = "ezpl.print_method"
case mediaTracking = "ezpl.media_type"
case darkness = "print.tone"
case printWidth = "ezpl.print_width"
case printSpeed = "media.speed"
case printMode = "media.printmode"
case tearOffAdjustment = "ezpl.tear_off"
// case labelTopAdjustment = "zpl.top_position"
case leftPositionAdjustment = "zpl.left_position"
case reprint = "ezpl.reprint_mode"
}
3 Replies
The SDK provides API to retrieve the values of multiple settings. See this link - https://techdocs.zebra.com/link-os/2-14/android/content/com/zebra/sdk/s…
Hi, we are looking for similar api in iOS Sdk
If you use the Printer SDK for .NET MAUI to developer the iOS app, then the Zebra.Sdk.Settings package has API to get the values for multiple settings, which is similar to the API provided in the SDK for Android.
If you use the Printer SDK for iOS, then we will have to use a different technique to get the values of multiple settings, as there is no such API in the SDK. With the SDK for iOS, use the connection.write() and connect.read() to get the values of settings with a JSON string, for example, as shown below.