(file) Return to TODO CVS log (file) (dir) Up to [RizwankCVS] / testProject / source

  1 rizwank 1.1 			    TODO enscript
  2             epsf[r n y-1]{Construction.eps}
  3             
  4             * Defaults.py.in => strip the `.in' before the highlight rule detection.
  5             
  6             * Fix config file parsing so that it is possible to set the value to
  7               an empty string.  For example, on HP-UX 9.x/10.x there are no
  8               NoJobHeaderSwitch, so the users might want to set:
  9             
 10             	NoJobHeaderSwitch:
 11             *
 12              > - The --help string should say something like `Convert plain text,
 13              > possibly with embedded formatting codes, to PostScript' after the Usage:
 14              > line, so users can know what the program does.
 15             
 16             * The states program should be called gstates if the enscript was
 17               configured with option "--program-prefix=g".
 18             
 19             * Option to include PS stuffs to the enscript.pro.  This allows users
 20               to define an image at the enscript.pro and to use it in the headers,
 21               instead of defining the image at every page.
 22 rizwank 1.1 
 23             * It might be nice if there were a method for which people could
 24               define their own options to genscript which would be aliases for
 25               other commands. Perhaps defined in the enscript.cfg file or the
 26               .enscriptrc file.
 27             
 28               What I mean, is it would be nice to be able to define an alias for
 29               something like:
 30             
 31                            UserOption: tray1 -DMediaPosition:1
 32             
 33               perhaps: -otray1
 34             
 35             * New option to to process its argument as if it was read from the
 36               configuration file.
 37             
 38             * It would be nice if the AFM directory could be located using an
 39               environment variable.
 40             
 41             * Bugs
 42             
 43 rizwank 1.1 ** Automake
 44             
 45                	First, you need to update to the latest copies of ansi2knr.[c1]
 46             from automake-1.3 and put them in the afmlib and src directories.
 47             
 48             	Second, I believe there is a bug in automake-1.3 and the
 49             following untested patch to automake-1.3 *might* fix it.  Essentially,
 50             automake generates Makefiles which do:
 51             
 52             --- clip ------ clip ------ clip ------ clip ------ clip ------ clip ---
 53             --- automake.in~	Mon Apr  6 00:47:00 1998
 54             +++ automake.in	Sat Jul  4 10:31:59 1998
 55             @@ -1014,7 +1014,7 @@
 56              			      . '`if test -f $(srcdir)/' . $base . '.c'
 57              			      . '; then echo $(srcdir)/' . $base . '.c'
 58              			      . '; else echo ' . $base . '.c; fi` '
 59             -			      . '| $(ANSI2KNR) ' . $base . "_.c\n");
 60             +			      . '| $(ANSI2KNR) > ' . $base . "_.c\n");
 61               	    push (@objects, $base . '_.o');
 62               	    push (@objects, $base . '_.lo') if $seen_libtool;
 63               	}
 64 rizwank 1.1 --- clip ------ clip ------ clip ------ clip ------ clip ------ clip ---
 65             
 66             ** Misc
 67             
 68               - configure.in: add check for gethostname() function and if not
 69                 found, use the version found from compat subdirectory.
 70             
 71               - strftime() on SCO, need to add AC_FUNC_STRFTIME to configure.in
 72               - -lc on SCO:
 73             
 74                 > gcc  -o enscript main.o psgen.o util.o xalloc.o prt_lpr.o
 75                 > ../afmlib/libafm.a ../intl/libintl.a ../compat/libcompat.a -lm
 76                 > undefined                       first referenced
 77                 >  symbol                             in file
 78                 > __unlink                            psgen.o
 79                 > strftime                            util.o
 80                 > gethostname                         util.o
 81                 > __filbuf                            ../afmlib/libafm.a
 82                 > ld fatal: Symbol referencing errors. No output written to enscript
 83                 > make: *** [enscript] Error 1
 84             
 85 rizwank 1.1 * High priority
 86             
 87               - Kanji support
 88               - Unicode support
 89             
 90             * Low priority
 91             
 92               - convert escape chars to escape strings: \%font{Courier5}
 93               - allow some options for the pass-through files: -a, -D, -S, -1, -2, -r
 94               - read AFM and .pf{a,b} files from the stdouts of the named commands
 95               - ^@epsf{}: options to rotate the image.
 96               - -r, --landscape, check if the page is rotated to the correct
 97                 direction
 98               - --tocfont to set the font which is used for table of contents
 99                 (TOCFont)
100             
101              - right justify the end of lines that are wrapped so that it's easy
102                to find out which lines have been wrapped
103             
104              - specify the font size by giving the number of characters per line
105                or lines per page
106 rizwank 1.1 
107              - specify the margins used and in particular being able to swap left
108                and right margin to print on double sided printers while keeping a
109                margin on the left of the sheet to make holes
110             
111               - support for PPD files
112               - make options compatible with the latest version of Adobe enscript
113               - options:
114                 - --characters-per-line
115                 - -#, --page-numbers
116                   print page numbers to every page, even in the --no-header mode.
117               - input encodings:
118                 - IBM ebdic
119             
120             * PPD information
121             
122             Transcript V4.x:
123             
124                  -Sfeature=value
125                       chooses a printer feature, such as manual feed or duplex. If value is
126                       omitted, a value of true is assumed. These features must match a
127 rizwank 1.1           keyword in the Printer Description file. For example, "enscript -S
128                       ManualFeed" turns on manual feed.
129             
130             Other PPD options include:
131             
132                  -ssize
133                       chooses a paper size for printing. This size must match one of the
134                       *PaperSize keywords in the Printer Description file, such as Letter,
135                       Legal, or A4.
136                  -Pprinter
137                       causes the output to be sent to the named printer unless -pfile is
138                       specified. In that case, the printer name is used to access the
139                       printer's Printer Description file for information, and the output is
140                       written to the specified file instead of being spooled for printing.
141             
142                   -ddest
143                       causes the output to be sent to the named printer or printer class
144                       unless -pfile is specified. In that case, the printer name is used to
145                       access the printer's Printer Description file for information, and
146                       the output is written to the specified file instead of being spooled
147                       for printing.

Rizwan Kassim
Powered by
ViewCVS 0.9.2