Hi Razzak

Once you have created the PDF file I want to attach it to an e-mail.
I can put an e-mail button a form which is great but is there a way to
have an
attachment can appear in the e-mail without manually selecting it.
Is there a comand string I can use ? 


Thanks

Victor


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A.
Razzak Memon
Sent: Wednesday, 30 June 2004 3:28 AM
To: RBASE-L Mailing List
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. ================================================

Reply via email to