Thanks Tim,

I’ll take a look at each of these options.  Much appreciated!

DKC

> On May 6, 2019, at 3:54 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> On May 6, 2019, at 2:00 PM, Doug Cottril wrote:
> 
>> Julio & all
>> 
>> That does indeed, work.  However, the SW_Hide parameter does not seem to 
>> suppress the print
>> dialogs.  Since I actually need to print multiple documents at once, the 
>> user does not want to
>> press the print button after every page (and there could be 50+ pages, so I 
>> don’t blame them)
>> 
>> I’ll read the docs a bit and the resource Chip posted, but if anyone has 
>> beat their head against
>> this wall before and either has a solution, or knows there isn’t one, I’d 
>> appreciate hearing
>> about it.
> 
> You appear to have several options:
> 
> PDFtoPrinter    http://www.columbia.edu/~em36/pdftoprinter.html  Have not 
> used it, just found it with Google.
> 
> Foxit Reader    https://www.foxitsoftware.com/pdf-reader/    Have not used 
> it, just found it with Google.
> 
> Acrobat Reader using “officially undocumented” command line interface.  This 
> is the one I built and used many years ago. Not sure if it still works in the 
> current version of Acrobat Reader. You will have to test it to see if it 
> still works.
> 
> Here is some sample code initially written back in 2007. Yikes!!  But you can 
> see it supports Acrobat Reader from version 5.0 to 10.0. But you will get the 
> docs on the command line parameters. (I found this doing Google searches long 
> time ago.)
> 
>  // ===========================================
>  // PROJECT METHOD: ExpenseReport_PrintReceipts
> 
>  // PARAMETERS: $1 = full path to PDF file to print
> 
>  // DESCRIPTION: Called form PrintExpenseReport method to print a PDF file
>  // of receipts.  
> 
>  // This method uses the partially documented -- and unsupported -- way of 
> getting
>  // Adobe Reader to print a PDF file without displaying print dialogs to the 
> user.
> 
>  // Command Line Parameters:
>  //      /p = displays the Print Dialog box  (but my testing shows it does 
> not always show dialog box)
>  //      /t = prints without dialog box (but you need to also include the 
> printer name parameter)
>  //      /n = Launches a separate instance of Acrobat or Adobe Reader, even 
> if one is currently open.
>  //      /s = Opens Acrobat or Adobe Reader, suppressing the splash screen.
>  //      /o = Opens Acrobat or Adobe Reader, suppressing the open file dialog.
>  //      /h = Opens Acrobat or Adobe Reader in a minimized window.
> 
<Snip>


**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to