TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) NAME tcprconf - Tektronix color printer server (tcprserver) configuration file SYNOPSIS /etc/tcprconf DESCRIPTION tcprconf is read by the MDQS program to map itself to the correct GRF protocol driver based on GRF tag entries in the GRF image file being printed. For more information on GRF tags and headers see grf(5). GRF image files are processed into copy-data files printed on Tektronix 469X color printers. The mappings found in the tcprconf file determine if the tcprserver program is capable of printing the GRF image file being spooled. Each entry in the tcprconf file consists of a single line. Each entry consists of five fields, a label, a tag-name, a tag-value, a GRF-protocol-driver, and GRF-parameters. Each field is separated by spaces or tab characters. The label field contains a character string that is passed to the tcprserver program when it is invoked. The tcprserver program scans the tcprconf file for entries that match the label passed to it. The label field may occur more than once in the tcprconf file. The tag-name is a GRF tag entry that is matched against the GRF image file. This GRF tag denotes the type of hardcopy or printer device the GRF image file is processed for. The standard GRF tags for this field are: destination_device, copier_type, or printer_type. The tag-value field represents a regular expression used to match the value field of the GRF tag entry found in the tag-name field of the GRF image file. For a discussion of regular expressions, see ed(1). Regular expressions make it possible to map GRF image files that have been processed for one type of color printer to a different type of color printer. The best mapping is determined by the type of color printers configured to the system. The GRF-protocol-driver field contains the path to the GRF protocol driver that is loaded and executed for printing the GRF image file when the matching tag-name and tag-value fields are found. For more information on GRF protocol drivers see tcprdrv_Tek4692(8mdqs), tcprdrv_Tek4693D(8mdqs) and tcprdrv_Tek4696(8mdqs). Printed 5/12/88 1
TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) The final field, GRF-parameters is optional and can occur more than once. Each field contains a parameter passed to the GRF protocol driver when it begins execution. These parameters allow the GRF protocol drivers to configure themselves upon execution. In the tcprconf file the character # is a comment character signifying that the rest of the line is ignored. EXAMPLES The following example shows possible /etc/qconf and /etc/tcprconf entries necessary to print an image on a Tektronix 4692 color printer. In the example, any GRF image file that contains the GRF tag entries, destination_device 4692, or copier_type copier_4692 is spooled to device /dev/tchc using the GRF protocol driver /usr/lib/mdqs/tcprdrv_Tek4692. The -s option to the protocol driver forces the data to be spooled using streaming mode. /etc/qconf entries: # # Device Descriptions # # <dname> <device> <forms> <status> tchc /dev/tchc default ---------------------------------------- # # Queue Descriptions # # <qname> <status> tcpr ---------------------------------------- # # Queue-->Device Mappings # # <qname> <dname> <server> tcpr tchc /usr/lib/mdqs/tcprserver -i -P Tek4692_S /etc/tcprconf entries: # Tektronix 4692 Color Printer Entries ( streaming ) Tek4692_S Destination_Device 4692 /usr/lib/mdqs/tcprdrv_Tek4692 -s Tek4692_S Copier_Type Copier_4692 /usr/lib/mdqs/tcprdrv_Tek4692 -s The following example shows possible /etc/qconf and /etc/tcprconf entries necessary to print an image on a Tektronix 4693D color printer. Since the 4693D GRF protocol driver recognizes all GRF tags used by all other Tektronix GRF protocol drivers for the 469X family of color printers Printed 5/12/88 2
TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) it is possible to send images processed for other Tektronix printers to this GRF protocol driver. The tag-value field contains the regular expression copier_469[2-6] which forces the GRF protocol driver to be loaded for image files that contain the following set of GRF tags: destination_device 4692, destination_device 4693d, destination_device 4695, and destination_device 4696. Thus image files processed for a Tektronix 4692, 4693D, 4695, and 4696 color printer could be printed on a 4693D color printer by mapping to this protocol driver. Since the -s option is not given to the protocol driver, the data is spooled using handshake mode. /etc/qconf entries: # # Queue-->Device Mappings # # <qname> <dname> <server> tcpr tchc /usr/lib/mdqs/tcprserver -i -P Tek4693D_H /etc/tcprconf entries: # Tektronix 4693D Color Printer Entries ( handshake ) Tek4693D_H Destination_Device 469[2-6] /usr/lib/mdqs/tcprdrv_Tek4693D FILES /etc/tcprconf The default file containing configuration information used by the tcprserver program (tcprserver(8mdqs)) to map GRF image files to the correct Tektronix color printer protocol driver. /etc/qconf The default configuration file for the Multi-Device Queuing System (MDQS). It must contain the mapping from the printer hardcopy device driver to the tcprserver server program. SEE ALSO screencopy(1), tcpr(1mdqs), lpq(1mdqs), lprm(1mdqs), processing(1), qmod(1mdqs), qstat(1mdqs), tchc(4), forms(5mdqs), tcprdither(5), tcprgamma(5), grf(5), mdqsd(8mdqs), tcprserver(8mdqs), tcprdrv_Tek4692(8mdqs), tcprdrv_Tek4693D(8mdqs), tcprdrv_Tek4692(8mdqs). REFERENCES For more information, consult the Users Manual for your system. Printed 5/12/88 3
%%index%% na:432,130; sy:562,239; de:801,3727;5032,549; ex:5581,1975;8060,1360; fi:9420,888; se:10308,746; re:11054,209; %%index%%000000000144