HP Forums
[HP71B] How to activate VIDEO output AND PRINTER (ILPER) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) (/thread-20533.html)



[HP71B] How to activate VIDEO output AND PRINTER (ILPER) - floppy - 09-21-2023 11:26 AM

Hello,
currently using EMU71 with ILPER and VIDEO80, the commands and outputs appears on the green screen. Is it possible to have an output in the PRINTER area of ILPER, too? (for having the copy function of the printed text; which is not possible in the Video80 screen).
If not, the switch from VIDEO80 to PRINTER can probably be made with the TCP/IP setup.


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - rprosperi - 09-21-2023 02:56 PM

You cannot have the output go to both (AFAIK) but you can direct output to IL-Per's virtual 'printer' window by using the command DISPLAY IS PRINTER, so you can then copy.paste, etc.


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - Sylvain Cote - 09-21-2023 03:35 PM

First deactivate display/printer redirection.
Code:
DISPLAY IS *      ! deactivate display redirection
PRINTER IS *      ! deactivate printer redirection

Assuming HP-IL configuration
  1. display
  2. tape drive
  3. printer

Send a string to the display at address #1 and to the printer at address #3
Code:
SEND UNT UNL LISTEN 1,3 MTA DATA "a string" UNT UNL

Send multiple lines
Code:
SEND UNT UNL LISTEN 1,3 MTA 
SEND DATA "line #1"&CHR$(13)&CHR$(10)
SEND DATA "line #2"&CHR$(13)&CHR$(10)
SEND DATA "line #3"&CHR$(13)&CHR$(10)
SEND UNT UNL

commands description
Code:
UNT                                             ! deactivate the current talker
UNL                                             ! deactivate all listeners
LISTEN device_address_1,device_address_2,etc    ! assign listeners
MTA                                             ! My TALK address, the 71B is now the talker
DATA "..."                                      ! send string from talker to all listeners
UNT                                             ! deactivate the current talker
UNL                                             ! deactivate all listeners



RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - floppy - 09-21-2023 03:40 PM

(09-21-2023 02:56 PM)rprosperi Wrote:  You cannot have the output go to both (AFAIK) but you can direct output to IL-Per's virtual 'printer' window by using the command DISPLAY IS PRINTER, so you can then copy.paste, etc.
Ok (I love that green screen).


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - floppy - 09-21-2023 03:45 PM

(09-21-2023 03:35 PM)Sylvain Cote Wrote:  Assuming that the first display/printer is at address 1 and that the second display/printer is at address 2.

First deactivate display/printer redirection.
Code:
DISPLAY IS *      ! deactivate display redirection
PRINTER IS *      ! deactivate printer redirection

commands description
Code:
UNT                                             ! deactivate the current talker
UNL                                             ! deactivate all listeners
LISTEN device_address_1,device_address_2,etc    ! assign listeners
MTA                                             ! My TALK address, the 71B is now the talker
DATA "..."                                      ! send string from talker to all listeners
UNT                                             ! deactivate the current talker
UNL                                             ! deactivate all listeners

Thanks. My understanding (correct it if wrong): the sending to both device is possible but has to be controlled. & the output of the HP71B screen (mirror of it) can be done only on the currently activated device.


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - Sylvain Cote - 09-21-2023 03:48 PM

(09-21-2023 03:45 PM)floppy Wrote:  Thanks. My understanding (correct it if wrong): the sending to both device is possible but has to be controlled. & the output of the HP71B screen (mirror of it) can be done only on the currently activated device.
When you go into manual mode, the automatic redirection must be deactivated because one will interfere with the other.
To understand how HP-IL works, activate ILPER/pyILPER scope window and with the HP-IL reference manuals, learn the HP-IL protocol/behavior. Wink


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - floppy - 09-21-2023 04:12 PM

DISPLAY IS * deactivated the screen.
Now, how to activate the printer? (beginner at work..)
See attachment.


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - Sylvain Cote - 09-21-2023 05:25 PM

(09-21-2023 04:12 PM)floppy Wrote:  Now, how to activate the printer? (beginner at work..)
Please read HP 82401A HP-IL Interface Owner's Manual getting started section.

Edit: Section 2 - Printer and Display Operations - will answer your questions on the subject.


RE: [HP71B] How to activate VIDEO output AND PRINTER (ILPER) - floppy - 09-22-2023 07:08 AM

Thanks. In the BASIC prompt, following command made it
DISPLAY IS :PRINTER