* deconstructing LN03 files
@ 2005-03-21 6:34 Carl Lowenstein
2005-03-21 6:53 ` Howard Shubs
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Carl Lowenstein @ 2005-03-21 6:34 UTC (permalink / raw)
I have a few hundred "printable pages" worth of files that were once
formatted to print on a DEC LN03. They seem to be binary, coded in
some way that is not yet clear to me. Looking at the LN03 driver that
is part of Ghostscript, I deduce that they might be sixel graphics.
Is there any possibility of reversing this encoding to produce some
other raster output that then could be printed on a current model
of printer? I do find that there is ppmtosixel available as part of
the Portable PixMap software, but that of course goes the wrong way.
If I knew more about the specifications of the LN03 I would either become
very discouraged, or set about writing a C program.
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenst@ucsd.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 6:34 deconstructing LN03 files Carl Lowenstein
@ 2005-03-21 6:53 ` Howard Shubs
2005-03-21 18:45 ` Carl Lowenstein
2005-03-21 15:01 ` prep
2005-03-21 18:04 ` Peter Weaver
2 siblings, 1 reply; 9+ messages in thread
From: Howard Shubs @ 2005-03-21 6:53 UTC (permalink / raw)
In article <d1lpud$9rf$1@news1.ucsd.edu>,
cdl@deeptow.ucsd.edu (Carl Lowenstein) wrote:
> If I knew more about the specifications of the LN03 I would either become
> very discouraged, or set about writing a C program.
Sixels aren't that tough. There should be plenty of LN03 docs out
there, as it was a popular printer. Have you tried Google?
--
"It is very easy to be blinded to the essential uselessness of them by the
sense of achievement you get from getting them to work at all." Hitchiker's
Guide to the Galaxy on the Sirius Cybernetics Corporation. Does that seem
familiar to anything on THIS planet at THIS time?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 6:34 deconstructing LN03 files Carl Lowenstein
2005-03-21 6:53 ` Howard Shubs
@ 2005-03-21 15:01 ` prep
2005-03-21 18:04 ` Peter Weaver
2 siblings, 0 replies; 9+ messages in thread
From: prep @ 2005-03-21 15:01 UTC (permalink / raw)
cdl@deeptow.ucsd.edu (Carl Lowenstein) writes:
> I have a few hundred "printable pages" worth of files that were once
> formatted to print on a DEC LN03. They seem to be binary, coded in
> some way that is not yet clear to me. Looking at the LN03 driver
> that is part of Ghostscript, I deduce that they might be sixel
> graphics.
> Is there any possibility of reversing this encoding to produce some
> other raster output that then could be printed on a current model of
> printer? I do find that there is ppmtosixel available as part of
> the Portable PixMap software, but that of course goes the wrong way.
> If I knew more about the specifications of the LN03 I would either
> become very discouraged, or set about writing a C program.
Have a look for an old Decus TeX kit, and read the LN03 driver in that.
--
Paul Repacholi 1 Crescent Rd.,
+61 (08) 9257-1001 Kalamunda.
West Australia 6076
comp.os.vms,- The Older, Grumpier Slashdot
Raw, Cooked or Well-done, it's all half baked.
EPIC, The Architecture of the future, always has been, always will be.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 6:34 deconstructing LN03 files Carl Lowenstein
2005-03-21 6:53 ` Howard Shubs
2005-03-21 15:01 ` prep
@ 2005-03-21 18:04 ` Peter Weaver
2005-03-21 19:05 ` Carl Lowenstein
2 siblings, 1 reply; 9+ messages in thread
From: Peter Weaver @ 2005-03-21 18:04 UTC (permalink / raw)
Carl Lowenstein wrote:
>...
> Is there any possibility of reversing this encoding to produce some
> other raster output that then could be printed on a current model
> of printer? I do find that there is ppmtosixel available as part of
> the Portable PixMap software, but that of course goes the wrong way.
>...
DCPS (http://h18000.www1.hp.com/info/SP4415/SP4415PF.PDF) can print
sixel on PostScript printers. As long as you have a VMS license then you
can use DCPS. I have never tried sixel on DCPS myself but we do print
ReGIS graphics here and they work nicely. If you have WRQ Reflection for
ReGIS Graphics around you can type the file and see what you get since
it can do sixel too.
But maybe you want to post a few lines of your document so someone can
confirm it they are sixel or not, I can not imagine too many documents
being 100% sixel.
Sixel will look something like;
<ESC>P1q
!16?!8_OO!4owwGG!4w{{CC{{}}]]pp!4~FFWW!4~rrMM!4~wwBB~~!20?{{!14C{{
<ESC>\
--
Peter Weaver
Weaver Consulting Services Inc.
Canadian VAR for CHARON-VAX
www.weaverconsulting.ca
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 6:53 ` Howard Shubs
@ 2005-03-21 18:45 ` Carl Lowenstein
2005-03-22 1:23 ` Howard Shubs
0 siblings, 1 reply; 9+ messages in thread
From: Carl Lowenstein @ 2005-03-21 18:45 UTC (permalink / raw)
In article <howard-D42193.01534021032005@news.supernews.com>,
Howard Shubs <howard@shubs.net> wrote:
>In article <d1lpud$9rf$1@news1.ucsd.edu>,
> cdl@deeptow.ucsd.edu (Carl Lowenstein) wrote:
>
>> If I knew more about the specifications of the LN03 I would either become
>> very discouraged, or set about writing a C program.
>
>Sixels aren't that tough. There should be plenty of LN03 docs out
>there, as it was a popular printer. Have you tried Google?
So far, Google gives me voluminous references on how to convert almost
anything else to SIXEL, as that was the most likely thing to do in the
days of the LN03.
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenst@ucsd.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 18:04 ` Peter Weaver
@ 2005-03-21 19:05 ` Carl Lowenstein
2005-03-21 19:24 ` Paul Williams
2005-03-21 20:30 ` Peter Weaver
0 siblings, 2 replies; 9+ messages in thread
From: Carl Lowenstein @ 2005-03-21 19:05 UTC (permalink / raw)
In article <3a8gldF66f5lnU1@individual.net>,
Peter Weaver <WeaverConsultingServices@sympatico.ca> wrote:
>Carl Lowenstein wrote:
>>...
>> Is there any possibility of reversing this encoding to produce some
>> other raster output that then could be printed on a current model
>> of printer? I do find that there is ppmtosixel available as part of
>> the Portable PixMap software, but that of course goes the wrong way.
>>...
>
>DCPS (http://h18000.www1.hp.com/info/SP4415/SP4415PF.PDF) can print
>sixel on PostScript printers. As long as you have a VMS license then you
>can use DCPS. I have never tried sixel on DCPS myself but we do print
>ReGIS graphics here and they work nicely. If you have WRQ Reflection for
>ReGIS Graphics around you can type the file and see what you get since
>it can do sixel too.
I don't normally do VMS. I could drag out my VAX 4000 VLC and see if it
still works, or put up VMS on the SimH emulator.
>But maybe you want to post a few lines of your document so someone can
>confirm it they are sixel or not, I can not imagine too many documents
>being 100% sixel.
>
>Sixel will look something like;
><ESC>P1q
>!16?!8_OO!4owwGG!4w{{CC{{}}]]pp!4~FFWW!4~rrMM!4~wwBB~~!20?{{!14C{{
><ESC>\
What I know about these files is that their filename is xxxx.ln3.
Here are the results of a hex dump of the first part of two of the files:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[cdl@delta manual]$ hexdump -C testpro.ln3 | head -12
00000000 1f 00 1b 63 1b 5b 3f 32 37 68 1b 5b 31 31 68 1b |...c.[?27h.[11h.|
00000010 5b 37 20 49 1b 5b 3f 35 32 68 1b 5b 33 33 30 30 |[7 I.[?52h.[3300|
00000020 74 00 08 00 1b 50 30 3b 31 3b 30 79 80 00 67 41 |t....P0;1;0y..gA|
00000030 77 3f 3f 43 58 4e 52 64 4f 40 3f 3f 3f 3f 46 6f |w??CXNRdO@????Fo|
00000040 3f 3f 3f 40 4f 3f 3f 3f 40 54 4b 42 3f 6f 4b 42 |???@O???@TKB?oKB|
00000050 3f 6f 4b 42 3f 71 53 73 6b 6f 4b 43 5c 46 4b 42 |?oKB?qSskoKC\FKB|
00000060 3f 6f 4b 54 54 59 55 64 68 59 4b 42 48 45 4b 42 |?oKTTYUdhYKBHEKB|
00000070 3f 6f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f |?o??????????????|
00000080 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f |????????????????|
*
000000a0 3f 3f 3f 4a 53 46 41 4f 3f 4a 3f 3f 77 3f 80 00 |???JSFAO?J??w?..|
000000b0 3f 3f 3f 3f 3f 45 5f 3f 3f 3f 42 7b 3f 3f 3f 3f |?????E_???B{????|
[cdl@delta manual]$ hexdump -C testpro_contents.ln3 | head -12
00000000 1f 00 1b 63 1b 5b 3f 32 37 68 1b 5b 31 31 68 1b |...c.[?27h.[11h.|
00000010 5b 37 20 49 1b 5b 3f 35 32 68 1b 5b 33 33 30 30 |[7 I.[?52h.[3300|
00000020 74 00 08 00 1b 50 30 3b 31 3b 30 79 80 00 65 41 |t....P0;1;0y..eA|
00000030 6f 3f 3f 43 58 4e 52 64 4f 40 3f 3f 3f 3f 46 6f |o??CXNRdO@????Fo|
00000040 3f 3f 3f 40 4f 3f 3f 3f 40 54 4b 42 3f 6f 4b 42 |???@O???@TKB?oKB|
00000050 3f 6f 4b 42 3f 71 53 73 6b 6f 4b 43 5c 46 4b 42 |?oKB?qSskoKC\FKB|
00000060 3f 6f 4b 54 54 59 55 64 68 59 4b 42 48 45 4b 42 |?oKTTYUdhYKBHEKB|
00000070 3f 6f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f |?o??????????????|
00000080 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f |????????????????|
*
000000a0 3f 3f 3f 4a 53 46 41 4f 3f 4a 3f 3f 77 3f 80 00 |???JSFAO?J??w?..|
000000b0 3f 3f 3f 3f 3f 45 5f 3f 3f 3f 42 7b 3f 3f 3f 3f |?????E_???B{????|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
So if Sixel graphics is all printable characters, this is something
else. Is "<ESC>Plq" a magic key, to put the printer into the right
mode? Similar to HP's PJL commands?
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenst@ucsd.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 19:05 ` Carl Lowenstein
@ 2005-03-21 19:24 ` Paul Williams
2005-03-21 20:30 ` Peter Weaver
1 sibling, 0 replies; 9+ messages in thread
From: Paul Williams @ 2005-03-21 19:24 UTC (permalink / raw)
On Mon, 21 Mar 2005 19:05:22 +0000, Carl Lowenstein wrote:
>
> What I know about these files is that their filename is xxxx.ln3.
> Here are the results of a hex dump of the first part of two of the files:
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [cdl@delta manual]$ hexdump -C testpro.ln3 | head -12
> 00000000 1f 00 1b 63 1b 5b 3f 32 37 68 1b 5b 31 31 68 1b |...c.[?27h.[11h.|
> 00000010 5b 37 20 49 1b 5b 3f 35 32 68 1b 5b 33 33 30 30 |[7 I.[?52h.[3300|
> 00000020 74 00 08 00 1b 50 30 3b 31 3b 30 79 80 00 67 41 |t....P0;1;0y..gA|
> 00000030 77 3f 3f 43 58 4e 52 64 4f 40 3f 3f 3f 3f 46 6f |w??CXNRdO@????Fo|
Those files both contain font definitions, which use sixel format, but
you're not going to get a full page picture from them. Perhaps there is
some usable text after the font definitions?
--
Paul
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 19:05 ` Carl Lowenstein
2005-03-21 19:24 ` Paul Williams
@ 2005-03-21 20:30 ` Peter Weaver
1 sibling, 0 replies; 9+ messages in thread
From: Peter Weaver @ 2005-03-21 20:30 UTC (permalink / raw)
Carl Lowenstein wrote:
>...
> So if Sixel graphics is all printable characters, this is something
> else. Is "<ESC>Plq" a magic key, to put the printer into the right
> mode? Similar to HP's PJL commands?
>
> carl
Great, a CHARON-VAX VAR is helping and you answer by saying you'll use
SimH.....
Anyway, Paul is right, this is setting up a font definition. The
<ESC>[?27h is setting the spacing to Proportional. The <ESC>[11h and
<ESC>[7 I are to do with spacing. <ESC>P0;1;0y is the start of the font
definition, the rest of the data until you get to a 9C will be the font
data. You will probably find plain text after that. I think DCPS will
convert all of this to PostScript for you too, but again I have never
tried it on a file like this.
You might want to check out the LN03 Programmer Reference Manual at
http://vt100.net/docs/0ln03-rm/ if you want to figure out everything
your file is doing.
--
Peter Weaver
Weaver Consulting Services Inc.
Canadian VAR for CHARON-VAX
www.weaverconsulting.ca
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: deconstructing LN03 files
2005-03-21 18:45 ` Carl Lowenstein
@ 2005-03-22 1:23 ` Howard Shubs
0 siblings, 0 replies; 9+ messages in thread
From: Howard Shubs @ 2005-03-22 1:23 UTC (permalink / raw)
In article <d1n4ni$ln8$1@news1.ucsd.edu>,
cdl@deeptow.ucsd.edu (Carl Lowenstein) wrote:
> So far, Google gives me voluminous references on how to convert almost
> anything else to SIXEL, as that was the most likely thing to do in the
> days of the LN03.
So go thou and program in reverse!
--
"It is very easy to be blinded to the essential uselessness of them by the
sense of achievement you get from getting them to work at all." Hitchiker's
Guide to the Galaxy on the Sirius Cybernetics Corporation. Does that seem
familiar to anything on THIS planet at THIS time?
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-03-22 1:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 6:34 deconstructing LN03 files Carl Lowenstein
2005-03-21 6:53 ` Howard Shubs
2005-03-21 18:45 ` Carl Lowenstein
2005-03-22 1:23 ` Howard Shubs
2005-03-21 15:01 ` prep
2005-03-21 18:04 ` Peter Weaver
2005-03-21 19:05 ` Carl Lowenstein
2005-03-21 19:24 ` Paul Williams
2005-03-21 20:30 ` Peter Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox