Post Reply 
HP82143A printing - two views of the same medal
07-17-2024, 02:10 AM
Post: #1
HP82143A printing - two views of the same medal
Mike (Stgt) recently made a test print on my HP82240B printer simulation v1.17 in HP82143A mode with the service module ET-11968 in his NutEm/PC. The expected result is shown at "Figure 4-3. Printer Test Output" in the 82143A PRINTER SERVICE MANUAL.

As Mike noticed in his NutEm/PC manual, there's a large discrepancy between the figure 4-3 output and the print output of the HP82143A simulation. One of the main reasons is the printer behavior on the 44 byte character buffer overflow, a part not handled in the HP82143A simulation so far.

So a new approach made in v1.18beta2 with implementing the 44 byte character buffer. But there's still a difference between the figure 4-3 output and the v1.18beta2 print output which I could not explain.

Before the 1st "TRY OUT INTENSITY SWITCH" row I still have two empty columns in double-wide mode in the character buffer, which then have an effect on printing the first "TRY OUT ..." row. I compared the send byte sequence with the test print source code of the ET-11968 module, I found no difference. I have the MCode trace log from Mike's NutEm/PC run generating the svn.bin data.

I specially checked the printer status register reads between sending the last two bytes 0x00, 0xD0 from the downstairs graphic at
Code:
41BB 110 NCXQ   4422     [PROBY]
41BC 000 Data      0/@   ??
41BD 1D0 Data    464/·   clr LCA, SCO, and DWM

until the begin of the "TRY OUT..." messages at
Code:
4237 110 NCXQ   4422     [PROBY]

The C[13:12] return of
Code:
4753 264 PERTCT 9
4754 03A RPREG  0
4755 005 RTNCPU

code between was
Code:
C=02..  MAN
C=82..  TRACE
C=42..  NORM
C=62..  NORM + PRT

as result of the mode switch and PRT key test. In all cases the BE bit 8 (Buffer Empty) was not set, which is correct because there're are still 3 bytes (0x00, 0x00, 0xD0) left in the character buffer. So I'm mostly sure that the test print byte sequence of NutEm/PC is equal to the one send to the real printer.

About buffer size 43 vs. 44 characters, old versions of nonpareil are using 43 character for buffer overflow.

At the 82143A PRINTER SERVICE MANUAL at p.2-2 section 2-16: "The character buffer consists of 44 eight-bit registers which are used to store an eight-bit code for each character to be printed."

At the 82143A PRINTER OWNER'S HANDBOOK at p.62:

"Accumulating Columns
A series of column print numbers can be accumulated together into the
print buffer using ACCOL (accumulate column). This allows you to print
special graphics up to 43 columns wide."

Eric began a disassembly of the HP82143A firmware at https://github.com/brouhaha/82143a-mk3870-fw.

Here we have a character buffer from address 0x14 to 0x3f which are 44 byte, but it seem to be implemented as ring buffer with a "current" and an "end" pointer. A ring buffer regularly can only hold "buffersize - 1" elements because when Read and Write pointer are equal, this means empty buffer. When filling a ring buffer with "buffersize" elements the Write-pointer will be incremented to the Read-pointer position and we can't distinguish between buffer-full and buffer-empty any more.

But using a 43 character buffer in my v1.18beta2 implementation produce a line overflow of the two "barcode" lines each with additional columns in the next line. So 44 seem to be correct.

I attached the actual output of v1.17, the output of v1.18beta2 and the send byte sequence (svn.bin) received by the printer simulation.

Could any HP8213A expert, familiar with the printer control codes, explain the byte sequence interpretation difference of the figure 4-3 output and the print output of v1.18beta2?

   
   

