Options

Report File Format

langlang Member Posts: 27
hey guys!

which file format is used by navision reports? is it xml or an specific microsoft format?

I need this information cause i want to edit the report "source code" before it arrives at a printer but after i started to print it. with other words it means that i like to modify the printer data stream (i will use a special software, so don't think about that point).

Thanks for your help!

Comments

  • Options
    krikikriki Member, Moderator Posts: 9,090
    Well, Navision uses the standard Windows drivers to print. So I suppose Navision uses the same fileformat as other programs.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    langlang Member Posts: 27
    so navision sends ASCII Code to my printer??
  • Options
    krikikriki Member, Moderator Posts: 9,090
    I think it depends on the printerdriver.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    langlang Member Posts: 27
    but navision formats independent from the printer driver.
    perhaps it may be controlled by the comdlg32.ocx and is then sent via the printer drivers to a printer.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    lang wrote:
    but navision formats independent from the printer driver.
    perhaps it may be controlled by the comdlg32.ocx and is then sent via the printer drivers to a printer.
    I suppose Navision has a format that it uses in Navision, but when it sends info to the printerdriver, I think it will be the Windows-standard.

    But why do you want to "edit the report "source code" before it arrives at a printer"?
    Maybe it is possible to solve your problem in another way. This because I see only 1 possibility to edit it : When the printerselection comes up, save it to disk, edit it and then send the file to the printer. But on how to understand something about the file. Only if it is a generic printer it is possible.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    langlang Member Posts: 27
    i only need to know which data stream format is created by a navision report.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    lang wrote:
    i only need to know which data stream format is created by a navision report.
    I don't know that, but I don't know either where you want to intercept that data stream.
    The only place you can do that is in Windows.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    matteo_montanarimatteo_montanari Member Posts: 189
    lang wrote:
    i only need to know which data stream format is created by a navision report.

    If Navision call gdi function like line, circle, point, etc to draw to the printer canvas, there isn't a stream format to read...

    You can try some emf printer driver.... navision print, you can read a documentated file format... boh... it's an idea...

    Matteo
    Reno Sistemi Navision Developer
Sign In or Register to comment.