HP Forums

Full Version: [HP71B] How to activate VIDEO output AND PRINTER (ILPER)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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
(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).
(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.
(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
DISPLAY IS * deactivated the screen.
Now, how to activate the printer? (beginner at work..)
See attachment.
(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.
Thanks. In the BASIC prompt, following command made it
DISPLAY IS :PRINTER
Reference URL's