Table of Contents

PRT - Printer Specification

Module PRT

Description

This structure is used for several purposes:

If stored in table PRT, one row in this table defines for one subject (USR, USG, …) and one technical form (TEF) which printer and bins are to be used. Fields JOBNAM, HEATXT and CPYCNT are not used in the configuration context.

For services (e.g.SRVPRT) default entries entered and used using the PRT structure but the relevant fields are currently stored in the .INI file for the manager. The fields JOBNAM, HEATXT and CPYCNT are not used for this purpose.

Within the printing process the PRTrecord is used to determine the relevant printer information and to complete the information required for printing by adding values for HEATXT, JOBNAM and CPYCNT from other sources.


Datafields

Name Description Data Type Len Dec. View lines View type Inst. Visible Codetable
INR Internal Unique ID of Printer/TEF Config per Owner Text 8 1 Edit Yes Public
OBJTYP Object Type of Owner (USR, USG, SRV) Text 6 1 Edit Yes Public
OBJINR INR of Owner Text 8 1 Edit Yes Public
TEF Technical Form Text 3 1 Edit Yes Public <fixed-length>
HEATXT Text for Header Text 40 1 Edit Yes Public
JOBNAM Identification of Print Job Text 40 1 Edit Yes Public
PRTTYP Type of Print Text 1 1 Edit Yes Public Embedded
GETPRT Default Printer from: Text 3 1 Edit Yes Public Embedded
PRT Printer Text 80 1 Edit Yes Public
BIN Paperbin Text 40 1 Edit Yes Public <fixed-length>
BIN2 Bin for 2nd Page Text 40 1 Edit Yes Public <fixed-length>
CPYCNT # of Copies Numeric 2 0 Edit Yes Public
VER Version Counter Text 4 1 Edit Yes Public
TYP ORI, CPY,.. Text 3 1 Edit Yes Public APFTYP

Indices

Name Fields Properties
PRT_IDX INR Unique
PRT_OBJ OBJTYP, OBJINR, TEF Unique

/


Lock

INR

Datafield Description and Properties


Datafield INR Internal Unique ID

Description

Unique internal ID of a record within the table. The INR is a text field, which is created by retrieving the next valid entry from the counter PRT. The field INR is used to maintain links from other tables into this table.

Helpinformation

Unique internal ID of a record within the table. The INR is a text field, which is created by retrieving the next valid entry from the counter of this table. The field INR is used to enable links from other tables to this table.

For contractdata the INR also links the two tables xxD and xxT as associated entries hold the same INR.


Datafield OBJTYP Object Type

Description

Type of object the config. entry refers to. Usually this is the table the object is associated to. Used values are USR User USG User Group ETY Entity

For printer configuration entries that are stored in an .INI file (e.g. default values for managers) this field is empty.

Helpinformation

Type of object the configuration entry refers to. This is usually the table the object is associated to.


Datafield OBJINR Object INR

Description

INR of the object within the table, defined in OBJTYP.

Helpinformation

INR of the object within the table, defined in the Object Type field.


Datafield TEF Technical Form

Description

This field defines the technical form the printer configuration of this entry is valid for. The valid values are defined in the embedded codetable in APF:TEF.

Helpinformation

Specifies the type of paper used.


Datafield HEATXT Text for Header

Description

Header text to be optionally used within documents to be printed. This text might hold '$xxx' using a existing code of the codetable HEATXT for translatable header texts.

The resulting content of this field replaces the 'print context' variable when a document is actually generated.

Helpinformation

Header text to be optionally used within documents to be printed. This text might hold '$xxx' using a existing code of the codetable 'Header Text' for translatable header texts.

The resulting content of this field replaces the 'print context' variable when a document is actually generated.


Datafield JOBNAM Identification of Print Job

Description

The 'print context1' variable in a document is replaced by content of this field when a document is actually generated.

Helpinformation

The 'print context1' variable in a document is replaced by content of this field when a document is actually generated.


Datafield PRTTYP Type of Print

Description

This field defines the type of formatting / preparation of the print creation.

Helpinformation

This field contains the printout format (formatted or raw).

Codetable
Code Text
N Don't Print
R Raw
P Formatted
B Both, Raw + Formatted
D Display

Datafield GETPRT Use Printer Configuration from:

Description

This field defines where to start to search for a print configuration to be used. The default search sequence is user, usergroup, entity, default.

Helpinformation

This field defines how the printer configuration should be determined. “Here” = dedicated printer as configured in the current context “Entity” = printer as configured for the entity “User” = printer as configured for the user “User Group” = printer as configured for the user group of the user

Codetable
Code Text
DEF Here
USR User
USG User Group
ETY Entity
<not specified>

Datafield PRT Printer

Description

Name of printer to be used.

Helpinformation

This field contains the list of printers accessible from “here” or as defined for the “entity” address and/or for the “user” or the “user group”.


Datafield BIN Paper Tray

Description

Name of paperbin which shall be used.

Helpinformation

This field identifies the paper tray in the selected printer for the first page of a print run.


Datafield BIN2 Tray for 2nd Page

Description

Name of paperbin which shall be used for the second and all following pages.

Helpinformation

This field identifies the paper tray in the selected printer for the second page of a print run.


Datafield CPYCNT Number of Copies

Description

Number of copies to be printed.

Helpinformation

Number of copies to be printed.


Datafield TYP ORI, CPY,..

Description

The technical form (type of paper) on which the application form is to be printed.

Helpinformation

The technical form (type of paper) on which the application form is to be printed.


Datafield VER Version

Description

This field holds the version counter to keep track of the version history of an PRT entry. The individual versions are controlled by entries in the SLG table.

Helpinformation

This field holds the version counter used to keep track of the history of an entry of this table. The individual versions are managed by entries in the SLG table.