LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows/CVI printer errors

My print function would print on some printers and just freeze the application on some printers.

In some printers it would print from the IDE but once I create a Executable file and print from the executable file it would just freeze the application and do nothing.

Any help would be appreciated.

Thanking You,
Rann.
0 Kudos
Message 1 of 6
(3,687 Views)
Hi Rann,

There have been some reports of issues using certain brands of printers with CVI. The usual problem lies in the fact that CVI uses GDI (Graphical Device Interface) to communicate and send data to printers. Currently, many printer manufacturers have begun to go away from this technology or provide less support, and so the problem ends up being that communication is broken. Can you provide some more information about what your application does and what brand/kind of printer you are targeting? Also, does this problem occur when you bring your application to other machines? This way we can narrow down the problem to either being a system issue or an application issue. Thanks!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 6
(3,687 Views)
Hi Jeremy:

The application takes the data from a form(text box)
and sends it to a printer. This occured in multiple
computers too. It worked fine on HP Deskjet 600C.
But it had problems with EPSON STYLUS CX5400.

Even with the EPSON STYLUS CX5400 it worked fine when
I printed from the IDE(that is compile the application in CVI IDE). But once I make a exe file it does not print correctly from the executable file(It freezes and does nothing).

Thanking You,

Best Regards,
Rann.
0 Kudos
Message 3 of 6
(3,687 Views)
Hi Rann,

This is an interesting issue. I ran a small sample application that works on our company printers here. To determine if this is about your application or printer, can you post a sample application that reproduces your issue? I'll try that application here and see if it hangs my system or printer. We can then determine whether it's your application or just the printers you are attempting to use. Thanks for your cooperation!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 4 of 6
(3,687 Views)
Hi Jeremy:

I am attaching a sample application.

This application printed fine on a
"HP DeskJet 600C", "Lexmark C750" and "HP LasserJet 6P" printers.

But the program crashed or Froze up when I printed to
"EPSON STYLUS CX5400"

All of these printers where connected to the same computer(tried one after the other).

This application might print fine on some of your Company printer too. Please try it with multiple printers to reproduce the problem.

If you have any questions, please let me know.


Thanking You,


Best Regards,
RANN.
0 Kudos
Message 5 of 6
(3,687 Views)
Hi Rann,

I tried it on three printers that are networked in our office. All three were able to print without error. The three printers, however, are manufactured by the same company. I have a feeling that unless we can prove otherwise, this may be an issue with just specific printers. Can you try updating or reverting drivers to see if the drivers are causing problems as well?

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 6 of 6
(3,687 Views)