Index: APPS/common/Print/impl/ZPLPrinter.cls.xml =================================================================== diff -u -r59695 -r74443 --- APPS/common/Print/impl/ZPLPrinter.cls.xml (.../ZPLPrinter.cls.xml) (revision 59695) +++ APPS/common/Print/impl/ZPLPrinter.cls.xml (.../ZPLPrinter.cls.xml) (revision 74443) @@ -38,7 +38,8 @@ set LabelIterator = ##class(TECH.ListIterator).%New(..ZPLLabels) While LabelIterator.HasNext() { Set ZPLLabel = LabelIterator.Next() - Do ..PrintZPLLabel(ZPLLabel) + ;Do ..PrintZPLLabel(ZPLLabel) + Do ..PrintZPLLabelFromBase64EncodedStream(ZPLLabel) } ]]> @@ -60,6 +61,31 @@ ]]> + +ZPLLabelStream:%GlobalCharacterStream +0){ + w $system.Encryption.Base64Decode(Chunk) + Set Chunk = ZPLLabelStream.Read(.ChunkLength, .ReturnCode) + } + Close ..DeviceString + } catch { + Close ..DeviceString + #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() + Do ##class(TECH.ExceptionHandler).LogEnRethrow(Exception) + } +]]> + +