Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Value        Path: <cwt><PRINTER><ttp2030><attributes><attribute id="44" >

The fixed distance between the cutter and the print head gives a minimum top margin of 9 mm.

In black mark mode, you can use this attribute to increase the top margin. The top margin feed is effectuated when the presenter is cleared from the previous ticket.

The top margin setting uses the two attributes high byte and low byte. Usually the added margin value is low and only the low byte is used.

This is how you calculate the value to be entered:

1.Decide the distance (in mm) to be added.

2.Divide the distance by 0.125 mm (the height of a pixel line).

Now there are two alternatives:

A – If the number of pixel lines (see step 2 above) is less than or equal to 256, use this value as the low byte value and set high byte value = 0.

Example: We need 21 mm extra margin.

21 ÷ 0.125 = 168

High byte = 0
Low byte = 168

B – If the number of pixel lines (see step 2 above) exceeds 256:

1.Divide the number of pixel lines calculated in step 2 above by 256 (the max. binary value of a byte).

2.Round off (down) and enter this integer as the high byte value.

3.Multiply the rounded off high byte value by 256 and subtract the result from the total number of pixel lines calculated in step 2 above.

4.Enter the difference as the low byte value.

Example: We need 55 mm extra margin:

55 ÷ 0.125 = 440 (number of pixel lines)
440 ÷ 256 = 1.71875 → High byte = 1 (rounded off down)
440 – (1 × 256) = 184 → Low byte = 184

Use top margin low byte

Value range

Note

True

False

Non default setting is used. See 4.5.16.2 below.

Default setting (0 /0) is used. Recommended setting.

top margin low byte value

Value range

Note

0

1 – 255

No extra top margin. Recommended setting.

See description above. Avoid adding 1 – 8 mm because the printer then must reverse the paper before starting to print. This may cause a paper jam, especially when there is little paper left (= small roll diameter).

Example:

<attribute id="44" value="0" use="false" description="Top margin Low byte" min="0" max="255" />