SAP ABAP Data Element TDPCPORT (Print control 1 for font selection)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-SCR (Application Component) SAPscript
     STXD (Package) SAPscript
Basic Data
Data Element TDPCPORT
Short Description Print control 1 for font selection  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RSPOPRCTL    
Data Type CHAR   Character String 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table TSP4D    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 PrtCtl.1 
Medium 15 Print control 1 
Long 20 Print control 1 
Heading 30 Print control 1 
Documentation

Definition

Name of the Print control which is to be used by the SAPscript printer driver to select the printer font when printing.

Print controls for each separate device type are maintained in the spool administration transaction.

This Print control has different functions when printing, depending on the printer driver you are using.

Printer driver HPL2 for the PCL-5 printer:
The functions of the Print control depend on the "scaleable font" parameter:
With scaleable printer fonts, this Print control contains the PCL-5 command to select the character set that is to be used for the font.
Example: ESC(0N (selects character set "ISO 8859/1")
With non-scaleable printer fonts, this Print control contains the full PCL-5 command to select the character set and the font when printing in portrait format.
Example: ESC(0N ESC(s0p10h0s0b3T (selects "Courier" font in character set ISO 8859/1 with 10 cpi)

Printer driver POST for the PostScript printer:
This Print control contains the PostScript name of the font used when printing in portrait format.
Example: Helvetica Bold (selects PostScript font "Helvetica Bold")

Printer driver PRES for the PRESCRIBE printer:
This Print control contains the PRESCRIBE command to select fonts when printing in portrait format.
Example: FONT 12; (selected PRESCRIBE font number 12)

Printer driver STN2 for the line printer:
This Print control contains the printer command to select fonts when printing in portrait format.

Printer driver SWIN for the SAPWIN and related device types:
The functions of this Print control depend on the "scaleable font" parameter:

If "scaleable font" is deactivated, this Print control contains the name of the MS Windows font to be used when printing in portrait format.
Example: Courier New (selects Windows font "Courier New")

If "scaleable font" is activated, this Print control contains the name of the MS Windows font to be used when printing, regardless of the format used (that is, for both portrait and layout formats).
Example: Arial (selects Windows "Arial" font)

History
Last changed by/on SAP  20010130 
SAP Release Created in