Karen,
 
Try building the LAUNCH command with variables. I don't remember what problem I had but I ended up doing this:
 
  SET VAR vLaunchProg   TEXT = NULL
  SET VAR vLaunchParams TEXT = NULL
  SET VAR vLaunch       TEXT = NULL
  SET VAR vLaunchProg   = 'c:\progra~1\irfanview\i_view32.exe'
  SET VAR vLaunchParams = +
    ('d:\almanac\_' + (sget( (ctxt(.vLastEdit)),3,1)) + '99\fle' + +
    (ctxt(.vLastEdit)) + '.snd/thumbs')
  SET VAR vLaunch = (.vLaunchProg & '|' & .vLaunchParams)
  LAUNCH .vLaunch
(vLaunchParams simply defined the sub-directory and the filename)
 
If your client is using double quotes in R:Base then using this method should avoid sending any quotes with the launch command as all you need to change above is the SET VAR commands.
 
 
Regards,
Alastair.
 
----- Original Message -----
Sent: Thursday, November 18, 2004 12:26 AM
Subject: [RBASE-L] - Re: LAUNCH command

MikeB & Troy:

Well, no matter which option I try, neither works here on 6.5++, build 1.866.

This client is still on double quotes, so I changed it to single to test this.

Mike's suggestion of (I put a space between the quotes here just so it is
clearer for everyone to see, didn't test it that way):
LAUNCH ' "C:\ProgramFiles\Adobe\Acrobat4\Acrobat\Acrobat.exe"|"/p /h C:\Temp\IllJoe.Pdf" '

had to be changed for my program:
LAUNCH ' "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"|"/p /h C:\504209-1.Pdf" '

I changed the Launch to a DIR, stripped out everything after .exe, and it does find my program.
Also the pdf file.  I don't get any error messages, but nothing goes to the printer either.


Troy's suggestion is:
Zip command /c  'C:\ProgramFiles\Adobe\Acrobat5.0\Reader\AcroRd32.exe|/p /h C:\Cust.pdf'

This is the same directory structure as mine, although I have a space between Acrobat 5.0
so I changed that; also changed the pdf file at the end.  Since I'm on XP, I replaced Command
with CMD.  It goes out to DOS but quickly comes back with no error message, but no printing.  
Tried all combos of CMD, CMD.EXE, COMMAND, COMMAND.COM, without /c....

Is there something I need to do on the Acrobat side to allow this printing?


Karen




Reply via email to