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

is there a way to specify paper size in options in android ? #271

Open
kamedan opened this issue Feb 17, 2021 · 10 comments
Open

is there a way to specify paper size in options in android ? #271

kamedan opened this issue Feb 17, 2021 · 10 comments

Comments

@kamedan
Copy link

kamedan commented Feb 17, 2021

is there a way to specify paper size in options in android , for exemple ISO A4 or ISO A5 ?

@kamedan kamedan changed the title is there a way to specify paper size in options ? is there a way to specify paper size in options in android ? Feb 17, 2021
@TristanGodal
Copy link

Hi.
Do you achieved it ? I also need to specify paper size to work on Android with QL-810W (62mm * x mm), can't find how. Maybe by modifying cordova plugin to set the mediaSize ?

@miroslavnedelchev
Copy link

Hello, also experiencing the same issue. The plugin works just fine on iOS, but on android paper names like "Roll22Inch" or "IsoA4" are not working. Also setting up size with custom width and height is also not working. I need to setup A4 to print by default. Please hit me up with if you found solution about android.

@longbot2703
Copy link

Hi, i want to add Japanese L Size Photo to my project too. When i try custom width and height by paper.width and paper.height, it's not working. Is there a way to do it on IOS and android?

@jelkhoury
Copy link

Hi, did u find a way to select the ISO A4 as default paper ?

@tanhatariq
Copy link

@kamedan @TristanGodal please post if anyone find a workaround or a proper solution to this, I am also stuck with this restriction of not being able to set paper size in android, looking for a solution to print on a 58mm thermal printer from one of our android app

@TristanGodal
Copy link

Hello, unfortunately I have not found a solution to this problem, so I only integrated brother thermal printers after modifying another plugin.

Regards.

@richardkeep
Copy link

@TristanGodal Hi, which other plugins for printing did you integrate to achieve that?

@TristanGodal
Copy link

@richardkeep Hi, you can find the repo I created here : https://github.com/TristanGodal/cordova-plugin-brother-label-printer
This one is copied from AboboSoftware:master, I made some changes on it.

Regards.

@richardkeep
Copy link

@TristanGodal Thanks. I will dig it

@longbot2703
Copy link

longbot2703 commented Mar 19, 2024

Hi i found a way to fix in my issue ( the problem is i can't find sz L paper size when printing ). In my issue i get an base64 from api so first i will convert it to png and save to device library by smt like cordova.plugins.photoLibrary. After that i can print it normally and can choose sz L paper size when setting in device. Hope that can help someone like me

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

7 participants