Hello Razzak! Thanks for the /p /h switches for Acrobat Reader. Now, if we could close Acrobat after the print job - is there syntax to do this within R:base - kinda like an 'un-launch' command?
Regards, Brad Davidson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak Memon Sent: Tuesday, June 29, 2004 9: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. ================================================

