Hi Miyako,

If you could provide some insight to the definition of $4 when printing
PDFs from Windows it would be great.I currently do it another way, but
would love to try this out to compare.

I'm assuming I could then do something like this?

C_LONGINT($err_l)
C_BLOB($pdf_x)
C_TEXT($printerName_t;$pDatatype_t)
$pDatatype_t := ???????
DOCUMENT TO BLOB($pathToPDF_t;$pdf_x)
PRINT BLOB ($printerName_t;$pdf_x;$err_l;$pDatatype_t)

Thanks,

Darin

On Thu, Nov 10, 2016 at 6:02 PM, Kirk Brooks <[email protected]> wrote:

> Hi Miyako,
> Thanks for this. It works great on MAC OS but I have been unable to figure
> out how to pass the correct parameter for the pDatatype that corresponds to
> PDF on the windows side. Or even what the PDF param would be...
>
> On Thu, Nov 10, 2016 at 10:55 AM, Keisuke Miyako <[email protected]>
> wrote:
>
> > https://github.com/miyako/4d-plugin-direct-print
> >
> > should allow you to do something like:
> >
> > PRINT BLOB(Get current printer;$PDF;$ERR;"application/pdf")
> >
> >
>
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to