Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Custom Paper Size (65mm x 65mm) on Sunmi V2s PLUS Using Ionic Capacitor Plugin #8

Open
Dipeshjayswal opened this issue Dec 4, 2024 · 0 comments

Comments

@Dipeshjayswal
Copy link

Helllo

I am using your plugin in my Ionic Capacitor project with the Sunmi V2s PLUS device, and it has been working well with the default paper size of 75mm x 75mm. However, I need to use a custom paper size of 65mm x 65mm.

When I attempt to print with this custom paper size, I encounter the following issues:

  1. Characters are getting cut off.
  2. Alignment is not proper.

It seems that the plugin does not provide an option to set or customize the paper width and height.

Expected Behavior: The printed content should fit properly on the custom paper size of 65mm x 65mm with no characters being cut off and proper alignment.

Actual Behavior: Characters are getting cut off, and the alignment is not correct when printing on custom-sized paper.

Device and Setup Details:

  1. Device: Sunmi V2s PLUS
  2. Default paper size: 75mm x 75mm (works fine)
  3. Custom paper size: 65mm x 65mm (causes issues)
  4. Framework: Ionic Capacitor

Request : Could you please provide a solution to set custom paper width and height through the plugin? If not already supported, can this feature be added? Alternatively, if there are any workarounds or configurations to resolve this issue, please let me know.

Additionally, it would be great to have documentation or examples showing how to configure custom paper sizes using this plugin.

65mm * 65mm :
shared image

Thank you for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant