Karen, before you "finally" give up try it this way:
 
SET VAR vProg = 'c:\acrord32.exe'
SET VAR vParam = '/p /h c:\504209.pdf'
SET VAR vLaunch = (.vProg & '|' & .vParam)
LAUNCH &vLaunch
 
One other thing, are _sure_ that the parameters are in the right sequence?
I know nothing about Acrobat but my "logic" says the program might want to know the file before it needs to know it has to print it.
Presumably the "/p" is the instruction to print, but what's the "/h" for?
 
Good luck,
Regards,
Alastair.
 
 
----- Original Message -----
Sent: Friday, November 19, 2004 4:20 PM
Subject: [RBASE-L] - Gave up on the Launch


Well, I've just given up.  I tried Alastair's formation of the Launch
command, but his had no spaces in the directory hierarchy and
mine does.  

What I did was copy AcroRd32.exe to the c:\ directory and tried
the launch to see if the spaces in the directory names made a
difference, but it still doesn't print out.  In its simplest form, it looks
like:

LAUNCH 'c:\acrord32.exe|/p /h c:\504209.pdf'

No error message, but still no printing.  

Some people say to use Acrobat.exe instead of Acrord32.exe, so
I copied that to c:\ and also didn't work.

I tried Mike's .vbs script, changed it to use my directory of:
"C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"

Called it with:  launch 'printdoc.vbs|c:\504209-1.pdf'

Same thing, no error but no printing.  I'm thinking there's something
I'm missing to be able to print automatically from acrobat, period!

I'm going to tell the client this can't be done in 6.5++

Karen

Reply via email to