
Across the Boards
Communications Device Drivers
Section 5 - General Configuration and Usage Information
Page 183
cfSOFTWARE Confidential,
2000
5.2 Configuring the Telnet TN3270 Drivers (continued)
The ApkPrint base terminal key will initiate a local copy operation.
When the host name is entered, a specific printer LU may be requested. The syntax is:
hostname [port] [:[luname][/prtluname]
Examples:
Request LU “LU2T0001” (with associated printer):
CF370.CFSOFT.COM :LU2T0001
Request LU “LU2T0001” with specific printer “LUPRT1”
CF370.CFSOFT.COM :LU2T0001/LUPRT1
Request any LU with printer “LUPRT1”
CF370.CFSOFT.COM :/LUPRT1
While printing is in progress, a “cancel” dialog box is displayed. Selecting “Cancel” will discard the current
unit of output from the host. (The dialog box may be suppressed by the local application).
The WPCTL1 printer device control string is supported (XAPI function). The following fields of the WPCTL1
control string are active:
bEnable
- TRUE if printer is enabled
fPrint
- Print selection flags
#define WPC_PSELDEFAULT (0x0000)
#define WPC_PSELMAINCON (0x0001)
(treated as WPC_PSELDEFAULT)
#define WPC_PSELSPECIFIC (0x0002)
fDialogBox
- Dialog Box options
#define WPC_USEDIALOGBOX (0x0000)
#define WPC_NODIALOGBOX (0x0001)
fFontOpt
- Font options
#define WPC_DEFAULTFONT (0x0000)
#define WPC_LOGFONT (0x0001)
fEOJ
- EOJ control flags
#define WPC_EOJIDLE (0x0002)
IdleTimeout
- Print idle timeout
szDriver
- Print driver to select (2nd parameter of CreateDC)
lf
- Logical font structure
szCaption
- Caption for printer dialog boxes
See CFXCTLS.H for additional documentation on these fields.
Kommentare zu diesen Handbüchern