We have a cash register program that prints directly to a receipt printer via LPT1.
One of our customers do not have their printer setup that way, and it was working for them for years, and then all of a sudden, it stopped. Here is what the customer has said about their setup in our support ticket:
“These are IP-based Star sp712 printers that are designed to be plugged into the network (not a USB or LPT port). Initially, we had the receipts printing and the cash drawer opening but there is something wonky in the cash register app related to if a user has the option for printer selection enabled. Once a user with that option tries to print it boogers up the computer for all users in that when they attempt to print, it will open the drawer but not actually print. Meanwhile, we can use a legit program like notepad or Word and it prints and opens the drawer properly.
We went to another PC not at the counter and got that to work and also confirmed on both that it wasn't a windows user permission issue rather something in your software. I went so far as to replace the PC at the counter with a freshly loaded OS and it worked fine ... until an user who had printer selection option turned on.
I decided to try the old pre-Y2K trick of sharing the printer and then doing NET USE command to assign it to LPT1. Guess what. It opened the drawer but still wouldn't print.
Does anyone have any ideas how this can be fixed? We have tried re-programming the program to open the printer selection to bypass the LPT1, but that still did not work.
Any help would be greatly appreciated. I know this is not a COBOL language issue, but I was asked by higherups to ask someone at Rocket, and our Maintenance is Expired for RM\COBOL.


