• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYINGH A D17-Sep-200217.6 KiB342281

ChangeLogH A D22-Feb-2006915 2318

MakefileH A D03-May-2022670 2512

READMEH A D21-Sep-19953.7 KiB9073

getopt.cH A D20-Sep-19952.4 KiB11176

manual.psH A D22-Feb-200636.7 KiB

poster.1H A D22-Feb-200612.2 KiB351327

poster.cH A D22-Feb-200630.6 KiB1,108851

README

1Hello candidate `poster' user!
2Here you have the new release of `poster', to scale postscript
3images to a larger size, and print them on larger media and/or
4tile them to print on multiple sheets.
5With respect to the earlier release:
6- support is added for foreign (Non European A*) media sizes.
7- options for scaling became more flexible
8- original restrictions on white margins in your drawing are removed.
9For a complete explanation see the accompanying manual.
10
11This distribution has the following files:
12==========================================
13README     (which you are reading now)
14Makefile   (To compile `poster' in UNIX environments)
15poster.c   (The complete source code)
16poster.1   (A troff-source manual page for online installation in UNIX)
17manual.ps  (A formatted version of poster.1 in postscript)
18
19Furthermore for your convenience:
20poster.tar.gz    (The compressed collection of the above 5 files)
21poster.exe       (a compiled DOS executable)
22getopt.c         (you normally don't need to fetch this, see below)
23
24
25Here a few words on the installation of `poster':
26==================================================
27
28The complete program consists of really only one file: `poster.c'.
29Before starting compilation you might want to take a look on
30the C sources in `poster.c', where you can set a few options around line 30:
31  Maybe you want to change the `DefaultMedia' and `DefaultImage' from "A4"
32  to better reflect your local situation (such as "Letter").
33  Media names can be chosen from the `mediatable' further down the code.
34  (Maybe you even want to add new media sizes/names there,
35   you can do that without requiring any other change elsewhere)
36
37  The `Gv_gs_orientbug 1' disables a feature of this program to
38  ask for landscape (horizontal) previewing of rotated images.
39  Our currently installed combination of ghostview 1.5 with ghostscript 3.33
40  cannot properly do a landscape viewing of the `poster' output.
41  The problem does not exist in combination with an older ghostscript 2.x,
42  and has the attention of the ghostview authors.
43  If you have a different postscript previewing environment, you might
44  want to remove or comment-out the `#define Gv_gs_orientbug 1' line.
45
46You should be able to compile this with any ansi-C
47compiler in a Posix or Xopen environment.
48You can probably compile it with a command like:
49     cc -O -o poster poster.c -lm
50(i.e. compile with optimization, and link with the math library)
51
52(Some environments miss the required 'getopt()' call,
53 with the <unistd.h> include file,
54 if your environment supports none of the SVID, XPG or POSIX standards.
55 If you have this problem, you can comment out the '#include <unistd.h>'
56 line in `poster.c', fetch `getopt.c' from the poster directory,
57 and compile and link these two files together.)
58
59(Note that this program might trigger a stupid bug in the HPUX 9.? C library,
60 causing the sscanf() call to produce a core dump.
61 For proper operation, DON'T give the `+ESlit' option to the HP cc,
62 or use gcc WITH the `-fwritable-strings' option.)
63
64The resulting executable is fully self-contained,
65and doesn't require you to install other files at
66`special' places in the OS.
67
68(For DOS users without C compiler, an executable
69 `poster.exe' is available)
70
71For UNIX environments (the primary target for the program)
72there is a man page available `poster.1', which you can copy
73to /usr/local/man/man1/ to obtain online manual support for
74the users.
75
76The formatted version of this manual is available as a
77postscript file `manual.ps', such that people who
78don't know how to format unix man pages, still have
79documentation to read and print.
80
81Success!
82
83Jos van Eijndhoven
84Dept. of Elec. Eng.
85Eindhoven Univ of Technology
86The Netherlands
87email: J.T.J.v.Eijndhoven@ele.tue.nl
88
89Sept 20,  1995
90