beautypg.com

National Instruments GPIB-PC User Manual

Page 243

background image

Using your Printer with the GPIB-PC

Appendix D

GPIB-PC User Manual

D-2

©National Instruments Corp.

Examples:

System

PRINT FILE
COPY FILE LPT1

BASIC

10 LPRINT "hello"

10 OPEN "LPT1" FOR OUTPUT AS #1
20 PRINT #1, "it works!"