bugfix release
apsfilter now again allows you to use the gs driver default
resolution. Bug was, that everything defaulted to 300dpi, if
not set explicitely via DPI (set by name of symlink to apsfilter)
or GS_RESOL (set manually or via SETUP script in apsfilterrc).
Moved everything only print_dvi dependend to print_dvi...
Cosmetic changes
More user friendly bugform
the user will get a make syntax error ("Malformed conditional") when
PAPERSIZE and BATCH are both unset.
Andreas, go ahead and change this further if you want, I'm not sure
what you intended to do here, so I went with the "safest" fix.
printers that have "a4" paper, while "a4" produces clipped results for
printers that have letter papper?" ---Warner
YES ;-)
Reminded by: Warner Losh <imp@harmony.village.org>
Port related changes:
- apsfilter port isn't interactive anymore, we can now put it onto FreeBSD CD 1
- use bzip2 for apsfilter sources to save space on FreeBSD Disk 1
- new run dependency to recode and a2ps
- when BATCH is defined set PAPERSIZE to a4, to avoid problems with a2ps port
- updated DESCR (listed some of the new apsfilter features)
- updated PLIST
- new post-install target to inform people to run SETUP to complete installation
Apsfilter related changes:
- new supported file types (BMP, FAX G3, troff)
- possible to print in different print resolutions (see example in INSTALL),
i.e.: lpr -P{low,med,high} some_files...
- ghostscript can make use of additional type1 fonts by setting the gs
environment variable GS_FONTPATH. gs automatically recognizes
/usr/X11R6/lib/X11/fonts/Type1 and
/var/X11R6/lib/X11/fonts/Type1
if present. Other Paths can be configured global or printer type
dependend by admin or user as usual. See precedence of apsfilterrc
and .apsfilterrc files above.
- printer driver type dependend config files in that order:
- /etc/apsfilterrc
- /etc/apsfilterrc.${PRINTER}
and if defined INSECURE:
- $HOME/.apsfilterrc
- $HOME/.apsfilterrc.${PRINTER}
- CRLF translation and perforation skip for more HP models
- new environment variable USE_RECODE_NOT_A2PS, so you can use
reecode as an alternative over a2ps
- new environment variable RECODE_OPTS
defaults to "-q latin1:ibmpc"
- new environment variable PAGES_REVERSE_ORDER for forcing dvips
to print in reverse order
- detection of printer resolution revamped and more clear
- Precedence of definition of print resolution:
a) by name of filter script (symlink to apsfilter)
b) by setting GS_RESOL in apsfilterrc config files
c) autodetected by apsfilter (PS_xxx, printer driver name)
d) otherwise defaults to 300dpi (for dvips commandline)
- some dvips settings cleanup, use -Z only when resol >= 400dpi
- when printing html use some sane defaults for HTML2PS_OPTS
if not set in apsfilterrc files
Contributions:
- SUPPORT FOR NEW GNU a2ps 4.12, Hurray !!!!
thanks to Debian Port maintainer, Matej Vela <mvela@public.srce.hr>
- cool PS testpage (test.ps)
Andreas Reuter <ar205@bonzo.geowiss.nat.tu-bs.de>
- many thanks to the SuSE developement team especially
Werner Fink <werner@suse.de> for many inspirations
- and of course cosmetic and bugfixes ;-)
NPS is a POSIX/ANSI-C based library for Unix platforms which
provides non-preemtive scheduling for multiple threads of execution
("multi-threading") inside server applications. All threads run in the
same address space of the server application, but each thread has it's
own individual run-time stack and program-counter.
The thread scheduling itself is done in a cooperative way, i.e. the
threads are managed by a priority- and event-based non-preemtive
scheduler. The intention is that this way one can achieve better
portability and run-time performance than with preemtive scheduling.
The event facility allows threads to wait until various types of
events occur, including pending I/O on filedescriptors, elapsed
timers, pending I/O on message ports, thread and process termination,
and even customized callback functions.
More details:
http://www.engelschall.com/sw/nps/
ftp://ftp.engelschall.com/sw/nps/