annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

print txt/doc files

I have txt  file (file 16.jpg)
 
I print by prog that look like in 23.jpg
 
But my printed file is 31.jpg


Message Edited by Vaj on 07-31-2008 11:40 AM

Message Edited by Vaj on 07-31-2008 11:40 AM
Scarica tutti
0 Kudos
Messaggio 1 di 10
4.304Visualizzazioni
Hi Vaj,
the character length depends a little bit, so it could be that there are this changes. If you already use the Report Genereation Toolkit, then you can create a table, write your data to it and print the table, then you will get what you see.

Hope it helps.
Mike
Messaggio 2 di 10
4.291Visualizzazioni
The text file seems to be formatted using a mono-spaced font. This means you should print it that way as well. Converting the text into a table would require you to do a fair bit of parsing given the format of the text file, and even then you won't get what you want. You need to set the font prior to printing the report using the Set Report Font VI.
Messaggio 3 di 10
4.281Visualizzazioni

The txt file is bilded by labview and must stay *.txt/*.doc (demand from client)

When i open file by simple read func, file openend file is in another font (if i write in cuurier font) . The other font is Ariel.

Then i need to print this file, but printing file is automatic in Ariel font.  Why?

Why i can print simple txt file in font that this file saving?

If this can be done in labview? This is posibale to chose font of printing text?

0 Kudos
Messaggio 4 di 10
4.264Visualizzazioni

Hi Vaj,

see the attached example, please. It shows how you can set all necessary properties, to print it and to see it in LabView like in notepad.

Hope it helps.
Mike

Messaggio 5 di 10
4.260Visualizzazioni

Tnx to MikeS81 , your programm working great!!!!!

But i have last problem , the page border in word file is smaller then in print pages, so few rows of next page print in bottom of page.

If posible to solve this by VI or i must change creation file?

0 Kudos
Messaggio 6 di 10
4.242Visualizzazioni

Hi Vaj,

i´m not really understand. Do you have more pages now? You can change the Font size, maybe it helps. Do you use the "standard report" to print it, or do you create a word report?

Mike

0 Kudos
Messaggio 7 di 10
4.231Visualizzazioni
I ask about changing limit of page (margins) , but i solve this by using your programm. Tnx to all/
0 Kudos
Messaggio 8 di 10
4.198Visualizzazioni

I have one more question: I must print pictire , how i can bring together pictire and text?

0 Kudos
Messaggio 9 di 10
4.181Visualizzazioni
Hi Vaj,
there is a function with which you can insert pictures into your report (in LV7.1 it is "Append Image to Report"). Did you try it? Where do you have problems?

Mike
0 Kudos
Messaggio 10 di 10
4.173Visualizzazioni