[comp.unix.questions] "sideways" for unix?

bbh@whizz.uucp (Bud Hovell) (12/09/88)

Can anyone say if there is a program out there for unix machines which allows
sideways printing of very wide docs (e.g. spreadsheets)?

We have an ATT 3B1, os 3.51a, and a Panasonic 1080i.
 
                                                      OVERTURE SYSTEMS CORP. 
                       Bud Hovell                     Operations Specialists
                                                      Lake Oswego, Oregon
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: USENET: {attmail! | tektronix!tessi!bucket! | pacbell!safari!} whizz!bbh :
: TELEX: 152258436 (Whizz/Bud Hovell)                  VOICE: 503-636-3000 :
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
                   "Follow your bliss" - Joseph Campbell

jep@ylwpig.UUCP (James E. Prior) (12/14/88)

In article <565@whizz.uucp> bbh@whizz.uucp (Bud Hovell) writes:
>Can anyone say if there is a program out there for unix machines which allows
>sideways printing of very wide docs (e.g. spreadsheets)?
>
>We have an ATT 3B1, os 3.51a, and a Panasonic 1080i.

If you can get your spreadsheet to output to a file, instead of directly to
the printer, it can be a simple matter of using the cut program.  It is
standard with UNIX.  That and some shell scripts should take care of your 
problem.  

If you truly want to print out sideways, then you will have to do a great deal
of work.

jbm@uncle.UUCP (John B. Milton) (12/14/88)

In article <9@ylwpig.UUCP> jep@ylwpig.UUCP (James E. Prior) writes:
>In article <565@whizz.uucp> bbh@whizz.uucp (Bud Hovell) writes:
>>Can anyone say if there is a program out there for unix machines which allows
>>sideways printing of very wide docs (e.g. spreadsheets)?
>>
>>We have an ATT 3B1, os 3.51a, and a Panasonic 1080i.
>
>If you can get your spreadsheet to output to a file, instead of directly to
>the printer, it can be a simple matter of using the cut program.  It is
>standard with UNIX.  That and some shell scripts should take care of your 
>problem.  
>
>If you truly want to print out sideways, then you will have to do a great deal
>of work.

Well, that depends on your resources. As it turns out, there was a WONDERFUL
program posted to csu or csm, called "rot". It will rotate text around every
way you can possibly think of.

h
e
l
l
o

r
n
!


John
-- 
John Bly Milton IV, jbm@uncle.UUCP, n8emr!uncle!jbm@osu-cis.cis.ohio-state.edu
(614) h:294-4823, w:764-2933;  Got any good 74LS503 circuits?

ray3rd@ssc-vax.UUCP (Ray E Saddler III) (12/17/88)

In article <446@uncle.UUCP>, jbm@uncle.UUCP (John B. Milton) writes:
> In article <9@ylwpig.UUCP> jep@ylwpig.UUCP (James E. Prior) writes:
> >In article <565@whizz.uucp> bbh@whizz.uucp (Bud Hovell) writes:
> >>Can anyone say if there is a program out there for unix machines which allows
> >>sideways printing of very wide docs (e.g. spreadsheets)?
> >>
> 
> Well, that depends on your resources. As it turns out, there was a WONDERFUL
> program posted to csu or csm, called "rot". It will rotate text around every
> way you can possibly think of.
> 
I was going to suggest 'rot' also, but then I realized tht Sideways
(tm) actually rotates the text characters as well as the string, so
I beleive there's a lot more looking out ther to do.
-- 
| Ray E. Saddler III       |    __  __ __       __ |   Path: ..!ssc-vax!ray3rd |
| Boeing Aerospace         |   / / / //   //| //   | From: ray3rd@ssc-vax.UUCP |
| P.O. Box 3999 m.s. 3R-05 |  /-< / //-  // |// _  |---------------------------|
| Seattle, Wa.  98124  USA | /__//_//__ //  //__/  |  VoiceNet: (206) 657-2824 |

wnp@dcs.UUCP (Wolf N. Paul) (12/18/88)

In article <2420@ssc-vax.UUCP> ray3rd@ssc-vax.UUCP (Ray E Saddler III) writes:
>In article <446@uncle.UUCP>, jbm@uncle.UUCP (John B. Milton) writes:
>> In article <9@ylwpig.UUCP> jep@ylwpig.UUCP (James E. Prior) writes:
>> >In article <565@whizz.uucp> bbh@whizz.uucp (Bud Hovell) writes:
>> >>Can anyone say if there is a program for unix machines which allows
>> >>sideways printing of very wide docs (e.g. spreadsheets)?
>> Well, that depends on your resources. As it turns out, there was a WONDERFUL
>> program posted to csu or csm, called "rot". It will rotate text around every
>> way you can possibly think of.
>I was going to suggest 'rot' also, but then I realized tht Sideways
>(tm) actually rotates the text characters as well as the string, so
>I beleive there's a lot more looking out ther to do.

Actually, any program to accomplish that would be either very printer specific
or come with lots of printer drivers.

What these programs do is either (a) perform something similar to rot, and 
then bitmap the resulting page in the printer's graphics mode; or (b) down-
load a font of sideways characters to the printer, and then print a "rot"ed
version of the file.

If your printer supports downloading of characters, and if you have a way of
creating a download font for that printer, just create a font in which all
characters are rotated 90 degrees, download it, and then use rot to print
your file, sending escape sequences to adjust the line spacing if necessary.

Such a font would have to be monospaced (all characters the same width), since
the "width" of these sideways characters becomes the line spacing of your
rotated text, and you want them all to line up nicely.

If I get it done, I might shortly post a simple program designed to create
Epson LQ compatible fonts by editing each character bitmap as an ascii
textfile, and then combining them into a font file which can just be "cat"ed
to the printer.
-- 
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP:     killer!dcs!wnp                 ESL: 62832882
DOMAIN:   dcs!wnp@killer.dallas.tx.us    TLX: 910-380-0585 EES PLANO UD