.zip  svn.zip (Size: 260 bytes / Downloads: 3)
Visit this user's website Find all posts by this user
Quote this message in a reply
07-17-2024, 03:16 AM (This post was last modified: 07-17-2024 03:17 AM by brouhaha.)
Post: #2
RE: HP82143A printing - two views of the same medal
(07-17-2024 02:10 AM)Christoph Giesselink Wrote:  Here we have a character buffer from address 0x14 to 0x3f which are 44 byte, but it seem to be implemented as ring buffer with a "current" and an "end" pointer. A ring buffer regularly can only hold "buffersize - 1" elements because when Read and Write pointer are equal, this means empty buffer.

That property of a circular buffer is true only if there is not some independent mechanism for tracking full vs empty, using at least one additional variable. Such a variable could be a single-bit flag or a buffer fill count.

For instance, fi the buffer pointers are equal, and the last buffer operation was a read, then the buffer is empty. If the buffer pointers are equal, and the last buffer operation was a write, then the buffer is full.

I suspect that the 82143A firmware does maintain additional state to distinguish full from empty, but I haven't specifically identified the details.
Find all posts by this user
Quote this message in a reply
07-17-2024, 11:22 AM
Post: #3
RE: HP82143A printing - two views of the same medal
(07-17-2024 02:10 AM)Christoph Giesselink Wrote:  I attached the actual output of v1.17, the output of v1.18beta2 and the send byte sequence (svn.bin) received by the printer simulation.

Hi Christoph,

One thing I noticed is that the 'staircase' is printed by accumulating 45 bytes in total (3*15 columns).
The two 'barcode' lines are composed of exactly 44 columns, with the sequence [00,ab,bd,00] after the first and [e0] after the second. In both cases this results in a linefeed following the 'barcode'.

So, if the buffer is full (after 44 bytes), there is as you mentioned still the three bytes [00,00,d0] left to handle.

My question is who generates the linefeed after the staircase?

Both 'barcodes' are followed by a linefeed (but the columns are right justified), but the staircase is left justified and it looks like the two extra bytes [00,00] are added as empty columns just before the first "TRY .." in your output, and the [d0] byte is treated as "abort graphics mode" (so text can follow).

The first [00] bytes after the first 'barcode' is probably printed on the line following the 'barcode', but is not visible on the paper, as I assume the [ab,bd] are treated as control characters.

Just my 2 cents ...

Cheers,
Thomas

[35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X]
Find all posts by this user
Quote this message in a reply
07-17-2024, 05:41 PM
Post: #4
RE: HP82143A printing - two views of the same medal
In one document I found that on a buffer overflow the line is printed in the style of last used EOL (EOLL/EOLR).

So for the barcodes [e8] EOLR is used, for the staircase [e0] EOLL.

(07-17-2024 11:22 AM)ThomasF Wrote:  The two 'barcode' lines are composed of exactly 44 columns, with the sequence [00,ab,bd,00] after the first and [e0] after the second. In both cases this results in a linefeed following the 'barcode'.

Drawing each barcode line is trigged by a buffer overflow. The byte sequence [00,ab,bd,00] is for the empty line between the barcodes.

So the [e0] code before the 'staircase' printing is the empty line between 2nd barcode and the 'staircase' and not for printing the 2nd barcode line.

(07-17-2024 11:22 AM)ThomasF Wrote:  One thing I noticed is that the 'staircase' is printed by accumulating 45 bytes in total (3*15 columns).

This is correct follewd by the 2 bytes [00,d0]:
Code:
41BB 110 NCXQ   4422     [PROBY]
41BC 000 Data      0/@   ??
41BD 1D0 Data    464/·   clr LCA, SCO, and DWM

So we have an overall size of 47 bytes for the 'staircase'.

(07-17-2024 11:22 AM)ThomasF Wrote:  My question is who generates the linefeed after the staircase?

In my implementation the 44 byte buffer overflow of drawing the staircase

[01,01,01,02,02,02,04,04,04,08,08,08,10,10,10,20,20,20,40,40,40,80,80,80,00,00,00​,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00]

with 44 byte in [e0] style. The buffer is empty then and reading the next three bytes [00,00,d0] send to the buffer of total 47, which are not printed at this time.

