Post Reply 
Printing from HP-86B ?
07-11-2017, 10:17 PM
Post: #42
RE: Printing from HP-86B ?
I hacked JFG's sample into this simple test program:

Code:
10 ! Test program to copy a text file from HPIL DOSLINK device to a disk file
18 ON ERROR GOTO 100
20 DIM A$[120]
30 CREATE "OUTPUT:D700",80,120
40 ASSIGN# 1 TO  "OUTPUT:D700"
50 ENTER 904 ; A$
60 DISP A$[1,20]
70 IF A$[1,4]="*EOF" THEN GOTO 100
80 PRINT# 1 ; A$
90 GOTO 50
100 ASSIGN# 1 TO  *
101 IF ERRN #0 THEN DISP "Error";ERRN ;"at line";ERRL 
110 END

The program is intended to accept up to 80 lines of text (120 chars long) and write them to records in the OUTPUT data file on disk.

When run, the program creates the data file, and continues to run, but no data is displayed; the program seems to run 'forever' requiring RESET to regain control. Further testing showed it basically hangs forever on the initial ENTER command.

I suspect DOSLINK sent the first line of the test file, and the program is waiting for the rest of the 120 bytes in the first record. Fixed length records may be required here.

Since Series-80 has no native TEXT file support, it's not surprising that it doesn't simply treat the received data as "lines of text". The GETSAVE binPRGM may shed some light, more exploring to do here, just thought I'd share some info for others following the thread and trying stuff.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Printing from HP-86B ? - smp - 07-06-2017, 04:24 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 06:21 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 06:24 PM
RE: Printing from HP-86B ? - rprosperi - 07-06-2017, 07:51 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 06:25 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 07:39 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 08:49 PM
RE: Printing from HP-86B ? - rprosperi - 07-07-2017, 10:37 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 10:41 PM
RE: Printing from HP-86B ? - smp - 07-08-2017, 12:22 PM
RE: Printing from HP-86B ? - smp - 07-07-2017, 10:37 PM
RE: Printing from HP-86B ? - rprosperi - 07-07-2017, 10:42 PM
RE: Printing from HP-86B ? - smp - 07-08-2017, 12:26 PM
RE: Printing from HP-86B ? - cruff - 07-08-2017, 12:43 PM
RE: Printing from HP-86B ? - smp - 07-08-2017, 05:46 PM
RE: Printing from HP-86B ? - smp - 07-10-2017, 07:32 PM
RE: Printing from HP-86B ? - rprosperi - 07-10-2017, 07:38 PM
RE: Printing from HP-86B ? - smp - 07-10-2017, 08:56 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 12:58 AM
RE: Printing from HP-86B ? - J-F Garnier - 07-11-2017, 07:56 AM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 02:56 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 07:08 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 07:23 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 09:40 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 10:32 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 11:25 PM
RE: Printing from HP-86B ? - rprosperi - 07-12-2017, 01:49 AM
RE: Printing from HP-86B ? - J-F Garnier - 07-11-2017, 07:33 PM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017, 07:58 PM
RE: Printing from HP-86B ? - J-F Garnier - 07-11-2017, 08:06 PM
RE: Printing from HP-86B ? - cruff - 07-11-2017, 12:21 AM
RE: Printing from HP-86B ? - rprosperi - 07-11-2017 10:17 PM
RE: Printing from HP-86B ? - J-F Garnier - 07-12-2017, 06:59 AM
RE: Printing from HP-86B ? - rprosperi - 07-12-2017, 01:17 PM
RE: Printing from HP-86B ? - J-F Garnier - 07-12-2017, 02:15 PM
RE: Printing from HP-86B ? - rprosperi - 07-12-2017, 06:33 PM



User(s) browsing this thread: 15 Guest(s)