LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

print report file path in footer

The VI in the picture worked fine when I selected standard report (except that I couldn't save to file).  I changed to HTML and it moved my footer page number to the top of the page and put the path to the printing temp file on the bottom of the page.  Why?  All I did was change to HTML and add the save at the end.

Jim

LV 2020
0 Kudos
Message 1 of 7
(3,481 Views)
html pages don't have footers -- at least not in the usual sense of the term.

How were you wanting to save the standard report to a file? You could always print it to a PDF file.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 7
(3,463 Views)

Can you post your vi?

0 Kudos
Message 3 of 7
(3,440 Views)

Hey Mike,

 

It may not technically be a footer, but it appears at the bottom of the page, and the page number that should be the footer is at the top.  I originally used the exaprom pdf VIs to create the datasheet.  Late last year I had some problems that appeared to be related to those VIs (or the DLL).  I don't recall what the issue was, but I got it working.  Now the program is crashing on start up and I don't know why.  I am getting an access violation exception error.  I sent the dump files to NI, but in the mean time decided to try native NI VIs to accomplish the task.  Creating the report was working fine until I switched to HTML format so that I could save it.

Jim

LV 2020
0 Kudos
Message 4 of 7
(3,431 Views)
I've heard a few things about those VIs (mostly not good). What I was suggesting was a PDF print driver. I have used those for many years without issue.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 7
(3,419 Views)

That's a good idea, don't know why I didn't think to do that.  I have used them as well for when I wanted to send a document that couldn't be altered.  The exaprom VIs actually have some good document foratting features that are IMO better than the LV ones.  How do you give a print to pdf file a filename?

Jim

LV 2020
0 Kudos
Message 6 of 7
(3,412 Views)

It depends on the driver you use.

 

Some prompt you for a name, some can automatically build a name for you, some just show the PDF in a window and you save it manually.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 7 of 7
(3,404 Views)