Forum Replies Created
-
AuthorPosts
-
December 2, 2024 at 12:06 pm in reply to: unexpected error 7 “undefined Function or Subprogram” #9411
The error message indicates that the function “Ddeinit” does not exist in the program. This would imply that the program has become corrupted or inadvertently modified. Do you have a backup copy? If not, to further diagnose or to help confirm this suspicion, we would need to see a listing of your code. You can email it to htbsupport@transera.com.
net use lpt1: /delete net use lpt1: \printserver\new-printer-name /persistent:yesDid you update the printer name mapping in the “net use” command to the new printer?
net use lpt1: /delete net use lpt1: \<em>printserver\new-printer-name</em> /persistent:yesIf you are running on Windows 11, make sure you are running HTBasic version 17 or later.
We have confirmed there is an issue on Win 11 and are looking into it. Hope to have a better answer for you in a few days.
January 25, 2024 at 11:27 pm in reply to: Difference between Full Version and Personla Edition #9290The Personal Edition is for students and hobbyists wanting to learn HTBasic, and for retired folks already familiar with HP or HTBasic who want to use it for personal non-commercial (non-moneymaking) use.
The Full-priced version is for anyone working professionally and charging for their services or who work for a company that needs the capabilities of the product for operation of their business or enterprise.
Both versions are otherwise compatible.
You can download the latest version of HTBasic from the website by clicking “Downloads” on the menu. Then click “Download Purchases”. Here is the link: https://transera.com/dl-htbasic/
The current version of HTBasic now includes a VISA driver: LOAD BIN “VISA;…” (or use Device Setup to configure). There is also an LXI driver that is VISA compliant. You can try out these device drivers by downloading the Trial version of HTBasic.
I know that other users are successfully using the NI GPIB-USB-HS+ interface, though I don’t have any personal experience with it. But I do believe it is the Keysight instrument and not the USB to GPIB interface adaptor that requires the HPIBS driver. As you may know, HP became Agilent, and then Keysight. So there is a chain of software compatibility and even many model numbers are the same.
If you are using a Keysight instrument, then you need to use the HPIBS driver and you need to have installed the Keysight I/O libraries. The GPIBNI driver is for National Instruments devices. The new automatic search in HTBasic 21 is for LXI (LAN based) instruments.
Have you tried the USBS driver?
Great news! Glad you got it working.
There are two ways to set or view the current printer. One is to invoke the Device Setup dialog in the Tools menu. You can then select WIN-PRINT in the driver list and then click on Properties. This will pop up the Windows Configure Print Driver dialog box and allow you to see the current printer and select another printer if needed. Note the “Network” button at the bottom of this pop-up box will allow you to select or enter a network printer name.
The second way allows you to invoke the same Windows Configure Print Driver dialog box but under program control by executing the following line of HTBasic code:
CONTROL 10,102;1
Also, I thought I included this before, but Windows System Error 1167 can be found on this page:
https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes–1000-1299-ERROR_DEVICE_NOT_CONNECTED
1167 (0x48F)
The device is not connected.Error numbers above 10000 are passed through from Windows (they are not specific HTBasic error codes). It is likely a permissions error caused by change in ownership of a file, folder, or in this case printer. You said this happened after IT scan. Not sure what was involved in this, but probably related to your login permissions and being assigned as new account owner after departure of your retired guy. So it’s an IT issue. Line 1280 OUTPUT 26 USING “K,#”;CHR$(27)&”%0B” ! Enter HPGL Mode, is simply trying to send an escape sequence to the printer assigned to ISC (Interface Select Code) 26 to set it to HPGL mode as the comment indicates.
-
AuthorPosts