Print to .txt file

eddiebeddieb Member Posts: 9
Can anybody tell me if I can print an invoice report to a txt file, with no formatting?

Comments

  • 2tje2tje Member Posts: 80
    Yes, it is.
    But you have to program it!
    For a Invoice this can be quite a lot of work, if you want all the header details, footers, totals and VAT info to be exported.
    Let me know if you want a simple example.
  • girish.joshigirish.joshi Member Posts: 407
    It really depends on what you mean by "No formatting". If you literally just wanted the field data, you could dataport it out.

    Actually, even if you do want formatting this can be a good solution.

    Here's the idea -- you create a fixed field dataport with Sales Header and linked Sales Item. Your column headers can be printed creating them in the appropriate trigger.

    If you just want the data as a text file, and you don't really care about how its encoded, there is always the save as html option.
  • Alex_ChowAlex_Chow Member Posts: 5,063
    eddieb wrote:
    Can anybody tell me if I can print an invoice report to a txt file, with no formatting?

    Like Ztje said, you need to program it.

    There are demos on how to use Excel automation on the Download section. Perhaps, you can start from there?
  • SagaSaga Member Posts: 15
    Can you (install and) use the printer "Generic / Text Only"? Manufacturer "Standard"?
    And select print to file...

    I used this, years ago - and not with Navision, several times and it is really easy ;-)

    Regards
    Saga
Sign In or Register to comment.