Can't print to Epson TM-U590 Slip Printer from Report Generation Toolkit with LabVIEW 8.6.1

Hi all,
I have an application that uses the Report Generation Toolkit to print tickets to a docket printer.  Usually this works fine - I have 8 existing installations where there are no problems
I'm currently installing the software at a new site that uses an Epson TM-U590 slip printer and I can't for the life of me get printing to work
Using a Standard Report, the Print Report.vi returns error -41002 which indicates it can't find the printer.  I've opened up the VI using remote debugging and it does find the printer name correctly with the Query Available Printers.vi.  It gets an error code -2147352567 from the Printout node, which then gets replaced with the -41002 error which is reported.
For historical reasons I'm still using LabVIEW 8.6.1 for this project.  I'm considering moving to 2011 or 2012 but I've had reliability issues with other parts of the application after attempting to update to a newer LabVIEW version so I'd like to avoid that at this stage.
The application is running on a standard desktop PC with Windows 7.  The slip printer works fine if I print to it from Notepad, and my application is happy to print to any other printer, just not the slip printer.
The slip printer is using the LPT port.  Previously the docket printers I've used have been USB but I would expect the printer driver to hide this detail from the application...
Any ideas would be much appreciated
Cheers
Brett
Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion
Solved!
Go to Solution.

I've managed to sort out the problem, thanks to this KB article: http://digital.ni.com/public.nsf/allkb/67D60209102E2161862568AC0074BF64
I'm now having the same issue with a Star docket printer (a TUP592), this time with another program developed in LabVIEW 2011.
As mentioned in the article, the problem is actually to do with the margin settings rather than the printer name, despite what the error message says
After some experimentation, I've gotten the Star printer to work by setting a large (>14cm) right margin.  No idea why this is required as it seems to print right up to the right edge of the paper quite happily, but there you go.
So I haven't defintely fixed the original problem yet as I haven't gotten back to the site, but hopefully this will be of some help to someone else.
Cheers
Brett
Senior Software Development Engineer
Certified LabVIEW Architect and LabVIEW Champion

