Dear Razzak
my command file is:

SET QUOTES='
SET NULL -0-
SET MESS ON
SET ERR MESS ON
CLEAR VAR vVPDFFileName,vQuotes,vPrintString
SET VAR vPDFFileName TEXT = 'PROVA2.PDF'
SET VAR vQuotes TEXT = (CVAL('QUOTES'))
SET VAR vPrintString TEXT = NULL
SET VAR vPrintString = +
(.vQuotes+'C:\Programmi\Adobe\Acrobat 6.0\Reader\AcroRD32.exe|/p /h' +
& .vPDFFileName+.vQuotes)
LAUNCH &vPrintString
CLEAR VAR vPDFFileName,vMSG,vPrintYesNo,vPrintString,vQuotes
RETURN

The command file run OK (also by TRACE) but nothing is printed.....

at R> prompt if I do...LAUNCH PROVA2.PDF  that oper Acrobat reader and all
is normal...

What is wrong in my command file ?

TIA
Daniele

----- Original Message ----- 
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 2004 7:27 PM
Subject: [RBASE-L] - Re: file PDF to print - Razzak's Reply


>
> At 07:14 PM 6/29/2004 +0200, Daniele Barbieri wrote:
>
> >I'm using the last versione of R:BASE for Windows 6,5++
> >I wish to print a PDF file without any user action.
> >The command
> >  LAUNCH myfile.pdf
> >open Acrobat Reader and the user must press some keystrokes to print the
file.
> >There is a way to print the file on default windows printer without user
> >intervention ?
>
> Daniele,
>
> Try the following example:
>
> CLEAR VAR vPDFFileName,vQuotes,vPrintString,vQuotes
> SET VAR vPDFFileName TEXT = 'MyFile.PDF'
> SET VAR vQuotes TEXT = (CVAL('QUOTES'))
> SET VAR vPrintString TEXT = NULL
>
> SET VAR vPrintString = +
> (.vQuotes+'C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe|/p /h' +
>   &.vPDFFilename+.vQuotes)
>
>   -- If using Adobe Acrobat 6.0, change the directory to 6.0 in the string
> above
>
> LAUNCH &vPrintString
>
> CLEAR VAR vPDFFileName,vMsg,vPrintYesNo,vPrintString,vQuotes
> RETURN
>
> Enjoy and make sure to have fun!
>
> Very Best R:egards,
>
> Razzak.
>
> --- RBASE-L
> ================================================
> TO POST A MESSAGE TO ALL MEMBERS:
> Send a plain text email to [EMAIL PROTECTED]
>
> (Don't use any of these words as your Subject:
> INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
> REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message SUBJECT, put just one word: INTRO
> ================================================
> TO UNSUBSCRIBE:
> Send a plain text email to [EMAIL PROTECTED]
> In the message SUBJECT, put just one word: UNSUBSCRIBE
> ================================================
> TO SEARCH ARCHIVES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message SUBJECT, put just one word: SEARCH-n
> (where n is the number of days). In the message body,
> place any
> text to search for.
> ================================================
>
>

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [EMAIL PROTECTED]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================

Reply via email to