[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
|
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
3013.0. "How to remove positional codes from sixel output " by COMICS::BARHAM (Norbert:) Thu Jul 15 1993 17:40
ALL-IN-1 3.0-1
My customer has a sixel file header to her WPS-PLUS document as follows
:-
-------------------------------------TOP---------------------------------
L-------T-------T-------T-------T-------T-------T-------T-------T-------T-------
this is some text before the logo
------------------------------ START CONTROL -----------------------------
printer table logo
-------------------------------- END CONTROL -----------------------------
!142?!53~-
!142?!53~-
!142?!53~-
!142?!18~!18@!17~-
!142?!18~!18?!17~-
!142?!18~!18?!17~-
!142?!18~!18?!301~-
!142?!18~!18?!301~-
!142?!18~!18?!301~-
!142?!18~!89?!17~!89?!17~!89?!18~-
!142?!18~!89?!17~!89?!17~!89?!18~-
!142?!18~!18?!53_!18?!17~!18?!71_!17~!18?!53_!18?!18~-
!142?!18~!18?!53~!18?!17~!18?!88~!18?!53~!18?!18~-
!142?!18~!18?!53~!18?!17~!18?!88~!18?!53~!18?!18~-
.
.
.
.
!142?!337N-
------------------------------ START CONTROL -----------------------------
printer table end_logo
------------------------------ END CONTROL -----------------------------
text
text
However when printed, the sixel codes that used to work in 2.4 are now
not interpreted.
Printing to FILE with the DECLASER printer table shows that the codes
for LOGO are not being output. The LOGO keyword is defined as
<ESC>c<ESC>[11h<ESC>[7 I<ESC>P0;0;1q"1;1
and END_LOGO is
<ESC>[160A
I find that removing <ESC>c from the keyword allows it to be output to
FILE. That's the first problem - how can I allow <ESC>c in a keyword?
The sixel is still not interpretted because it has horizontal and
vertical positioning codes preceeding each line. If I manually edit
these out and put the <ESC>c back in at VMS level then the sixel prints
as required. e.g from ********** down doesn't print
<ESC>[!p<ESC>[7 I<ESC>[11h<ESC>[0w<ESC>[1;3400r<ESC>(B<ESC>[;21
G<ESC>[1z<ESC>[
350d<ESC>[0`<ESC>P1;10}RCOURIR101VK00GG<ESC>\<ESC>[10m<ESC>[?27l<ESC>[22;23m
<ESC>(B
<ESC>[400d<ESC>[0`this is some text before the logo
<ESC>c<ESC>[11h<ESC>[7 I<ESC>P0;0;1q"1;1
!142?!53~-
!142?!53~-
!142?!53~-
!142?!18~!18@!17~-
!142?!18~!18?!17~-
!142?!18~!18?!17~-
!142?!18~!18?!301~-
!142?!18~!18?!301~-
!142?!18~!18?!301~-
!142?!18~!89?!17~!89?!17~!89?!18~-
!142?!18~!89?!17~!89?!17~!89?!18~-
!142?!18~!18?!53_!18?!17~!18?!71_!17~!18?!53_!18?!18~-
!142?!18~!18?!53~!18?!17~!18?!88~!18?!53~!18?!18~-
!142?!18~!18?!53~!18?!17~!18?!88~!18?!53~!18?!18~-
!142?!18~!18?!17~!18^!18~!18?!17~!18?!18~!53^!17~!18?!53^!18?!18~-
!142?!18~!18?!17~!18?!18~!18?!17~!18?!18~!53?!17~!89?!18~-
<ESC>[1250d<ESC>[0` ***********
!142?!18~!18?!17~!18?!18~!18?!17~!18?!18~!53?!17~!89?!18~-
<ESC>[1300d<ESC>[0`
!142?!18~!18?!17~!18o!18~!18?!17~!18?!18~!53?!17~!18?!71o!1
<ESC>[1350d<ESC>[0` !142?!18~!18?!53~!18?!17~!18?!18~!53?!17~!18?!89~-
<ESC>[1400d<ESC>[0` !142?!18~!18?!53~!18?!17~!18?!18~!53?!17~!18?!89~-
<ESC>[1450d<ESC>[0`
!142?!18~!18?!53^!18?!17~!18?!18~!53?!17~!18?!71^!18~-
<ESC>[1500d<ESC>[0` !142?!18~!89?!17~!18?!18~!53?!17~!89?!18~-
<ESC>[1550d<ESC>[0` !142?!18~!89?!17~!18?!18~!53?!17~!89?!18~-
<ESC>[1600d<ESC>[0` !142?!18~!89o!17~!18o!18~!53o!17~!89o!18~-
<ESC>[1650d<ESC>[0` !142?!337~-
<ESC>[1700d<ESC>[0` !142?!337~-
<ESC>[1750d<ESC>[0` !142?!337N-
<ESC>[160A
The problems then are :-
How do you allow <ESC>c in a keyword and more importantly, how do I
stop the formatter from outputting positioning codes before the sixel.
The original document is on WAYOUT::LOGO.WPL and my edited example
output to file is on WAYOUT::LOGO.TXT. This has the <ESC>c inserted and
some of the lines have had their positional codes removed to
demonstrate my unacceptable workaround !
Thanks for any advice,
Clive Barham
UK CSC
(cross posted in WPS-PLUS and ALL-IN-1)
T.R | Title | User | Personal Name | Date | Lines |
---|
3013.1 | | COMICS::BARHAM | Norbert: | Fri Jul 16 1993 11:56 | 4 |
| Oh yes, WAYOUT::DECLASER.PRA shows the LOGO sequences in the Keywords
section.
Clive
|
3013.2 | | COMICS::BARHAM | Norbert: | Tue Jul 27 1993 10:35 | 6 |
| Does anyone have an alternative method for adding a sixel header to
printed documents ?
Thanks,
Clive
|