Similar Messages

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

  • Report Generation Toolkit - Prints data from a previous report in Word

    I am running an executable from the "system exec.vi" created with Labview 6.1. I am using the Report Generation toolkit vi's to create a report in Word that prints simple Title with test header and then appends a Table with measurement data. The problem is the measurement data in the table is from a previously printed report. This problem only exists when I Run the Report.exe from the "System Exec.vi". If I manually start the Report.exe in Windows or open in the Windows Commandline the correct data measurement data is printed in the report table. Any suggestions are appreciated. Thank You

    Hi,
    So far I havent been able to reproduce this on my computer. Could you post your code so that I can try and reproduce this issue?
    Feroz P
    National Instruments

  • Report Generation Toolkit, Print Excel Report, LabVIEW Crash

    Hello,
    when printing a report generated with the report generation toolkit for excel my build application crashes on our customers PC.
    When I run this application on my PC it works fine.
    The problem is the active X invoke node that trys to print the report but i cant get any error messages to find out where to locate the problem.
    Maybe that there is a problem with the active X node or the Excel Version on the customers PC?
    I use LabVIEW 2010 and Excel 2007 the customer has Excel 2003 SP 3.
    I changed the report to generate it in Word where the Print_Report.vi fine on both PCs. But in Word Report there is called another active X invoke node to print the Report. So it seems for me that there really is a problem with the Print in Excel active X invoke node.
    Mybe someon can help me in finding out whats the problem.
    Greetings Daniel.
    Solved!
    Go to Solution.

    Hi Daniel,
    your behavior has been reported by others. For example:
    Application Build Failure on Excel.Print Report call
    http://forums.ni.com/t5/LabVIEW/Application-Build-Failure-on-Excel-Print-Report-call/m-p/1563242
    Problem posted: 05-17-2011 02:19 PM
    Workaround posted: 06-01-2011 and later
    So their workaround was to use Excel 2007 or 2010 instead of 2003. Is this working for your customer?
    Best Regards,
    Jan

  • Report Generation Toolkit Print HTML Problem

    Hi,
    i have a problem printing a html Page at a Costumers PC with the Report Generation Toolkit.
    I use LV 2012 and the Report Generation Toolkit in 32Bit Mode.
    The Target is a Win7 64Bit Machine with IE10 of our Customer with very strong security rules.
    Our Programm generates a HTML Repor which is saved without any problem.
    When i then try to print it with Print Report.vi it doesent work and i get error1 out of the SubVi NI_ReportGenerationCore.lvlibrint HTML Report using IE.vi.
    This Sub.vi simply cant open the HTML Page with the IE.
    I think its the costumers Security Rules that cause the Problem.
    I saw a very strange behavior of the IE.
    When i double click the .html file the IE gets opened and displays the file properly.
    When i then hit the reload button it also gets reloaded.
    When i click in the browsers adress bar and hit enter (Which normaly does a reload) i get an error "Adress Bar, Adresse, access denied".
    And i think that happens in the Sub.vi.
    I talked to some friends an they sad it could be that double clicking and reloding is done with the local user an the clicking and hitting enter reload is maybe the systemuser.
    So i asume that the Sub.vi is also using the systemuser.
    How can i determin which user is used to execute a vi?
    Can i influence the user?
    Has anybody a solution and seen this problem?
    Regards,
    westgate

    If I understand your situation correctly, you are able to use the LabVIEW Report Generation Toolkit to create an HTML report, which you save as an HTML file.  Can you open it in a browser and print it using the browser's Print button?  I've use LabVIEW to generate HTML reports, but have never tried to print the Reports in LabVIEW -- I've always used the "browser route", myself.

  • Print number of pages with Report Generation toolkit

    I use the report generation toolkit and the Print Report.vi to print a table and some text extracted from a MS Access database. The result of this is a print out that takes up several pages.
    Now, on each page i want something like (Page x of y), and I do not want to buy more expensive NI packages for this simple thing. I know it should be possible since the Report Express vi can do it --- which for me is a useless vi.
    I do not consider it a nice solution to try and keep track of the number of pages myself by dividing the table into more tables and use the new page vi between each "page table". This I would not like to do since depending on paper size, font size, and length of text strings in each cell this will be virtually impossible.
    By moving into the Print Report.vi I've tried to see if I somehow can extract the info --- I've not found anything usefull but expect a workaround to possible.
    Any suggestions?
    Cheers,
    Martin

    Hi Skinny,
    There are some tokens you can use in the headers and footers of Standard Reports generated by the Report Generation VIs.  If you take a look at [LabVIEW]\examples\reports\TextReportExample.llb\Text Report Example.vi, you'll see that the right footer text of the report has the token <pagenofm>, which generates a footer of the form "1 of 10", to indicate page 1 out of 10 pages.  There's also another tag you can use, <page>, that just lists the page number itself without a total number of pages.  If you look at the help for the Set Report Header Text.vi or Set Report Footer Text.vi, you'll see a link in the help for all the different "tokens" you can use with the report header and footer.  Actually, now that I think about it, you can use these tokens anywhere in the report, including the body text.
    Good luck,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How can I create a Report with the Report Generation Toolkit?

    Hi,
    I have installed Labview Report Gerneration Tool for Microsoft Office Version 1.1 and now I want to use MS Office Report Express VI but it need the VI "Dflt Data Dir.vi". I don't have this on my computer, why? Where can I get this VI? Can somebody help me?
    thanks Labprog

    Hello Labprog
    This VI should be located in the file.llb in the folder
    ..\vi.lib\utility. Thus, it is not part of the report generation
    toolkit but of LabVIEW. I am not sure why you are missing that file on
    your PC, maybe you just did not find it because it is hidden in a LLB.
    Maybe this LLB is not part of your LabVIEW package (Base, FDS, PDS).
    Anyway, I'll attatch that little VI, hoping that this is the only one missing.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany
    Attachments:
    Dflt Data Dir.vi ‏11 KB

  • Can i open a existing report using a report generation toolkit

    Hello All,
    Suppose I create a new excel report today and close the program, Tomorrow I open the same program and instead of creating a new excel file, i need to update the test results data into the excel file which was created yesterday, is this possible.
    I am confused because there is no option called Open report in report generation toolkit, it just has create new report option.
    Probably NI Guys can work on this...sorry if it is a;lready existing?
    Is there any method to open a existing report?
    Pls help.....
    Thanks
    Solved!
    Go to Solution.

    Hi,
    I have a similar problem. I'd like to use Report Generation Toolkit to enter data into some cells in the active worksheet of the active workbook but it seems impossible?! The user has in beforehand opened the desireed workbook and activated the desired worksheet. I use the 'New Report' VI with the template input set as the path of the active workbook (some self-made ActiveX calls to get the path). When this VI is run, howevere, the excel file is sort of re-opened and another worksheet becomes the active one.
    I tried to make a customized copy of New Report.vi, New Report subVI.vi and Excel_Open_Workbook.vi so that the Report object works with the currently active workbook and worksheet, but I failed due to my lack of knowledge in LV classes and such things. It would've been an ugly solution anyway to have custom low-level VIs that does not follow when the RepGen Toolkit develops in the future.
    Best regards,
    Andreas Nilsson

  • I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    Try a search... I'm sure if you put forth a little effort you can find a solution that will work for you.

  • Can I align the orientatio​n of axis labels in a graph generated with the report generation toolkit (Word)?

    I was wondering how to align the axis labels, i.e. 90 degree or such when creating a graph with the report generation toolkit in word.
    I can do it after the document is created through Format axis title -> alignment but is there a way out of LabVIEW?
    I'd especially like to rotate the y-axis label by 90 degrees.
    Thanks a lot,
    Juergen

    I think he means he can modify it by hand after the report has been generated... But what I want to do is generate the word graph out of labview already with the rotated axis label...
    After I posted this I found out that we can do this with a macro and use it from labview, but unfortunately I don't know VB, or VBA...
    Like this:

  • Hi there, I have a 2009 Macbook - running on OS X V.10.6.8... but I'm looking at upgrading the Operating System to V.10.10. Will your latest version of LIghtroom (the one I can currently get a free one month trial of from your site) work with Apple's late

    Hi there, I have a 2009 Macbook - running on OS X V.10.6.8... but I'm looking at upgrading the Operating System to V.10.10. Will your latest version of LIghtroom (the one I can currently get a free one month trial of from your site) work with Apple's latest operating system - Yosemite V.10.10? Or will LR only work with V.10.7, 10.8 or 10.9?
    Thanks, Seamus

    Hey, problem solved. One of the drives was faulty. I erased the 2nd drive (which was showing up as the degraded raid slice), deleted the RAID set and restored the 2nd drive from a back-up disk image. After that, when I booted using 'option' I was presented with two boot disks but only one that worked. And when it did boot  up only the reformatted disk was showing in Diskutil so I'm guessing the second one is knackered. With it still in place the server still wouldn't boot up from a full shutdown, but the moment it was removed it booted up no probs. Wakes up from sleep as well so it seems sorted.
    So now just need to decide whether I'll bother with replacing the second drive or just use an external back-up. I have just bought a 1TB drive to back up to so will probably just go with that.
    Btw, is there anyway I can test the drive I removed to see if can be saved?
    Thanks for all your help. Your siamese twin comment was the push I need to erase the drive, I'd be holding off before that.
    Warren

  • Printing in Epson TMU 325 receipt printer

    Epson TMU 325 is a bidirectional printer that can endorse a check as well as print the receipt for a payment. Has anyone used this printer along with SAP? How have you achieved the bi-directional communication with this printer? I can imagine that we could probably use some print controls for printing the receipt. Can anyone throw some light on how to use this to endorse a check?

    Can I accomplish it with these tools?
    Possibly, but your tools will need to include a permanently installed Ethernet cable to connect the Time Capsule to your modem/router. Is that possible?
    If yes, there is still no guarantee that the printer will work with the USB port on the Time Capsule, so you would want to "test" this out using a short, spare Ethernet cable first to make sure that it will work....before....you pull the Ethernet cable.

  • Photoshop suddenly does not print to Epson 3880 - PROBLEM: Cannot print from Photoshop  After restart error message appears:  - "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopen

    PROBLEM: Cannot print from Photoshop
    After restart error message appears:
    — “There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents.”
    • All print commands are greyed out and unavailable — even to call up the printer commands cannot be done.
    The printer printed fine until about 2 weeks ago when this error message appeared.  Printing continues from Pages, I-photo, preview etc. —  only Photoshop fails.
    The printer has been turned on and off, as have open documents been closed and open etc..   Preferences reset.  Repeatedly I have read through blogs and forums and attempted to contact Adobe — all without results
    Epson support struggled to find reason and several solutions were tried and they assume this is an Adobe problem.
    Running Mac Powerbook X 10.10.2 / Photoshop CS6 13.0.6.x64
    Attempting unsuccessfully to print to Epson 3880
    What Adobe support will be of help.
    Robert Darling —  2/19, 20, 21,22,23/2015

    Probably best to ask in Photoshop General Discussion
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Problem printing to Epson FX 890 impact printer

    InDesign CS3 5.0.2
    Windows Vista 32-bit edition
    4G RAM
    Epson FX 890 Impact Printer
    I have an Epson 9 pin dot matrix printer installed which is used to fill in 4 part carbonless forms. I've used it for years with Pagemaker with no problem, but when I installed a new computer with Vista and InDesign there's a problem with the print quality.
    The characters look very grainy, like all of the pins are not hitting. It is a networked printer but is wired into the new computer. All other programs on the computer, including Pagemaker, print to it fine, and InDesign prints to a networked Canon laser and a hardwired Epson inkjet with no problem. I've tried different fonts and sizes and they all print grainy.
    I thought it might have something to do with the "Appearance of Black" settings under Preferences ie: 100K Black vs Rich Black but have not been able to affect it with the different settings there.
    Any help will be appreciated.

    The only Vista driver offered by Epson for this printer is for Vista 32 bit OS and that's the one I'm using. To print in PDF you would just save the finished document to PDF format and then open and print that document in Adobe Reader?

  • How can I Save and Load the Configurat​ion File of a VNA HP8510C with LabView

    Hello, I'm working with a HP8510C. In order to simplfy the use, I try to save and to load the configuration file. Actually, such files are saved in the HP8510C, but there is only 4 places to save. It will be more interresting when I can storage this file in the computer with Labview. I don't have found anything about in the Documentation.
    Has someone already deal with such a question?
    Géraud DEVOS
    IWE Karlsruhe

    geraudIWE a écrit:
    Hello, I'm working with a HP8510C. In order to simplfy the use, I try to save and to load the configuration file. Actually, such files are saved in the HP8510C, but there is only 4 places to save. It will be more interresting when I can storage this file in the computer with Labview. I don't have found anything about in the Documentation.
    Has someone already deal with such a question?
    Géraud DEVOS
    IWE Karlsruhe
    Hello GerauIWE,
    Have you try to use the Hewlett-Packard 8510C Instrument Driver?
    You can download it on :
    http://sine.ni.com/apps/we/niid_web_display.drv_re​sults?p_app_area=&p_man=hewlettPackard&p_keywords=​8510c&p_inst_type=&p_env=845&p_drv_type=&p_int=
    Best Regards,
    Sanaa T
    National Instruments France
    Sanaa T.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> http://www.nidays.fr/images/081110_ban_nidays09_468X60.gif

Maybe you are looking for

  • Gif not animating when on the Internet

    Hopefully some one can help as I have tried everything i can think of I have create a animation using Flash 8 I have exported this as a Animated gif to my computer. I can open the file and it animates fine on my pc. When i upload to myspace it does n

  • Importing files with same name but different extensions

    Hope I will be clear enough. Lets say that instead of sending a file from Lightroom to an external editor, I open it directly in Photoshop. When I'm done, I save the edited photo using the same name but in a different file format : IMG_1333.cr2 > IMG

  • Having problem starting server

    I am running into this problem starting server in weblogic 9.1, The server changes to RUNNING mode but throws this error after this . Here is stdout: C:\projects\config\ddev91>echo $Header: /u01/projects/cvs/omega/build/conf/weblogic/startwl.cmd,v 1.

  • Jinstall 1.3.1 crash on Win NT 4.0 with

    I created html file using converter from jdk1.3.1 . When jinstall starts downloading the JRE it crashes on Win NT 4.0 SP6 Thanks Leo Perlov

  • Spinning ball when playing from timeline

    I keep getting the spinning beachball when I try to play clips from the timeline. They play fine in the viewer. My clips were captured to LaCie HD (which still has 19 GB free) and nothing has changed from other projects that have worked in the past.