Options

Shell

hreinnhreinn Member Posts: 8
edited 2000-02-15 in Navision Financials
Hi, how do I call a dos program without a dos window popping up ?
And also I need to print a file,
but I always get some error messages while trying to call "type file.txt >lpt1" with SHELL, anyone had smiliar problems ?


Hreinn

Comments

  • Options
    DennisDennis Member Posts: 25
    Hi,

    IIRC, you cannot run a dosbased program without a dobox popping up. I think the best you can do is to create a shortcut to the dosprogram and set it to run minimized.

    About the printing. I think that this is a windowsrelated problem. You might want to try to set the printer to work with DOS aswell, but I don't know if that'll work.

    Dennis van Es
    PerCom: Research & Development BV
    The Netherlands
    Dennis van Es
    Qwinsoft BV
    The Netherlands
  • Options
    UrmasUrmas Member Posts: 76
    About printing

    You could use the method of copying a file to be printed to a file named 'C:\lpt1.txt'. On windows9x this will send the file directly to spcified port. If I remeber correctly, you can access the file even using Navision functions.
  • Options
    DennisDennis Member Posts: 25
    It will try to print the file, but if your using a network- or shared printer the error still occurs. Unless you capture the lpt1 port to the network/shared printer.

    Dennis van Es
    PerCom: Research & Development BV
    The Netherlands


    [This message has been edited by Dennis (edited 15-02-2000).]
    Dennis van Es
    Qwinsoft BV
    The Netherlands
Sign In or Register to comment.