G
G.W.HH
Guest
Hello,
Intro:
I have a printer, which consists of two independent printing units (roll paper and flatbed printer) in one case and which is connected via _one_ parallel cable (famous IEEE 1284). OS=Win7 64 bits on an INTEL i5.
For different reasons I want to connect the printer not via an LPT1 port (as of today) but with a network print server (like TP-Link TL-PS-110P).
I setup this system: [PC] - network - [TP-Link] - [printer]. It works well.
I redirected the lpt via "net use LPT1: \\servername\lp1" and this also works, i.e. I can send data to LPT1 and it comes out of the printer. I can send data via LPT1 to the printer (roll paper) and it prints.
Now my problem. The application, which uses the printer, has two modules: One for the roll paper and another for the flatbed printer. If I do the above, the printing to the roll works fine. However, printing to the flatbed does not work, that application says "OpenDev() failed", which I could not assign as standard error message of any Windows API.
Therefore, my assumption is that that second module accesses the LPT ports directly, so that any redirection will not work.
My question:
Does anyone have an idea how to grab that data from the ports and redirect them to the network printer?
* install the whole system into a virtual machine?
* use driver XYZ, which grabs that data?
* make certain settings to Windows?
* Other.
Thank you in advance.
Georg
Continue reading...
Intro:
I have a printer, which consists of two independent printing units (roll paper and flatbed printer) in one case and which is connected via _one_ parallel cable (famous IEEE 1284). OS=Win7 64 bits on an INTEL i5.
For different reasons I want to connect the printer not via an LPT1 port (as of today) but with a network print server (like TP-Link TL-PS-110P).
I setup this system: [PC] - network - [TP-Link] - [printer]. It works well.
I redirected the lpt via "net use LPT1: \\servername\lp1" and this also works, i.e. I can send data to LPT1 and it comes out of the printer. I can send data via LPT1 to the printer (roll paper) and it prints.
Now my problem. The application, which uses the printer, has two modules: One for the roll paper and another for the flatbed printer. If I do the above, the printing to the roll works fine. However, printing to the flatbed does not work, that application says "OpenDev() failed", which I could not assign as standard error message of any Windows API.
Therefore, my assumption is that that second module accesses the LPT ports directly, so that any redirection will not work.
My question:
Does anyone have an idea how to grab that data from the ports and redirect them to the network printer?
* install the whole system into a virtual machine?
* use driver XYZ, which grabs that data?
* make certain settings to Windows?
* Other.
Thank you in advance.
Georg
Continue reading...