Comments (10)
For these sorts of composite/combination labels you need to use a size that covers the full width and height of the label area. So maybe use oe_custom_1.75x0.875in and then provide an image that is padded accordingly.
I can also look at adding support for using the media-xxx-margin values to adjust the position of the rendered image within the label area.
from lprint.
Thanks so much for these suggestions! I tried using oe_custom_1.75x0.875in
but got an error:
$ lprint -o media=oe_custom_1.75x0.875in -o media-source=alternate-roll labtag081_testpattern.png
lprint: Unable to print 'labtag081_testpattern.png' - Unsupported media-col collection value.
I did discover that I could specify the dimensions directly with e.g. media=1.75x0.875in
, but I'm not sure how these dimensions relate to the physical dimensions of the printed label (see below for some tests). Initially, the orientation of the dimensions appeared to be wrong (landscape instead of portrait), and multiple labels were printed simultaneously. Even when I switched from landscape to portrait output, multiple labels were still printed, even when I used a short-side dimension of 0.5" which is measurably narrower than the short side of the label.
Both of the following gave the label shown below:
$ lprint -o media=1.5x0.875in -o orientation-requested=landscape -o media-source=alternate-roll labtag081_testpattern.png
$ lprint -o media=0.875x1.5in -o orientation-requested=landscape -o media-source=alternate-roll labtag081_testpattern.png
(all three labels printed at once)
Both of the following gave the label shown below:
$ lprint -o media=1.5x0.875in -o orientation-requested=portrait -o media-source=alternate-roll labtag081_testpattern.png
$ lprint -o media=0.875x1.5in -o orientation-requested=portrait -o media-source=alternate-roll labtag081_testpattern.png
I couldn't get it to just print just a single label, even when I went down to e.g.
lprint -o media=1.5x0.5in -o orientation-requested=portrait -o media-source=alternate-roll labtag081_testpattern.png
Edit: all of the above images are oriented so that the label that exited the label printer first is at the top of the image, and the label that exited the label printer last (i.e. closest to the cutting blade) is at the bottom.
from lprint.
Try measuring the width of the carrier backing and the distance between the holes - use that as the dimension of the label. (I was estimating 1.75x0.875 based on the description on the web site you provided...)
from lprint.
I've just gone ahead and measured to confirm, but those dimensions are more or less correct. I measure 1.875 in as the width of the carrier backing (from the left side of the roll to the right side of the roll), and 0.875 in between holes.
from lprint.
Hmm, I'll see if I can find anything applicable in the documentation I have...
from lprint.
Thank you! Interestingly, no matter if I give the dimensions as 1.875x0.875in or 0.875x1.875in, the width of the printed area seems to more or less stay the same — see below for more examples.
Both of the following gave the label shown below:
$ lprint -o media=1.875x0.875in -o orientation-requested=portrait -o media-source=alternate-roll labtag081_testpattern.png
$ lprint -o media=0.875x1.875in -o orientation-requested=portrait -o media-source=alternate-roll labtag081_testpattern.png
Both of the following gave the label shown below:
$ lprint -o media=1.875x0.875in -o orientation-requested=landscape -o media-source=alternate-roll labtag081_testpattern.png
$ lprint -o media=0.875x1.875in -o orientation-requested=landscape -o media-source=alternate-roll labtag081_testpattern.png
And again, thank you so much for already being so helpful; sorry to keep coming back with more issues.
from lprint.
Just wanted to share an update, if it helps narrow things down — it appears to just not be honoring the custom label dimensions. When I tried both -o media=0.1x0.1in -o orientation-requested=portrait
and -o media=10x10in -o orientation-requested=portrait
, the output was exactly the same as the image I posted previously for -o media=1.875x0.875in -o orientation-requested=portrait
(and the same is true in the landscape orientation).
The label dimensions with which it is printing seem to match the default label oe_address-label_1.25x3.5in
.
from lprint.
@jashephe I know it's been a long time, but the current code is now based on PAPPL and should be much more robust. But in particular you should configure the default media size to the dimensions of the whole label area (relatively easy to do through the web interface...)
from lprint.
Hi Michael, thank you for following up! I do still have that printer and those labels in my possession, so I will give it another go and report back here (although it may take me a few weeks to get around to it). Thanks again, really!
from lprint.
Hi Michael, even with fiddling around in the web interface, I was not able to get this to work. I also encountered one or two SIGSEGV
crashes of the server while using the web interface, one for instance after clicking the "Print Test Page" button. Eventually, I got things into a state where I couldn't get the printer to print at all (although the jobs were reported in the web interface as "Completed"). I'm sure that mis-configuration on my part played a role, as I had limited time to play around. At this point, I don't have the time for detailed investigation, so I'm just going to close this issue so it isn't littering the tracker. If I have the chance to revisit this and encounter problems in a more formal attempt, I'll open new issues. Thank you again for all of your assistance, and for remaining so responsive!
from lprint.
Related Issues (20)
- lprint submit -n option ignored for Dymo LabelWriter 450 HOT 3
- Printers always exposed publicly? HOT 3
- MacOS minimum version? HOT 2
- Interaction with cups HOT 10
- Printer Defaults not set with Add / Modify command HOT 2
- Darkness setting doesn't work, Zebra dithering. HOT 4
- Unwanted scaling on Dymo Duo HOT 3
- Support for BIXOLON Label Printers HOT 8
- undefined reference to symbol 'pwgMediaForPWG' HOT 3
- Expansion in systemd service file
- Support for DYMO 550 turbo HOT 2
- Documentation doesn't match parameter names: Docs: `server-name` Code: `server-hostname` HOT 1
- Ubuntu 22 - Avahi error loading server HOT 7
- Documentation - Default lprint server port is 8000 HOT 3
- Lprint version 1.2 still prints "fuzzy" barcodes and text on LP2844 (Zebra EPL) label printer HOT 10
- lPrint 1.2 Windows IPP Class Driver Printer and Media Settings HOT 1
- Regression - V1.2 can no longer print to mDNS-SD or Network Printer connected via USB/airport express device. HOT 4
- Print Test Page prints test label followed by blank pages and media becomes misaligned HOT 2
- Trying to Setup Zebra LP2844 Unable to Communicate HOT 5
- Error: Unable to encrypt connection: Unable to create server credentials. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lprint.