star-micronics / StarPRNT-SDK-iOS-Swift

StarPRNT SDK for iOS including libraries for supporting application development for Star printers.
https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/ios_swift/en/index.html
Other
41 stars 7 forks source link

[BUG] Inconsistency in printed receipts #18

Closed arnolddrita closed 3 days ago

arnolddrita commented 2 years ago

Description

We have tested our code across a range of star printers and it all looks exactly the same. We are printing receipts by generating an in-memory bitmap of the whole receipt file and printing it using appendBitmap

We've tested 3-4 different printers, on starGraphic and escPosMobile emulation modes (not sure if helpful), on Bluetooth, ethernet, wifi, and USB interfaces, and the printed image receipts look exactly the same (picture 1).

However, we're having issues with MCP31LB. The same iPad, connected to a TSP100, SM-T300 and an mC-Print3, printed the same receipt on all three. The first two, printed it exactly as picture 1, while the second consistently adds glitches to the image. Sometimes, just some sections of the image, appear centered. Other times, garbage is printed instead of the word (see the Restaurant word in the header).

Not sure how to investigate this issue or what tests to perform to debug it. We are on the latest SDK version and latest iOS version.

Your printer

Screenshots

correct_image

bad_image

Tatsuki-Yamamoto2731 commented 1 year ago

Unfortunately, I could not reproduce your problem. OS: iPadOS 16.3 SDK: StarPRNT SDK V5.15.1

By the way, mC-Print3 supports "StarPRNT" emulation, not StarGraphic or ESC/POS Mobile. So, you should specify StarPRNT emulation when you print from mC-Print3. https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/ios_swift/en/api_starioext.html#emulation

Could you please confirm the emulation you use and try printing with the correct emulation?

bandit-ibayashi commented 3 days ago

This issue is closed as there has been no movement for over an year. If you continue to have issues, please let us know.