On Apr 3, 2020, at 11:49 AM, Steve wrote: > The following code has been working really well, much faster than the old IC > methods, but from today the PDFs are arriving corrupted if sent from a MAC > client, but not from a PC client. We have not used PC clients before, but > because of bandwidth issues I have just set one up as a RDC client for one > worker stuck at the end of a very long telephone line in the hills. Has using > these commands on the PC inadvertently changed a default on the MAC. We use a > MAC server and I am feeling bamboozled. The code is pretty vanilla from the > reference. We use default encoding. > > Any suggestions most welcome > > Thanks and hope you and yours are staying safe
Not sure I’m clear on the environment you were operating in and the one that is now delivering corrupted PDFs. Can you clarify. Original Environment: ----------------------------- Program creating the PDF: 4D or what? OS creating the PDF: macOS or Windows Printer driver used: macOS built in, Microsoft Print to PDF or PDF Creator 1.7.3 OS 4D is running on that sends the email with PDF: macOS or Windows 4D Version sending the PDF via email: 17r6 or ? New Environment (that results in corrupt PDFs received via email): --------------------------------------------------------------------------------------- Program creating the PDF: OS creating the PDF: Printer driver used: OS 4D is running on that sends the email with PDF: 4D Version sending the PDF via email: Fill in the above blanks so we know exactly what changed. A change to any one of these could case a PDF problem — particularly when you mix macOS and Windows. I have dealt with a case where using certain versions of Microsoft Print to PDF driver in Windows 10 will create a PDF that will not open with Acrobat Reader on Windows 10, but it opens fine on macOS. Exact same code and 4D version running on a different Windows 10 machine with a different version of Microsoft Print to PDF driver did not have the problem. Tim ***************************************** Tim Nevels Innovative Solutions 785-749-3444 [email protected] ***************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

