Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Need help with unknown tape format (came from VAX)...
@ 1995-03-24 19:01 Gordon Spoelhof
  1995-03-24 22:54 ` fuller
  0 siblings, 1 reply; 2+ messages in thread
From: Gordon Spoelhof @ 1995-03-24 19:01 UTC (permalink / raw)


I need help with a tape format:

I have a stack of 6250 tapes which were generated by a VAX (presumably a
printer spooler?).  I am trying to read them on another system.  I have 
noticed that tapes generally have fixed length blocks, (on the order of 4096 
or 2048 bytes).  Each line of text begins with a 4 character record length 
specification (ascii decimal).  The record length specifies the number of 
text bytes which follow plus 4.

The text length is followed by a two "mystery" characters.  I suspect that 
these are used to indicate printer spacing.  The text follows the mystery 
bytes.

Records do not seem to cross from one block to another.  Blocks are padded 
with the 0x5E value.

Does ANYONE have ANY IDEA what this format is?

Is there a name for it?  Is there documentation?  What are the mystery
bytes...???


Example HEX DUMP

 Rec Len?    ???   (Printer?) text         Padding
----------- ----- ----------------------- ---------
30 30 31 34 03 8D 61 61 61 61 61 61 61 61 5E ....  <end of block>

Please reply to spoelhof@kodak.com as I do not always have a chance to visit 
this group.


Thanks in advance...



Gordon Spoelhof
Eastman Kodak Company / Office Imaging Division
25 Edendery Circle / Fairport, NY 14450-1013 USA
Email: spoelhof@kodak.com
Phone: +1 716 726 5897 / FAX: +1 716 726 1167
Secretary: +1 716 726 5638 (Doreen D'Angelo)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Need help with unknown tape format (came from VAX)...
  1995-03-24 19:01 Need help with unknown tape format (came from VAX) Gordon Spoelhof
@ 1995-03-24 22:54 ` fuller
  0 siblings, 0 replies; 2+ messages in thread
From: fuller @ 1995-03-24 22:54 UTC (permalink / raw)


In article <9503241401.AA37661@spoelhof.sponge>, spoelhof@kodak.com (Gordon Spoelhof) writes:
> Rec Len?    ???   (Printer?) text         Padding
>----------- ----- ----------------------- ---------
>30 30 31 34 03 8D 61 61 61 61 61 61 61 61 5E ....  <end of block>

Take a look at the I/O User's Guide, the chapter on the terminal driver, the
section on "Write Function Carriage Control".  

I believe that this would be the prefix and postfix carriage control for a
print line.  '03' would mean to skip 3 lines, print the print line, then '8D'
is interpreted as "bit 7=1, so interpret bits 0-4 as an ASCII control character
[0D = Carriage Return]".  

So, '03 8D' says to "skip 3 lines, print the line, then print a <cr>".

Then again, it might mean something else.  But, this one instance isn't
sufficient to test my theory.

	Stu
+===================+=========================+================================+
|    ____           | Stuart R. Fuller        | fuller@pt9113.ped.pto.ford.com |
|   /   /           | Digital Equipment Corp. | fuller@gldoa.enet.dec.com      |
|  /____  _/_       | Detroit, MI, USA, Earth | 76703.501@compuserve.com       |
|      /  /   /   / +=========================+================================+
| /___/  /_  /___/\ |     Opinions expressed here are mine, and mine alone     |
+===================+==========================================================+


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-03-24 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-24 19:01 Need help with unknown tape format (came from VAX) Gordon Spoelhof
1995-03-24 22:54 ` fuller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox