05-04-2010 03:24 PM
Sorry, reposting the question. Hit the wrong button on the forum.
OS is XP.
I have an old application that worked previously. I built a new executable and installer and installed on my target machine. This is a new machine but same brand and model motherboard as used before.
I used VISA with LPT1 as the resource name. I get back an error 1073807302.
The printer is working as evidenced by printing from Notepad. I installed the driver from XP. The printer is a Panasonic KXP1150. I need the tractor feed for this application.
Anyone have an idea where to start trouble shooting?
thanks,
Chris
Solved! Go to Solution.
05-04-2010 03:49 PM
05-04-2010 06:41 PM
Hi,
Thanks for the help. Still not working.
There must be a setting somewhere in LabView that I'm missing.
My development machine has no LPT ports. Could that have something to do with the problem?
Do I need to run MAX or other utility on the either the target or development machine?
Regards,
Chris
05-04-2010 06:49 PM
Here is the snippet of my code that is causing my consternation.
See attached.
Chris
05-04-2010 07:49 PM
ASRL10::INSTR seems to be working. I no longer get the message that the port is not open.
However, the VISA Write is not successfully writing to the printer. It throws an error message. 1073807302.
Regards,
Chris
05-04-2010 07:52 PM
One more bit:
I've tried every BIOS setting for the port:
Normal
Bi-Directional
ECP
EPP.
And I tried printing once more from Notepad. It works.
Chris
05-04-2010 10:48 PM
Hello,
When you say your development machine is not having LPT port then its sure that program is going to give an error.
First check in system device manager whether you have LPT port or not, Or goto NI-MAX in that goto devices and interfaces, and check whether you have Serial and Parallel ports. If no then your system doesn't have port but your program trying to find that port which does not exist,
05-04-2010 11:26 PM
Thanks for all the attention. I finally found an old version that worked, cut and pasted seemingly identical code into my new version. Magically it works!
Regards to the group.
Chris