05-02-2019 04:45 PM
I was using the subject vi to print simple text files. Now...it does nothing. Even if I open and run the vi as a standalone with "this is a test" in the 'text to be printed' field, it does nothing. From the file menu i can print the vi itself to the default printer, which is where my text should be going, but I don't even see anything on the printer spool when I run the vi standalone.
05-03-2019 01:28 AM
05-03-2019 07:58 AM
I'd love to test your code to see if perhaps your version of LabVIEW has failed, but you failed to provide us the means to help you -- attach your failing VI.
Bob Schor
05-03-2019 12:03 PM
with no entry there it should (and was) printing to the default printer. which as i said, is working as i can print the vi itself under the 'File' pull down menu.
05-03-2019 12:24 PM
@Bob_Schor wrote:
I'd love to test your code to see if perhaps your version of LabVIEW has failed, but you failed to provide us the means to help you -- attach your failing VI.
Bob Schor
Hi Bob.
Attached is a snippet. I tried adding the printer name, but without it it should print to the default printer, which is working. Even running the 'create easy text report.vi' (straight from the Report Generation menu produces nothing. The code saves the file to the specified file correctly. I have the printer que open and there is nothing on the spool. If I open the text file in notepad and print it works fine.
05-03-2019 01:05 PM
It occurs to me, the last time I confirmed this worked I was on 64bit and am now on 32bit
05-03-2019 01:35 PM
First time I tried it, it failed with an Error 7, as I had no folder called Test. Once I created the folder, it worked fine, printed "This is a test". I must confess I never thought of using the RGT as a "printer", but it does work.
Bob Schor
05-03-2019 04:02 PM
Thanks for trying. I assumed it would work. Still confused why it wont for me. May find another way to skin this cat.
@Bob_Schor wrote:
First time I tried it, it failed with an Error 7, as I had no folder called Test. Once I created the folder, it worked fine, printed "This is a test". I must confess I never thought of using the RGT as a "printer", but it does work.
Bob Schor