TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) NAME tcprconf - Tektronix color printer server (tcprserver) configuration file SYNOPSIS /etc/tcprconf DESCRIPTION MDQS reads /etc/tcprconf to map color printers to their device drivers based on Generic Raster Format (GRF) tag entries in the GRF image file. For more information on GRF, see grf(5). GRF image files (screendata) are processed into copydata files printed on Tektronix 469X color printers. The mappings found in /etc/tcprconf file determine that tcprserver (tcprserver(8mdqs)) can print the file. Each entry in /etc/tcprconf consists of a single line with five fields: label, tag-name, tag-value, GRF-protocol- driver, and GRF-parameters. Each field is separated by spaces or tab characters. The label field contains a character string passed to tcprserver. The tcprserver program scans the /etc/tcprconf file for entries that match the label passed to it. The label field may occur more than once. 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: destinationdevice, copiertype, or printertype. 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 processed for one color printer to a different 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 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). The final field, GRF-parameters is optional and can occur more than once. Each field contains a parameter passed to Printed 4/6/89 1
TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) the GRF protocol driver when it begins execution. These parameters allow the GRF protocol drivers to configure themselves upon execution. In the /etc/tcprconf file the character # is a comment character signifying that the rest of the line is ignored. The system administrator must modify the /etc/qconf file using the makedev tchc command so that the queuing system recognizes the color printers. For more information on how to set up printer device descriptions and queue-to-device mappings, refer to qconf(5mdqs) and the System Administration Manual for your system. 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, destinationdevice 4692, or copiertype copier4692 is spooled to device /dev/tchc using the GRF protocol driver /usr/lib/mdqs/tcprdrv_Tek4692. The -s option to the protocol driver specifies the data is spooled in 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: #Printer_Type GRF_Tag GRF_Parameter Printer_Driver_Path Driver_Parameters # Tektronix 4692 Color Printer Entries ( streaming ) Tek4692_S Destination_Device 4692 /usr/lib/mdqs/tcprdrv_Tek4692 -s Printed 4/6/89 2
TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) 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. The 4693D GRF protocol driver (see tcprdrv_Tek4693D.8mdqs) recognizes all GRF tags used by all other protocol drivers for the Tektronix 469X family of printers. Thus, images processed for other Tektronix printers can be sent to this driver. The tag-value field of the /etc/tcprconf file contains the regular expression copier469[2-6] which loads image files containing the following set of GRF tags: destinationdevice 4692, destinationdevice 4693d, destinationdevice 4695, and destinationdevice 4696. Since the -s option is not given to the protocol driver, 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), Printed 4/6/89 3
TCPRCONF(5MDQS) COMMAND REFERENCE TCPRCONF(5MDQS) tcprdrv_Tek4693D(8mdqs), tcprdrv_Tek4692(8mdqs). REFERENCES For more information, consult the Users Manual for your system. Printed 4/6/89 4
%%index%% na:432,130; sy:562,239; de:801,3623;4928,891; ex:5819,1991;8314,2498; fi:10812,888; se:11700,613;12817,133; re:12950,254; %%index%%000000000155