After this the user should test the mode switch and print key manually before the test prints the "TRY OUT ..." messages to test the intensity switch.

(07-17-2024 11:22 AM)ThomasF Wrote:  The first [00] bytes after the first 'barcode' is probably printed on the line following the 'barcode', but is not visible on the paper, as I assume the [ab,bd] are treated as control characters.

The control codes [ab,bd] are responsible for the empty line between the two barcodes.

This is a log evaluating svn.bin:

Code:
<- 20 32
<- e8 232
Rowlength: 7, 20,
Rowlength: 0, E8, è
<- fc 252
<- d6 214
<- 1c 28
<- 1c 28
<- 1c 28
<- 1c 28
<- 1c 28
<- 7f 127
<- 3e 62
<- 1c 28
<- 8 8
<- ba 186
<- d4 212
<- 48 72
<- 50 80
<- d0 208
<- 20 32
<- 38 56
<- 32 50
<- 31 49
<- 34 52
<- 33 51
<- 20 32
<- 50 80
<- d1 209
<- 52 82
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 52 82
<- d6 214
<- 0 0
<- 8 8
<- 1c 28
<- 3e 62
<- 7f 127
<- 1c 28
<- 1c 28
<- 1c 28
<- 1c 28
<- 1c 28
<- 7f 127
<- 0 0
Rowlength: 0, FC, ü
Rowlength: 0, D6, Ö
Rowlength: 2, 1C, .
Rowlength: 4, 1C, .
Rowlength: 6, 1C, .
Rowlength: 8, 1C, .
Rowlength: 10, 1C, .
Rowlength: 12, 7F, 
Rowlength: 14, 3E, >
Rowlength: 16, 1C, .
Rowlength: 18, 8, .
Rowlength: 22, BA, º
Rowlength: 22, D4, Ô
Rowlength: 36, 48, H
Rowlength: 50, 50, P
Rowlength: 50, D0, Ð
Rowlength: 57, 20,
Rowlength: 64, 38, 8
Rowlength: 71, 32, 2
Rowlength: 78, 31, 1
Rowlength: 85, 34, 4
Rowlength: 92, 33, 3
Rowlength: 99, 20,
Rowlength: 106, 50, P
Rowlength: 106, D1, Ñ
Rowlength: 113, 52, R
Rowlength: 120, 49, I
Rowlength: 127, 4E, N
Rowlength: 134, 54, T
Rowlength: 141, 45, E
Rowlength: 148, 52, R
Rowlength: 148, D6, Ö
Rowlength: 150, 0, .
Rowlength: 152, 8, .
Rowlength: 154, 1C, .
Rowlength: 156, 3E, >
Rowlength: 158, 7F, 
Rowlength: 160, 1C, .
Rowlength: 162, 1C, .
Rowlength: 164, 1C, .
Rowlength: 166, 1C, .
Rowlength: 168, 1C, .
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
Rowlength: 2, 7F, 
Rowlength: 4, 0, .
Rowlength: 6, 0, .
Rowlength: 8, 7F, 
Rowlength: 10, 7F, 
Rowlength: 12, 0, .
Rowlength: 14, 0, .
Rowlength: 16, 7F, 
Rowlength: 18, 7F, 
Rowlength: 20, 0, .
Rowlength: 22, 0, .
Rowlength: 24, 7F, 
Rowlength: 26, 7F, 
Rowlength: 28, 0, .
Rowlength: 30, 0, .
Rowlength: 32, 7F, 
Rowlength: 34, 7F, 
Rowlength: 36, 0, .
Rowlength: 38, 0, .
Rowlength: 40, 7F, 
Rowlength: 42, 7F, 
Rowlength: 44, 0, .
Rowlength: 46, 0, .
Rowlength: 48, 7F, 
Rowlength: 50, 7F, 
Rowlength: 52, 0, .
Rowlength: 54, 0, .
Rowlength: 56, 7F, 
Rowlength: 58, 7F, 
Rowlength: 60, 0, .
Rowlength: 62, 0, .
Rowlength: 64, 7F, 
Rowlength: 66, 7F, 
Rowlength: 68, 0, .
Rowlength: 70, 0, .
Rowlength: 72, 7F, 
Rowlength: 74, 7F, 
Rowlength: 76, 0, .
Rowlength: 78, 0, .
Rowlength: 80, 7F, 
Rowlength: 82, 7F, 
Rowlength: 84, 0, .
Rowlength: 86, 0, .
Rowlength: 88, 7F, 
Rowlength: 0, E8, è
<- 0 0
<- ab 171
<- bd 189
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
Rowlength: 2, 0, .
Rowlength: 156, AB, «
Rowlength: 166, BD, ½
Rowlength: 168, 0, .
<- 0 0
<- 7f 127
<- 7f 127
<- 0 0
Rowlength: 2, 0, .
Rowlength: 4, 7F, 
Rowlength: 6, 7F, 
Rowlength: 8, 0, .
Rowlength: 10, 0, .
Rowlength: 12, 7F, 
Rowlength: 14, 7F, 
Rowlength: 16, 0, .
Rowlength: 18, 0, .
Rowlength: 20, 7F, 
Rowlength: 22, 7F, 
Rowlength: 24, 0, .
Rowlength: 26, 0, .
Rowlength: 28, 7F, 
Rowlength: 30, 7F, 
Rowlength: 32, 0, .
Rowlength: 34, 0, .
Rowlength: 36, 7F, 
Rowlength: 38, 7F, 
Rowlength: 40, 0, .
Rowlength: 42, 0, .
Rowlength: 44, 7F, 
Rowlength: 46, 7F, 
Rowlength: 48, 0, .
Rowlength: 50, 0, .
Rowlength: 52, 7F, 
Rowlength: 54, 7F, 
Rowlength: 56, 0, .
Rowlength: 58, 0, .
Rowlength: 60, 7F, 
Rowlength: 62, 7F, 
Rowlength: 64, 0, .
Rowlength: 66, 0, .
Rowlength: 68, 7F, 
Rowlength: 70, 7F, 
Rowlength: 72, 0, .
Rowlength: 74, 0, .
Rowlength: 76, 7F, 
Rowlength: 78, 7F, 
Rowlength: 80, 0, .
Rowlength: 82, 0, .
Rowlength: 84, 7F, 
Rowlength: 86, 7F, 
Rowlength: 88, 0, .
Rowlength: 0, E8, è
<- e0 224
Rowlength: 0, E0, à
<- 1 1
<- 1 1
<- 1 1
<- 2 2
<- 2 2
<- 2 2
<- 4 4
<- 4 4
<- 4 4
<- 8 8
<- 8 8
<- 8 8
<- 10 16
<- 10 16
<- 10 16
<- 20 32
<- 20 32
<- 20 32
<- 40 64
<- 40 64
<- 40 64
<- 80 128
<- 80 128
<- 80 128
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
<- 0 0
Rowlength: 2, 1, .
Rowlength: 4, 1, .
Rowlength: 6, 1, .
Rowlength: 8, 2, .
Rowlength: 10, 2, .
Rowlength: 12, 2, .
Rowlength: 14, 4, .
Rowlength: 16, 4, .
Rowlength: 18, 4, .
Rowlength: 20, 8, .
Rowlength: 22, 8, .
Rowlength: 24, 8, .
Rowlength: 26, 10, .
Rowlength: 28, 10, .
Rowlength: 30, 10, .
Rowlength: 32, 20,
Rowlength: 34, 20,
Rowlength: 36, 20,
Rowlength: 38, 40, @
Rowlength: 40, 40, @
Rowlength: 42, 40, @
Rowlength: 42, 80, 
Rowlength: 42, 80, 
Rowlength: 42, 80, 
Rowlength: 44, 0, .
Rowlength: 46, 0, .
Rowlength: 48, 0, .
Rowlength: 50, 0, .
Rowlength: 52, 0, .
Rowlength: 54, 0, .
Rowlength: 56, 0, .
Rowlength: 58, 0, .
Rowlength: 60, 0, .
Rowlength: 62, 0, .
Rowlength: 64, 0, .
Rowlength: 66, 0, .
Rowlength: 68, 0, .
Rowlength: 70, 0, .
Rowlength: 72, 0, .
Rowlength: 74, 0, .
Rowlength: 76, 0, .
Rowlength: 78, 0, .
Rowlength: 80, 0, .
Rowlength: 82, 0, .
Rowlength: 0, E0, à
<- 0 0
<- 0 0
<- d0 208
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 2, 0, .
Rowlength: 4, 0, .
Rowlength: 4, D0, Ð
Rowlength: 11, 54, T
Rowlength: 18, 52, R
Rowlength: 25, 59, Y
Rowlength: 32, 20,
Rowlength: 39, 4F, O
Rowlength: 46, 55, U
Rowlength: 53, 54, T
Rowlength: 60, 20,
Rowlength: 67, 49, I
Rowlength: 74, 4E, N
Rowlength: 81, 54, T
Rowlength: 88, 45, E
Rowlength: 95, 4E, N
Rowlength: 102, 53, S
Rowlength: 109, 49, I
Rowlength: 116, 54, T
Rowlength: 123, 59, Y
Rowlength: 130, 20,
Rowlength: 137, 53, S
Rowlength: 144, 57, W
Rowlength: 151, 49, I
Rowlength: 158, 54, T
Rowlength: 165, 43, C
Rowlength: 172, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- 54 84
<- 52 82
<- 59 89
<- 20 32
<- 4f 79
<- 55 85
<- 54 84
<- 20 32
<- 49 73
<- 4e 78
<- 54 84
<- 45 69
<- 4e 78
<- 53 83
<- 49 73
<- 54 84
<- 59 89
<- 20 32
<- 53 83
<- 57 87
<- 49 73
<- 54 84
<- 43 67
<- 48 72
<- e0 224
Rowlength: 7, 54, T
Rowlength: 14, 52, R
Rowlength: 21, 59, Y
Rowlength: 28, 20,
Rowlength: 35, 4F, O
Rowlength: 42, 55, U
Rowlength: 49, 54, T
Rowlength: 56, 20,
Rowlength: 63, 49, I
Rowlength: 70, 4E, N
Rowlength: 77, 54, T
Rowlength: 84, 45, E
Rowlength: 91, 4E, N
Rowlength: 98, 53, S
Rowlength: 105, 49, I
Rowlength: 112, 54, T
Rowlength: 119, 59, Y
Rowlength: 126, 20,
Rowlength: 133, 53, S
Rowlength: 140, 57, W
Rowlength: 147, 49, I
Rowlength: 154, 54, T
Rowlength: 161, 43, C
Rowlength: 168, 48, H
Rowlength: 0, E0, à
<- ff 255
<- e8 232
Rowlength: 0, FF, ÿ
Rowlength: 0, E8, è

Line marked with "<-" are lines reading data from source und put the data into the 44 bytes character buffer. All lines marked with "Rowlength:" are generated by reading a byte from the 44 byte character buffer, evaluating the byte and show the number of columns in the row with the evaluated character number code and as character symbol.

Sometimes there are lines evaluted like this:

"Rowlength: 0, E8, è"

where the evaluated character [E8] is not in the character buffer. These are inserted EOL to advise the printing engine to draw a line left or right adjusted after a buffer overflow.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-25-2024, 07:58 PM
Post: #5
RE: HP82143A printing - two views of the same medal
I attached the actual output of v1.18beta3. Seem to be ok now.

   
Visit this user's website Find all posts by this user
Quote this message in a reply
07-25-2024, 08:39 PM
Post: #6
RE: HP82143A printing - two views of the same medal
Nice!

What was the Gordian knot?
Was is some code you had to interpret in a new way, or was it the buffer handling?

Cheers,
Thomas

[35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X]
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)