Document | Filter requirements |
Author | Jan Holesovsky <kendy@suse.cz> |
Id | $Id: spec_filter.html,v 1.1.1.1 2002/06/27 08:53:19 jsrain Exp $ |
Printing is processed via spooling utility, commonly lpd. It reads its configuration from /etc/printcap. In this file, you can specify filters to use when printing.
Filters basically provide three functions:
Currently, in SuSE distribution, filter apsfilter is used. It can manage only first two functions. Its configurator can configure parallel, serial and remote printers. As you can see in document "Possible printer connection", it is not enough in these days.
With the new printer configurator, the following must change:
A printer database should be provided. In it, each printer should have a record that consists of this info:
Of course, the database should contain the Generic printer and Ghostscript driver (the user is free to define everything by himself) sections.
There are two configturation files for each configured printer. The first one is for the apsfilter. It is a /etc/gs.upp/y2prn_printername.upp file. This one contains the apsfilter and ghostscript switches.
The second one is /etc/gs.upp/y2prn_printername.y2. It contains the complete information about the configured printer (connection type, printer manufacturer and model, even the ghostscript switches and their possible values). This one is used as the source for the *.upp file.
The Filter Setup Tool should: