Skip to content

Commit 3179c7c

Browse files
committed
More thorough revision of calibration howto
1 parent ea9b4fa commit 3179c7c

5 files changed

+145
-32
lines changed

doc/dirty-print-head.png

675 KB
Loading

doc/margin-calibration-howto.md

Lines changed: 145 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,171 @@
11
# How to calibrate the label margins of DYMO printers
22

3-
The goal of calibration is to determine:
3+
Calibration can be used to determine:
44

5-
1. How many pixels does the print head have?
6-
2. For a given tape, which pixels correspond to which part of the tape?
5+
* Is the print head clean?
6+
* If the printer or tape has not yet been measured and recorded in Labelle, then:
7+
* How many pixels and what resolution does the print head have?
8+
* For a given tape, which pixels correspond to which part of the tape?
79

8-
Each model of DYMO printer has a stationary print head of a given height.
9-
Most DYMO printers support 6mm, 9mm, and 12mm D1 tapes
10-
and have a 64 pixel print head with a 9mm printable height.
10+
Since most Labelle contributors have only a single printer and tape,
11+
we rely on the community to provide the necessary information to support
12+
other devices and tape sizes. You do not need to understand the entire process
13+
to contribute; we are happy to help you interpret the results. Please see
14+
[submitting calibration data](#submitting-calibration-data) for a detailed summary
15+
of the process.
1116

12-
The LabelManager PC II has a 128 pixel print head with an 18mm printable height.
13-
This makes it practical for use with the larger 19mm and 24mm D1 tapes.
14-
An unofficial list of DYMO printers and compatible tape sizes
15-
can be found [here](https://www.labelcity.com/dymo-d1-label-tape-compatibility-guide).
17+
We track the status of supported devices
18+
[here](https://github.com/labelle-org/labelle/issues/4).
1619

17-
When the tape is shorter than the printable height, the tape occupies
18-
some range of pixels near the middle of the print head.
19-
We can identify the precise range of pixels by means of
20-
a sample pattern of a given height.
21-
The 64 pixel pattern is:
20+
## General information
21+
22+
Each model of DYMO printer has a stationary print head of some fixed height.
23+
Calibration consists of printing a sample pattern of that same height.
24+
(If the height of the print head is unknown, see
25+
[determining the height of the print head](#determining-the-height-of-the-print-head).)
26+
27+
Many DYMO printers have a print head that is 64 pixels high, and such a
28+
sample pattern can be printed with the command
29+
30+
```shell
31+
labelle --sample-pattern 64
32+
```
33+
34+
resulting in a pattern like this:
2235

2336
<!-- markdownlint-disable MD033 -->
2437
<img src="sample-pattern-64.png" alt="64 pixel pattern"
2538
style="width:909px;height:273px;image-rendering:pixelated">
2639
<!-- markdownlint-enable MD033 -->
2740

28-
The numbering of rows increases from bottom to top.
41+
Here is this pattern printed on 12mm tape with a DYMO LabelManager PnP:
42+
43+
![printed 64-pixel pattern 12mm tape](sample-pattern-64-12mm-labelwriter-pnp.png)
44+
45+
### Counting rows
46+
47+
The numbering of printable rows increases from bottom to top.
2948
To make counting more human-friendly, we start counting with 1.
30-
Therefore, the bottom row is 1 and the top row is 64.
49+
Thus in the example above, the bottom row is 1 and the top row is 64.
3150
Groups of 16 pixels in alternating colors are indicated by the numbers.
3251
The 48th row is the topmost row within the black block marked as 48.
33-
The dyadic checkerboard is designed to help with counting individual rows of pixels.
34-
To the left of the numbers are alternating groups of 8, 4, 2, and 1 pixels.
52+
The dyadic checkerboard to the left of the numbers is designed to help with
53+
counting individual rows of pixels.
54+
It consists of alternating groups of 8, 4, 2, and 1 pixels.
3555

3656
Around each of the four corners of the pattern are groups of four
37-
staggered horizontal lines along both the top and bottom.
38-
These are helpful for checking whether or not
39-
the topmost and bottommost pixels are printed.
57+
staggered horizontal lines.
58+
These are helpful for checking whether or not the topmost and bottommost
59+
pixels are printed correctly.
60+
61+
### Tape sizes
62+
63+
Many DYMO printers support 6mm, 9mm, and 12mm D1 tapes
64+
and have a 64 pixel print head with a 9mm printable height.
65+
66+
The LabelManager PC II has a 128 pixel print head with an 18mm printable height.
67+
This makes it practical for use with the larger 19mm and 24mm D1 tapes.
68+
An unofficial list of DYMO printers and compatible tape sizes
69+
can be found [here](https://www.labelcity.com/dymo-d1-label-tape-compatibility-guide).
70+
71+
When the tape is shorter than the printable height, the tape occupies
72+
some range of pixels near the middle of the print head.
73+
74+
The procedure to determine the pixel range of a tape is described in
75+
[determining the pixel range of a tape](#determining-the-pixel-range-of-a-tape).
76+
77+
## Checking the cleanliness of the print head
78+
79+
When the print head is dirty, some rows will print inconsistently, faintly,
80+
or not at all. In the following example we see several problematic rows
81+
along the bottom.
82+
83+
![dirty print head](dirty-print-head.png)
84+
85+
Many DYMO printers come with a yellow brush for cleaning the print head, as
86+
illustrated in [this video](https://www.youtube.com/watch?v=tu3jLmO06zE).
87+
88+
After gently cleaning the print head, the sample pattern should print sharply,
89+
similarly to the other photos in this document.
4090

41-
Here is the 64-pixel pattern printed on 12mm tape with a DYMO LabelManager PnP
42-
with the command
91+
## Determining the height of the print head
92+
93+
The height of the print head can be determined by printing a sample
94+
pattern of very large height.
95+
(In order to achieve conclusive results, the tape size must be larger than
96+
the print head.)
97+
Simply print a sample pattern that is very large and it will be
98+
truncated at the top.
99+
The height of the print head is the topmost row that is printed, assuming
100+
that there is a margin at the top of the tape.
101+
102+
For example, on the DYMO LabelManager PnP, the command
43103

44104
```shell
45-
labelle --sample-pattern 64
105+
labelle --sample-pattern 512
46106
```
47107

48-
![printed 64-pixel pattern 12mm tape](sample-pattern-64-12mm-labelwriter-pnp.png)
108+
prints the following label, from which we conclude that the print head
109+
is 64 pixels high:
110+
111+
![sample-pattern-256-12mm-labelwriter-pnp](sample-pattern-256-12mm-labelwriter-pnp.png)
112+
113+
## Determining the pixel range of a tape
114+
115+
Some [tapes](#tape-sizes) may not span the full printable height of the print head.
116+
For such tapes, we want to [identify which pixel rows](#counting-rows) correspond
117+
to the tape's bottom and top edges.
118+
119+
We can identify the precise range of pixels by means of
120+
a sample pattern of a given height.
121+
122+
![9mm tape](sample-pattern-64-9mm-labelwriter-pnp.png)
123+
124+
In this example, the bottom row is 2 and the top row is 64. The easiest way to
125+
see this is that the top corners have all four pairs of staggered lines, while
126+
along the bottom corners the bottommost line is missing.
127+
128+
Alternatively, it is possible to use the dyadic checkerboard to count down
129+
from the top of the 16-block to obtain 2 at the bottom. It is similarly
130+
possible to count up from the top of the 48-block to obtain 64 at the top.
131+
132+
Note that it is possible that the tape shifts up or down by a pixel depending
133+
on how the cartridge is inserted into the printer. It is also possible that rows
134+
along the top or bottom edges are faded, as shown here:
135+
136+
![zoom of faded 9mm tape](sample-pattern-64-9mm-labelwriter-pnp-zoomed.png)
137+
138+
## Submitting calibration data
139+
140+
Thank you for taking the time to submit calibration data!
141+
142+
The developers of Labelle are grateful for any information you can provide,
143+
and will help you to interpret the calibration results.
144+
Please report the results in a
145+
[new issue](https://github.com/labelle-org/labelle/issues/new).
146+
147+
Ideally the results should include one or more photos of the printed sample patterns.
148+
The photos should be high enough resolution to show the individual pixels.
149+
150+
If the device is not yet supported, then the first step is to determine the height
151+
of the print head. See
152+
[determining the height of the print head](#determining-the-height-of-the-print-head).
153+
154+
Please also measure the height in mm of the sample pattern so that we can determine
155+
the resolution of the print head.
49156

50-
Printed instead on a 9mm tape, the 64 pixel pattern
51-
fills exactly the height of the tape:
157+
It may be necessary to
158+
[clean the print head](#checking-the-cleanliness-of-the-print-head) to ensure
159+
accurate results.
52160

53-
![printed 64-pixel pattern](sample-pattern-64-9mm-labelwriter-pnp.png)
161+
If you have alternate tape sizes, please provide photos that
162+
[show the pixel range of the tape](#determining-the-pixel-range-of-a-tape).
54163

55-
Notice however that the 1st and 64th pixels, being right on the edge,
56-
are significantly fainter than the rest:
164+
Checklist:
57165

58-
![zoom of 64th pixel](sample-pattern-64-9mm-labelwriter-pnp-zoomed.png)
166+
* The height of the print head in pixels is determined if not previously known.
167+
* The height of the sample pattern in mm is measured if not previously known.
168+
* The print head is clean.
169+
* For each tape size:
170+
* A photo of the sample pattern is provided.
171+
* This information is submitted in a new GitHub issue.
475 KB
Loading
352 KB
Loading
191 KB
Loading

0 commit comments

Comments
 (0)