Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 11 of 37

TCL Terminal Control Language Programmer's Manual, pages 101 to 110

Pages 101 to 110 of 362

The original document is the PDF (13 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the VeriFone Tranz 330

Page 101 read from a scan by OCR; it may hold reading errors

Description:

See Also:

Category:

Buffer Status:

Terminals Supported:

Command Format:

*E - Append Batch Detail to Destination Buffer

Appends the batch header or the specified detail record from the current, open batch to the destination buffer. Before using this command, you must select a batch using the "*B" command.

If you attempt to append a record that does not exist, the terminal will set the data capture error to 3 (RECORD NOT FOUND).

Note: Refer to Appendix D of the TRANZ 380 Reference Manual for execution details.

Command Description *A Create/Open Batch *B Select Batch *C Copy Buffer to Batch *D Delete Batch Information *F Detect Data Capture Errors +G Append Detail Record to Batch

Data Capture and Batch Functions

Source Buffer Destination Buffer

No change Buffer updated

Terminal Special Conditions

PNC 330/340 “ag" and "s" not available

XL "a3" and “s" not available

TRANZ 330/340 "ag" and "s" not available

TRANZ 380 "a3" and "s" available on versions 1.10 or greater

Page 102 read from a scan by OCR; it may hold reading errors

Parameters:

Example:

*E - Append Batch Detail to Destination Buffer

Default Parameter Value Description a 0 Optional; code identifying the data to be copied; options for this parameter include: 0 copy the next detail record in the selected batch 1. copy the first detail record in batch 2 copy the batch header 3 Find next detail record matching data in source buffer and copy into destination buffer. Data must match exactly, though source buffer data may be shorter than data in detail record. s 0 Optional; number of commands to skip if the operation is successful. Command Operation

; This routine is used to read a record from a pre-selected batch

74=RECORD NOT FOUND 288$

G ; Clear destination buffer *E ; Select next detail record in current batch ; and append to destination buffer *F2.3 ; If a record found skip 2 else P74 ; Display "RECORD NOT FOUND" *K1 ; Abort and leave the current display

Page 103 read from a scan by OCR; it may hold reading errors

Description:

See Also:

Category:

Buffer Status:

Terminals Supported:

Command Format:

+E - Input and Display with Decimal Places

A keypad-only input command that allows definition of the number of decimal places to be displayed (between 1 and 9), the total number of digits that can be entered and what type of radix to use (either the standard US ‘.’ or the Latin America ‘,’). This command, useful in international programming, can also program separators after each thousand places, for example:

1,000,000.00. Command Description E Input from Card Reader or Keypad K Input from Keypad Only M Input from Card Reader Only *U Input from Bar Code Reader *Y Check Input Devices Data Entry

Source Buffer

Destination Buffer

No change

Terminal

Buffer updated

Special Conditions

PNC 330/340 XL

TRANZ 330 TRANZ 330 (202) TRANZ 340 TRANZ 380

None Available on versions 2.4 or greater Available on versions 1.3 or greater Available on versions 2.1 or greater Available on versions 2.1 or greater None

Page 104 read from a scan by OCR; it may hold reading errors

+E - Input and Display with Decimal Places

Parameters: Default Parameter Value Description n4 2 Optional; number of decimal places to be displayed; maximum= 9 minimum= 1 n2 10 Optional; maximum number of input digits; maximum= 14 minimum= 1 a 0 Optional; the type of radix to use; 0‘. Standard US radix without separators 1 ‘” US radix with separators 2 ‘Latin America radix without separators, 3 ‘.’ Latin America radix with separators

Examples: Command Operation

; This accepts a unit price that contains 3 decimal places

262$ ; Reserved for Enter Unit Price 3 decimals

G ; Clear buffer

P62 ; Say, "ENTER UNIT PRICE"

+E3.7.0 ; Accept 3-decimal place 7-digit unit price U464 ; Store unit price U465 ; Store it as extended price

G ; Clear buffer

A464 ; Get unit price back

B5 ; Select source buffer

12.2.’0.000’ ; Skip two commands if 0.000 is not found *Gl ; Else, give an error beep 1-10 ; and reprompt for unit price

Page 105 read from a scan by OCR; it may hold reading errors

Description:

See Also:

Category:

Buffer Status:

Terminals Supported:

Command Format:

F - Display Fixed Prompt

Causes the terminal to either display a fixed prompt (which is stored in ROM) or append a fixed prompt to the destination buffer.

Attention: This command is not supported by the ZON 5XX product line or TRANZ 330/380 international versions.

Note: On the PNC 330 and TRANZ 330/380, the F command will not affect the display until keyboard entry has occurred. If a card is swiped from the idle prompt and an "F" command appears in the code before the "E" or "K" command, the display will not be updated. Use the "V" command if the prompt is to be displayed regardless of data availability.

Command Description *J Justify Display P Display Custom Prompt V Display Buffer

Outputs and Data Display

Source Buffer Destination Buffer

No change Buffer not changed unless specific parameter option selected

Terminal Special Conditions PNC 330/340 None XL None

TRANZ 330/340/380 Not available on TRANZ 330/380 International versions ZON 5XX Not available

Page 106 read from a scan by OCR; it may hold reading errors

F - Display Fixed Prompt

Parameters: Parameter

Default Value

Description

Examples: Command none

Required; fixed prompt number; (see

Appendix F. "Fixed Prompts Tables" for a list);

you must assign a value to enable the terminal to execute the command

Optional; options for this parameter are:

0 display fixed prompt if there is no pending input

1 append fixed prompt to the destination buffer

Operation

F31

F28.1

; Display the prompt "ENTER AUTH CODE." ; Refer to the Appendix F. "Fixed Prompts

; Tables" for code 31 and other prompts.

; Append the prompt "END OF REPORT" to ; the destination buffer.

Page 107 read from a scan by OCR; it may hold reading errors

Description:

See Also:

Category:

Buffer Status:

Terminals Supported:

Command Format:

Parameters:

*F - Detect Data Capture Errors

Detects and fixes data capture errors.

Command Description *A Create/Open Batch *B Select Batch *C Copy Buffer to Batch *D Delete Batch Information *E Copy Batch Detail to Buffer +G Append Detail Record to Batch

Data Capture and Batch Functions

Source Buffer

Destination Buffer

No change No change Terminal Special Conditions PNC 330/340 None XL None TRANZ 330/340 None TRANZ 330 (202) None TRANZ 380 None Default Parameter Value Description s 0 Optional; number of commands to skip if the error value set by the terminal does not equal the value specified by "a" parameter a 0 Optional; code identifying the type of data capture error;

the default value is 0, no error; error code options include: QO no error; previous operation performed (skip if there is an error)

1 insufficient memory available to perform operation (skip if sufficient memory exists)

2__ invalid batch or none selected (skip if batch is valid)

3 requested detail record does not exist (skip if record exists)

Page 108 read from a scan by OCR; it may hold reading errors

*F - Detect Data Capture Errors

Example: Command Operation

; This routine is used to select a batch to read or update. If the batch does ; hot exist an error will be reported. 72=BATCH NOT FOUND

285$

B.3 ; Select work buffer 3

G ; Clear buffer

R’BATCH’ ; Append "BATCH" to buffer

A50 ; Append batch number to buffer

*B3 ; Select batch with header matching

; destination buffer contents

*F2.2 ; If batch selected skip 2 else P72 ; Display "BATCH NOT FOUND" *K4 ; Abort and leave the current display

*Fn.0 Example: 41=DUPLICATE BATCH 42=BATCH CREATED

150$ ; *F example B.5 ; Select destination buffer G ; Clear buffer R’Test Batch’ ; Append batch header *A ; Open a batch with header TEST BATCH’ *F1.0 ; Skip if an error occurred L155 ; Link to control string to continue with batch *Gl ; if an error occurred, beep P41 ; Display "DUPLICATE BATCH’ *K1 ; Abort, leaving this display 155$

P42 ; Display "BATCH CREATED’

Page 109 read from a scan by OCR; it may hold reading errors

Description:

See Also:

Category: Buffer Status:

Terminals Supported:

Command Format:

+F - Enable/Disable Response ACK

Enables/disables the ACK (acknowledgement) response and offers the options of sending the ACK over the modem immediately.

Command Description +D Tone Dial +l Send Over Modem +K Carrier Control +M Set Modem Parameters *P Specify Characters *R Specify Device, Speed and Format S Dial Phone Number *T Specify Timeouts *"V Append Phone Status +X Transmit Data to Network +Y Receive Data from Network

Communications Control

Source Buffer

Destination Buffer

No change No change

Terminal Special Conditions

PNC 330 None

ONC 340 Not available

XL Available on versions 2.4 or greater TRANZ 330 Available on versions 2.0 or greater TRANZ 330 (202) Not available

TRANZ 340 Not available

TRANZ 380 None

Page 110 read from a scan by OCR; it may hold reading errors

Parameters:

Examples:

+F - Enable/Disable Response ACK

Default Parameters Value Description a 0 Optional; options for this parameter are: Q enable response ACK 1 disable response ACK 5 send ACK over the modem line immediately. Command Operation

; Routine will analyze a close response message.

164$ B2 ; Select source buffer O ; Move extraction pointer 1 13.2.’ZB’ ; If Aborted +F5 ; Send an ACK now! P296 ; Say, "ABORT CLOSING" *K1 ; And quit 17.2.ZC’ ; If okay +F5 ; Send an ACK now! *W3 ; Wait for the Network to process the ACK *K3 ; Drop out of multi-transaction *L325 ; Clear Totals, Clear batch G ; Clear buffer P182 ; Say, "CLOSE OK" L239 ; Link to routine to complete processing