Bug Reprt: Attempt to print record from stock table cause system Crash
Posted: Sun Dec 15, 2024 8:07 pm
Attempting to export records from stock table and send to printer. If user makes a minor error in selecting output, it puts user in a position which can not be backed out of. User can only hit the [Any Key] and in doing so the program crashes and goes back to the system prompt. From the error message, it seems there is a problem with a Goto statement not accounting for me.
Results the same when tested on a Windows XP servicepack3 PC and also on a DOSBox running on a Windows 10.
POS configured to print to Receipt Printer.
This error is repeatable and results are always the same.
While in the stock table.
Press [F5] = Move/Export lines
Select 1. Continue to 'Move / Export.'
[SPACEBAR] TO SELECT SOME RECORDS.
7. Export to printer/database/spread sheet.
2. All selected lines. [ENTER]
Select some fields you want to export.
[SPACEBAR] the STOCK NUMBER, DESCRIPTION, REGULAR PRICE, and VENDOR STOCK NUMBER.
Leave the default selection of [F3] and [F5].
Press [F8] Begin export to...
Select 1. Printer. [ENTER]
you are then presented with a message, "Length of printed lines (47) longer than printer width setting (40). Press any key"
At this point you can "Press any key".
Program crashes with error message.
"RETURN without GOSUB in line 56 of module STOCK3 at address 1D61:4351"
"Hit any key to return to system"
Once you choose the key you want to press and press it, the program returns to the DOS prompt.
There is no way to return to the previous step once you have been warned about "Length of printed....". What should happen is it should let you in the least hit the [Esc] to go back one screen to deal with making different choices.
The reason is obvious an output conflict that a user shouldn't choose buuut, yeahhh, I did it.
The initial fix for this is for the user not to do the above actions. watch what you are doing.
Dale may or may not fix this.
later, B
Results the same when tested on a Windows XP servicepack3 PC and also on a DOSBox running on a Windows 10.
POS configured to print to Receipt Printer.
This error is repeatable and results are always the same.
While in the stock table.
Press [F5] = Move/Export lines
Select 1. Continue to 'Move / Export.'
[SPACEBAR] TO SELECT SOME RECORDS.
7. Export to printer/database/spread sheet.
2. All selected lines. [ENTER]
Select some fields you want to export.
[SPACEBAR] the STOCK NUMBER, DESCRIPTION, REGULAR PRICE, and VENDOR STOCK NUMBER.
Leave the default selection of [F3] and [F5].
Press [F8] Begin export to...
Select 1. Printer. [ENTER]
you are then presented with a message, "Length of printed lines (47) longer than printer width setting (40). Press any key"
At this point you can "Press any key".
Program crashes with error message.
"RETURN without GOSUB in line 56 of module STOCK3 at address 1D61:4351"
"Hit any key to return to system"
Once you choose the key you want to press and press it, the program returns to the DOS prompt.
There is no way to return to the previous step once you have been warned about "Length of printed....". What should happen is it should let you in the least hit the [Esc] to go back one screen to deal with making different choices.
The reason is obvious an output conflict that a user shouldn't choose buuut, yeahhh, I did it.
The initial fix for this is for the user not to do the above actions. watch what you are doing.
Dale may or may not fix this.
later, B