For transferring HP programs with Output/Enter commands, you might also
consider LabTab as a convenient API.
You can experiment Output/Enter with it at: www.labtab.com/ni_gpib0
url.
You need a device at GPIB address 1 and an NI GPIB board declared as
GPIB0.