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

Labels have extra space #7190

Closed
dougbevan opened this issue Jun 21, 2019 · 5 comments
Closed

Labels have extra space #7190

dougbevan opened this issue Jun 21, 2019 · 5 comments
Labels

Comments

@dougbevan
Copy link

Please confirm you have done the following before posting your bug report:

Describe the bug
I setup a Zebra ZD410 to print asset labels. Printing a test label works via printer settings and via text editor (i.e. Word). When I print labels from the browser, I get extra space forcing a single label to split into two labels.

Label settings in Snipe-IT were gathered from other posts using Zebra printers successfully. They are: W 2.25 H 1.25, Page W 2.25, H 1.25, Label spacing 0.0, 0.0, Margins all 0.0.

Settings in browsers are 2.25 x 1.25 with 0 margins. Different browsers do have slightly different outcomes, but the results are similar. Have tried Safari, Chrome, Opera, Firefox, Internet Explorer.

To Reproduce
Generate labels
Print Labels

Expected behavior
Label prints with correct alignment.

Screenshots
Picture of test from Word, CUPS, and finally attempt at a simple Snipe-It tag

Server (please complete the following information):

  • 4.6.16
  • OS: CentOS 7
  • Web Server: Apache
  • PHP Version 7

Desktop (please complete the following information):

  • OS: MacOS Mojave (have also tried from Win 10)
  • Browser: Have tried Safari, Chrome, Opera, Firefox, Internet Explorer.
  • Version: latest

Error Messages
No explicit errors as labels do print, just incorrectly

Additional context
Thanks for any help or tips.

IMG_1194

@paulo1624
Copy link

You may adjust the margins on the browser printer settings once you're printing the barcode.
image

@dougbevan
Copy link
Author

That was my first thought, and the image you see is the result of setting all 4 margins to "0". I tried this in multiple browsers as well, and on multiple platforms (win/mac). Although I get slightly different results, the results are similar with too much space on the top and left of the label.

@dougbevan
Copy link
Author

I was able to get this to work, and margins were the key, although adjusting them was not so obvious. I got this to work in Firefox.

There is a parameter beyond the gui that sets a margin cushion. To get to this, you need to go to "about:config" and edit the following parameters to 0:

print.print_margin_left
print.print_margin_right
print.print_margin_bottom
print.print_margin_top

@stale
Copy link

stale bot commented Aug 23, 2019

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

@stale stale bot added the stale label Aug 23, 2019
@stale
Copy link

stale bot commented Aug 30, 2019

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

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

No branches or pull requests

2 participants