Call 99 – reset print head pointer, Call 99 – reset print head pointer -3, Syntax – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 239: Example, Purpose

Advertising
background image

Publication 1746-RM001A-US-P

Setup Functions 14-3

Syntax

PUSH [baud rate]
CALL 78

Example

>1

REM EXAMPLE PROGRAM

>10 PUSH 4800

>20 CALL 78

CALL 99 – Reset Print
Head Pointer

Purpose

Use CALL 99 to reset the internal print head character counter of your printer
when printing out wide forms. This CALL prevents the automatic CR/LF at
character 79. You must keep track of the characters in each line.

Syntax

CALL 99

Example

>10 REM EXAMPLE PROGRAM

>20 REM THIS PRINTS TIME BEYOND 80TH COLUMN

>30 PRINT TAB(79)

>40 CALL 99

>50 PRINT TAB(41), “TIME –”,

>60 PRINT H,“:”,M,“:”,S

>70 END

Advertising