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

Margin option support for printer api #5033

Closed
kailniris opened this issue Jun 27, 2016 · 3 comments
Closed

Margin option support for printer api #5033

kailniris opened this issue Jun 27, 2016 · 3 comments

Comments

@kailniris
Copy link

Can we have margin option support for printer api please?
I created an invoice printer app and everything works flawlessly with the printing api expect that I can't change margin options. I found out in the app Preferences file there is 2 options regarding to this.
"marginsType":3 // 0 is for default margin, 1 is for no margin 2, is for minimal margin, 3 is for custom margin
'customMargins': { 'top': 12, 'right': 12, 'bottom': 12, 'left': 12 }

Can you please upgrade the print api with margin option support?

rogerwang added a commit that referenced this issue Jun 27, 2016
@rogerwang
Copy link
Member

This is fixed in chromium repo and will be available in the next nightly build. cc #4911

@rogerwang
Copy link
Member

@kailniris
Copy link
Author

kailniris commented Jun 28, 2016

Tested the new build, everything works fine except the 'marginsType': 2 (Minimum) it works same as the 'marginsType': 1 (no margin).

rogerwang added a commit that referenced this issue Jun 28, 2016
rogerwang added a commit that referenced this issue Jun 28, 2016
rogerwang added a commit that referenced this issue Jul 20, 2016
rogerwang added a commit that referenced this issue Jul 20, 2016
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

2 participants