XAL Printing

Hello again

How do one call another application from within the XAL. I want to call a printing application with parameters from within XAL.

Can anyone help?

Thanks

Dino

  • If it is Windows program you're calling use (replace path with your path):
    Process #PROC_OS 'mode=winexec command="c:\printing\printprogram.exe"'

    If it is DOS program use:
    Process #PROC_OS 'mode=clear command="...


  • Thanks Orvar

    That helped me a lot, thanks.
    But now I would like to know if I can send parameters with the application call like "\printer.exe abcd 2345 iu34". I have tried but not been successful.


  • Hi, this should work:

    STR 15 &r = " c:\\1.xal"
    STR 100 &t = "command=c:\\progra~1\\intern~1\\iexplore.exe"

    #ADD(&t, &r)

    PROCESS 1 'mode=winexec \"' +&t + '\"'

    Orvar

  • Hey Orvar

    Thanks, that helped.

    Dino

Related
Recommended