My new PC is eMachines3260, it has an HPdeskjet 3840 printer, it has windowsXP pre-installed by the supplier.
The old PC had windows98 and its printer (HP deskjet 695c) is now US. Qbasic was installed on the old PC by its supplier, I have no software disc for the Qbasic program - so I transfered it and other files from the old PC including :-
QBASIC 190K Application
QBASIC 128K Help file
QBASIC 1K Configuration settings
plus a few programs written in Qbasic.
All these transfered and work OK on the new PC, except when trying to operate the printer, either by using the command "LPRINT", or listing a program with File -> Print. Both of these cause the keyboard to lock and it can only be unblocked by Ctrl + Alt +Del. It seems to be trying to find the old printer on the new PC.
I see (from Qbasic help) that "LPRINT prints data on the printer LPT1". Does this mean that somewhere (possibly in the Qbasic configuration settings?) LTP1 is still assigned to the old printer?
What can I do to re-direct printing instructions from Qbasic on the new PC to the new printer? There is no problem with it printing from any windows program.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.