LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

print to a file as text

Greetings all. I am probably asking the impossible, but here goes anyway lol. I have just finished creating a VI that prints a report using the report VI's in Labview 7.1. No problem with that. It prints out all the data using the Append Table to Report VI. It uses the grids, Column Headers, and even varying columns (I modified the labview vi's for that). The report looks great and everyone is pleased. The data is printed from an array at the end of a test. The data is also saved at the end in .txt format. My question.... is there anyway to save the data exactly like it is printed in the report? Is it possible to print the report to a file also? If so, what type of format will it be in? I would think that Microsoft Word could read it properly with the columns and headers. It looks just like a Word table. Any ideas????
 
Regards,
Frank
0 Kudos
Message 1 of 8
(3,435 Views)

Hi Frank,

You can send your data to a PDF (adobe, PDF factory) or PS (Postscript) printer. This will save your printed data in a PDF or PS file.

Is this what you want to do?

 

0 Kudos
Message 2 of 8
(3,414 Views)
Yes, that is exactly what I am trying to do. I have tried to print it as a Postscript file but have had no luck. I installed Ghostscript but that didn't work. I do not have a pdf writer installed so not sure about that. How exactly do I print it to a file using postscript?
0 Kudos
Message 3 of 8
(3,401 Views)
Here you'll find the free Postscript printer
 
0 Kudos
Message 4 of 8
(3,396 Views)
No Luck. When I tried to install the driver I got a 16-bit subsystem error "Virtual Device Driver format in the registry is invalid"  No Joy in Mudville.....
0 Kudos
Message 5 of 8
(3,396 Views)

This printer driver should work on Windows versions. Works fine for me on XP and W2K. I assumed you are using Windows

Sure you used this one: http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500

0 Kudos
Message 6 of 8
(3,390 Views)
Yes.... I still have the download on my desktop. Do I need to have a particular printer installed? It talks about a PPD file for the specific printer you are using also. Not sure about that. Since I am printing to a file, I really don't understand it. I am using W2000 also. Its funny though, I tried to install a program called Cute PDF that allows you to create PDF files and had trouble with that also. This was a while back. It installed fine, but every time I tried to print to it, I ended up with a blank document. I am beginning to think that I either have a problem somewhere or I am missing a needed driver.
0 Kudos
Message 7 of 8
(3,384 Views)
PPD file is new for me. Never saw it.
Maybe you have reinstall your W2K. The driver should work. You don't have to have any printer installed. If you have no printer installed it works fine.
If you have a printer installed it can emulate this printer
0 Kudos
Message 8 of 8
(3,373 Views)