LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printer surveillance

Solved!
Go to solution

printer surveillance , how could i print then observe what is happening during printing process , like what percentage has been convered , Estimated printer time , percentage of colors , etc ...

 

Thanks in advance  

0 Kudos
Message 1 of 6
(2,726 Views)
Solution
Accepted by B4S3M

First you will need to be using a printer who's driver actually provides that information. If that is available, then you may be able to read those values from a API call to the operating system. There isn't anything in LabVIEW that does that directly and if the printer's driver doesn't provide the information to the OS then there isn't any way that I can think of to do it.

 

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 2 of 6
(2,710 Views)
Some printers have built-in web servers that provide this information. If yours is one that does then you can get this information that way. You could use http or I think DataSocket should work just as well.
0 Kudos
Message 3 of 6
(2,705 Views)
okay , i have another question , i now know how to upload an image to the Labview and allign it , i need to know how to have a print out of that picture through labview , i mean can i send a printing command to printer through the software ( labview ) , and will it respond to that ?
0 Kudos
Message 4 of 6
(2,690 Views)

What do you mean by "upload and image" and "align it"?

 

As far as "sending a file" to the printer, please do a search, as this question has been asked many times. You could, for instance, load the image into a picture control and then simply print the front panel. 

Message 5 of 6
(2,686 Views)

Here is an example that uses the .NET framework in LabVIEW to read and manipulate the print jobs. You may be able to use a similar interface to do what you want.

 

Programmatically Purge All Print Jobs on Local Printers

 

-Hunter

Message 6 of 6
(2,662 Views)