Re: PDF generation on Windows - Latest Thinking

2018-09-17 Thread ADeeg via 4D_Tech
For everyone who wants to get small PDF files under 4D windows with the Win
10 PDF printer, but is not interested in purchasing our wonderful PDF plugin
with PDF printer, here is a code snip to reduce the size of PDF files with
the Ghostscript Plugin from Magic Miyako. 

We use it on macOS to reduce the file size of the mac PDFs

Case of 
: ($vl_quality<=20)
$vt_PDFMode:="screen"
: ($vl_quality<=40)
$vt_PDFMode:="ebook"
: ($vl_quality<=60)
$vt_PDFMode:="printer"
Else 
$vt_PDFMode:="prepress"
End case 

// Mac Code for 4D Ghostscript plugin from Magic Miyako
https://github.com/miyako/4d-plugin-gs

ARRAY TEXT($args;0)
APPEND TO ARRAY($args;"-dNOPAUSE")  //important, we can't interact with the
cli
APPEND TO ARRAY($args;"-dBATCH")
APPEND TO ARRAY($args;"-dQUIET")
APPEND TO ARRAY($args;"-sDEVICE=pdfwrite")
APPEND TO ARRAY($args;"-dCompatibilityLevel=1.7")
APPEND TO ARRAY($args;"-dPDFSETTINGS=/"+$vt_PDFMode)
APPEND TO ARRAY($args;"-sOutputFile="+Convert path system to
POSIX($vt_output_path))  //output
APPEND TO ARRAY($args;"-c")
APPEND TO ARRAY($args;".setpdfwrite")
APPEND TO ARRAY($args;"-f")
APPEND TO ARRAY($args;Convert path system to POSIX($vt_input_path))  //Input
GS ($args)


Armin 



4D Tech mailing list wrote
> Chuck,
> 
> the plugin price is listed here: http://www.node.de/indexplug.htm
> 
> The license is per developer. Buy it once and distribute your solutions to
> as many clients and servers as you like.
> 
> Regards Armin





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

RE: PDF generation on Windows - Latest Thinking

2018-09-14 Thread Daniel N. Solenthaler via 4D_Tech
Hi all,

we have been using Armin's PDF Plugin for years now and I can only recommend it.

Rock solid, no headaches. :-)

Daniel
dan...@solenthaler.com <mailto:dan...@solenthaler.com>

> Am 13.09.2018 um 20:17 schrieb 4d_tech-requ...@lists.4d.com 
> <mailto:4d_tech-requ...@lists.4d.com>:
> 
> Message: 3
> Date: Thu, 13 Sep 2018 07:10:54 -0700 (MST)
> From: ADeeg mailto:d...@node.de>>
> To: 4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
> Subject: RE: PDF generation on Windows - Latest Thinking
> Message-ID: <1536847854065-0.p...@n5.nabble.com 
> <mailto:1536847854065-0.p...@n5.nabble.com>>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi all,
> 
> if you need a stable rock solid solution to print pdf files on windows, have
> a look at our pdf plugin with pdf driver.
> 
> pdf printer driver and 32/64 Bit 4D plugin (v17 too ;-)
> no boring update messages
> much smaller pdfs than the win 10 built in driver
> add bookmarks
> add letter forms
> mail with ms outlook
> combine different print jobs to a single pdf with bookmarks and letterforms 
> 
> and much more features
> 
> free up your head, save time and use it for all windows plattforms
> Try it, integrate it, buy it and forget all the previous trouble with
> different solutions
> no annual fees
> 
> Link: http://www.node.de/indexplug.htm <http://www.node.de/indexplug.htm>
> 
> We use it in our own vertical market software and the plugin gets updates
> since 14 years
> 
> Regards Armin

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-14 Thread ADeeg via 4D_Tech
Chuck,

the plugin price is listed here: http://www.node.de/indexplug.htm

The license is per developer. Buy it once and distribute your solutions to
as many clients and servers as you like.


Regards Armin


4D Tech mailing list wrote
> Armin
> 
> Can advise pricing for developer and deployment in server environments
> 
> Thanks and regards
> 
> Chuck
> 
> On Thu, Sep 13, 2018 at 10:11 AM ADeeg via 4D_Tech <

> 4d_tech@.4d

>>
> wrote:





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Timothy Penner via 4D_Tech
> Discovered a couple of days ago that the Win10 printer creates huge pdf files 
> in comparison to pdfCreator.
> One report containing graph images is around 200KB from pdfCreator and is 
> over 8MB with Print to PDF.

This is a very interesting observation that I was previously unaware of (or 
forgot).

It seems that many people that use the Microsoft Print to PDF feature share the 
same view as you. The following page has an example of a PDF file that is saved 
as 411 Kb using PDFCreator and 3,148 KB using MS Print to PDF:
https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware-winpc/print-to-pdf-files-too-large/52000742-6092-428e-836a-9329d043468a

It is also talked about there:
https://answers.microsoft.com/en-us/edge/forum/edge_other-edge_win10/how-to-reduce-file-size-when-print-to-pdf/6dd3505d-9b2f-44c3-9902-af684dcdd5ac
https://answers.microsoft.com/en-us/windows/forum/windows_10-performance-winpc/why-are-files-printed-with-print-to-pdf-so-huge/6c140441-00c0-4302-b903-3527f2f725b2
https://superuser.com/questions/1151957/how-to-reduce-file-size-produced-by-microsoft-print-to-pdf

From looking over the posts online, it seems that Microsoft may not offer any 
form of compression on their PDF file, while PDFCreator and Adobe do.





**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Keith Goebel via 4D_Tech
We are using both pdfCreator and Win10’s “Print to PDF” printers - pdfCreator 
for pre-Win10 machines.
It switches according to the OS version.

Discovered a couple of days ago that the Win10 printer creates huge pdf files 
in comparison to pdfCreator.
One report containing graph images is around 200KB from pdfCreator and is over 
8MB with Print to PDF.
This report is sent as an attachment to an email created by 4D 
InternetCommands, and the large pdf will not send (error 10046 is given but 
it’s really because the attachment is too big).

We switched to using “Print to PDF” (where possible) when we suddenly started 
having problems with pdfCreator running in an RDP connection to the cloud that 
uses WinServer 2016 (both 4D v15.2 and v17).
Not sure why it started playing up but I though a simple switch to “Print to 
PDF” would solve the problems - except now we have the file size problem.
Hardly anything is ever straight forward...

BTW, print preview in v17 seems to have a problem as well when RDP access is 
used - it just doesn’t display anything after the print has finished (haven’t 
figured out why yet).
Cheers, Keith
**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Charles Miller via 4D_Tech
Armin

Can advise pricing for developer and deployment in server environments

Thanks and regards

Chuck

On Thu, Sep 13, 2018 at 10:11 AM ADeeg via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi all,
>
> if you need a stable rock solid solution to print pdf files on windows,
> have
> a look at our pdf plugin with pdf driver.
>
> pdf printer driver and 32/64 Bit 4D plugin (v17 too ;-)
> no boring update messages
> much smaller pdfs than the win 10 built in driver
> add bookmarks
> add letter forms
> mail with ms outlook
> combine different print jobs to a single pdf with bookmarks and
> letterforms
> 
> and much more features
>
> free up your head, save time and use it for all windows plattforms
> Try it, integrate it, buy it and forget all the previous trouble with
> different solutions
> no annual fees
>
> Link: http://www.node.de/indexplug.htm
>
> We use it in our own vertical market software and the plugin gets updates
> since 14 years
>
> Regards Armin
>
>
> Lutz wrote
> > I second the statement below. We did some testing with PDF Creator in the
> > Past and were not convinced. Especially we wanted to use it on the server
> > side,
> > creating PDFs for providing via the webserver.
> > First, it was not stable.
> > Second, we had to explain which software we want to install on the
> > customer's server and we are observed during the install process. And PDF
> > creator
> > showed a bit strange behavior, it didn't look like a professional
> software
> > at least
> > with the version 4D requires (1.7).
> > And last but not least, for any reason we leave an installation archive
> of
> > PDF creator on one of our developing servers and got recently an
> > information
> > From our inhouse IT department because a virus scanner detected it as
> > malware:
> >   Fileshare : \...\PDFCreator-1_7_3_setup.exe
> >   Malware Severity: Severe
> >   Category: Potentially Unwanted Software
> >
> > Hmm ...
> >
> > Regards
> > Lutz
>
>
>
>
>
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 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
> **

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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
**

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread ADeeg via 4D_Tech
Hi all,

if you need a stable rock solid solution to print pdf files on windows, have
a look at our pdf plugin with pdf driver.

pdf printer driver and 32/64 Bit 4D plugin (v17 too ;-)
no boring update messages
much smaller pdfs than the win 10 built in driver
add bookmarks
add letter forms
mail with ms outlook
combine different print jobs to a single pdf with bookmarks and letterforms 

and much more features

free up your head, save time and use it for all windows plattforms
Try it, integrate it, buy it and forget all the previous trouble with
different solutions
no annual fees

Link: http://www.node.de/indexplug.htm

We use it in our own vertical market software and the plugin gets updates
since 14 years

Regards Armin


Lutz wrote
> I second the statement below. We did some testing with PDF Creator in the
> Past and were not convinced. Especially we wanted to use it on the server
> side,
> creating PDFs for providing via the webserver.
> First, it was not stable.
> Second, we had to explain which software we want to install on the
> customer's server and we are observed during the install process. And PDF
> creator
> showed a bit strange behavior, it didn't look like a professional software
> at least
> with the version 4D requires (1.7).
> And last but not least, for any reason we leave an installation archive of
> PDF creator on one of our developing servers and got recently an
> information
> From our inhouse IT department because a virus scanner detected it as
> malware:
>   Fileshare : \...\PDFCreator-1_7_3_setup.exe
>   Malware Severity: Severe
>   Category: Potentially Unwanted Software
> 
> Hmm ...
> 
> Regards
> Lutz





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Kirk Brooks via 4D_Tech
I agree that PDF Creator is terrible on the server. I tried it briefly and
it was a headache. In addition to the points Lutz made doing any printing
Server side restricts you to a single print job at a time. That can become
a problem - you have to write your own print job que. Plus PDFC can throw
errors on the server and block operations with a dialog.

If you must use PDFC only allow it to run on a client machine so the user
can deal with issues. Of course then you have the issues of whatever OS the
user has.

When I finally switched to Rob Laveaux's QPDF plug in and build PDFs
strictly with code those sorts of problems stopped. It's more work than
making a 4D form but you can test it, debug it and control it in code and
aren't limited by the print engine in making multiple documents at the same
time.

On Thu, Sep 13, 2018 at 1:34 AM Epperlein, Lutz (agendo) via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I second the statement below. We did some testing with PDF Creator in the
> Past and were not convinced. Especially we wanted to use it on the server
> side,
> creating PDFs for providing via the webserver.
> First, it was not stable.
> Second, we had to explain which software we want to install on the
> customer's server and we are observed during the install process. And PDF
> creator
> showed a bit strange behavior, it didn't look like a professional software
> at least
> with the version 4D requires (1.7).
> And last but not least, for any reason we leave an installation archive of
> PDF creator on one of our developing servers and got recently an
> information
> From our inhouse IT department because a virus scanner detected it as
> malware:
> Fileshare : \...\PDFCreator-1_7_3_setup.exe
> Malware Severity: Severe
> Category: Potentially Unwanted Software
>
> Hmm ...
>
> Regards
> Lutz
>
> > There is a risk using a particular version of utility software that is
> not
> > being actively developed. There are a years of bug fixes and
> compatibility
> fixes that are
> > not there and there is always the risk that a future Windows or 4D update
> could break the
> > solution.
> >
> > With the strong focus on software security, audits of installed software
> > highlight software that is out of date or no longer receiving updates.
> PDF
> Creator
> > v1.7 would fall in to the category.
> **
> 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
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
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
**

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Epperlein, Lutz (agendo) via 4D_Tech
I second the statement below. We did some testing with PDF Creator in the
Past and were not convinced. Especially we wanted to use it on the server
side,
creating PDFs for providing via the webserver.
First, it was not stable.
Second, we had to explain which software we want to install on the
customer's server and we are observed during the install process. And PDF
creator
showed a bit strange behavior, it didn't look like a professional software
at least
with the version 4D requires (1.7).
And last but not least, for any reason we leave an installation archive of
PDF creator on one of our developing servers and got recently an information
From our inhouse IT department because a virus scanner detected it as
malware:
Fileshare : \...\PDFCreator-1_7_3_setup.exe
Malware Severity: Severe
Category: Potentially Unwanted Software

Hmm ...

Regards
Lutz

> There is a risk using a particular version of utility software that is not
> being actively developed. There are a years of bug fixes and compatibility
fixes that are
> not there and there is always the risk that a future Windows or 4D update
could break the
> solution.
>
> With the strong focus on software security, audits of installed software
> highlight software that is out of date or no longer receiving updates. PDF
Creator
> v1.7 would fall in to the category.
**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Dani Beaubien via 4D_Tech
There is a risk using a particular version of utility software that is not 
being actively developed. There are a years of bug fixes and compatibility 
fixes that are not there and there is always the risk that a future Windows or 
4D update could break the solution.

With the strong focus on software security, audits of installed software 
highlight software that is out of date or no longer receiving updates. PDF 
Creator v1.7 would fall in to the category.

Always something to consider as well.


> On Sep 12, 2018, at 2:00 PM, Peter Jakobsson via 4D_Tech 
> <4d_tech@lists.4d.com > wrote:
> 
> 
> 
>> On 12 Sep 2018, at 21:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com 
>> > wrote:
>> 
>> PDF Creator 1.7 works just fine on Windows 10. No problems. And it has many 
>> more configuration options than the built in Window 10 PDF driver. And it 
>> does not have a nuisance bug the Windows 10 driver has (see below). Now you 
>> have a choice. 
> 
> Very interesting and useful post - thanks !
> 
> The 4D code is configured to use PDF Creator 1.7 at the moment. It would be 
> good if I could just install PDF Creator on Windows 10 and have it work as 
> before without any code modifications. I think I will try this.
> 
> Peter
> 
> **
> 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 
> 
> **

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Peter Jakobsson via 4D_Tech


> On 12 Sep 2018, at 21:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> PDF Creator 1.7 works just fine on Windows 10. No problems. And it has many 
> more configuration options than the built in Window 10 PDF driver. And it 
> does not have a nuisance bug the Windows 10 driver has (see below). Now you 
> have a choice. 

Very interesting and useful post - thanks !

The 4D code is configured to use PDF Creator 1.7 at the moment. It would be 
good if I could just install PDF Creator on Windows 10 and have it work as 
before without any code modifications. I think I will try this.

Peter

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Tim Nevels via 4D_Tech
On Sep 12, 2018, at 2:00 PM, Kirk Brooks wrote:

> Win10 has a native PDF print engine like MacOS does. You can use it.
> I don't think PDFCreator 1.7 whatever will even run on Win10 (but you
> probably found that out).

PDF Creator 1.7 works just fine on Windows 10. No problems. And it has many 
more configuration options than the built in Window 10 PDF driver. And it does 
not have a nuisance bug the Windows 10 driver has (see below). Now you have a 
choice. 

But you MUST use PDF Creator 1.7 version. Version 2.x or 3.x absolutely will 
not work with 4D. So when you install version 1.7 be sure to turn off “check 
for updates” otherwise your users will get nagged to update — and when they do 
you’ll get a call that PDF printing has stopped working. You have been warned.

My advice is if you don’t need any of the configuration options of PDF Creator, 
dump it and go with the Windows 10 PDF driver so there is nothing to install. 

Also be aware that PDFs created by the Windows 10 PDF driver are much larger 
than the exact same PDF created on macOS or with PDF Creator. macOS makes the 
smallest PDFs of all 3. So if size matters, avoid Windows 10 PDF driver.

One critical issue/bug with the Windows 10 PDF driver is that it will fail to 
work if there is a comma “,” anywhere in the file path — folder name or file 
name — of where to save the PDF. Verified, confirmed and a big PITA for many as 
can be seen on the web via Google search. Hope Microsoft will fix this someday.

Example: you have a folder with the name “Nevels, Tim” that contains documents 
for me. Impossible to use Windows 10 PDF driver to create a PDF inside this 
folder. The comma kills it. And yes, commas are totally valid characters in 
file names and folder names on Windows and macOS. 

The workaround I implemented was to check the file path and if there is a 
comma, create the PDF in a temp directory on the drive first. Once the PDF is 
created, use MOVE DOCUMENT to place it in the “Nevels, Tim” folder. MOVE 
DOCUMENT has no problem with comma’s in file paths.

As you can probably guess I’ve done way too much PDF creation work using all 3 
of these solutions. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Tim Nevels via 4D_Tech
On Sep 12, 2018, at 2:00 PM, Koen Van Hooreweghe wrote:

> Sure it works. We use it with 4D v16 on Windows.
> 
> It is mentioned in the language reference: 
> http://doc.4d.com/4Dv16/4D/16.4/Integration-of-PDFCreator-driver-under-Windows.300-3978065.en.html
> But I think the example has a mistake. The second parameter of the SET PRINT 
> OPTION command should be 3 (=PDF) not 2.
> 
> I cannot test right away (I'm on Mac), but I saw in my code I put the command 
> with 2 in comment and I have this line with 3.

This is true. If you use PDF Creator you use the same setting as you do on 
macOS. But if you use the built in Windows 10 PDF driver you must use option 2. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Peter Jakobsson via 4D_Tech
Many thanks for the replies.

I’ll attempt to go with the native PDF engine.

Regards

Peter

> On 12 Sep 2018, at 15:19, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I think it does run on windows 10

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Chuck Miller via 4D_Tech
I think it does run on windows 10

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Sep 12, 2018, at 9:15 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Peter,
> Win10 has a native PDF print engine like MacOS does. You can use it.
> I don't think PDFCreator 1.7whatever will even run on Win10 (but you
> probably found that out).

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Koen Van Hooreweghe via 4D_Tech
Hi Chuck,

Sure it works. We use it with 4D v16 on Windows.

It is mentioned in the language reference: 
http://doc.4d.com/4Dv16/4D/16.4/Integration-of-PDFCreator-driver-under-Windows.300-3978065.en.html
But I think the example has a mistake. The second parameter of the SET PRINT 
OPTION command should be 3 (=PDF) not 2.

I cannot test right away (I'm on Mac), but I saw in my code I put the command 
with 2 in comment and I have this line with 3.

Kind regards,
Koen

> Op 12 sep. 2018, om 16:03 heeft Charles Miller via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> Are you stating this now works on windows 10. that would be great.I will
> have to write code to test for OS on windows, so I can continue to use PD
> creator on older machines
> 




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Charles Miller via 4D_Tech
Are you stating this now works on windows 10. that would be great.I will
have to write code to test for OS on windows, so I can continue to use PD
creator on older machines

Regards
Chuck

On Wed, Sep 12, 2018 at 9:27 AM Koen Van Hooreweghe via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Peter,
>
> IMHO 4D vs PDFCreator is end of life as recent versions of PDFCreator are
> not supported. We also switched to the native Windows 10 PDF driver.
> If you want to store your print documents directly to disk, you must set
> the path (as on macOS or with PDFCreator): SET PRINT OPTION(Destination
> option;3;$path)
>
> HTH
> Koen
>
> > Op 12 sep. 2018, om 13:06 heeft Peter Jakobsson via 4D_Tech <
> 4d_tech@lists.4d.com> het volgende geschreven:
> >
> > For years I used PDF creator to generate PDFs from 4D on Windows 7 -
> mainly because you didn’t have to type in a document title for every single
> page in a print run and this could be done from code. My customer has now
> upgraded to Windows 10 and it’s using the default PDF writer as I didn’t
> install creator. It works but it asks her to enter a title for each
> document instead of sending them all to disk directly.
> >
> > Is PDF Creator still the preferred option on Windows 10 ?
> >
> > Just wanted to see what people were using as their preferred choice.
> >
>
>
>
> 
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Knesselare
> Belgium
> tel +32 495 511.653
>
> **
> 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
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Koen Van Hooreweghe via 4D_Tech
Hi Peter,

IMHO 4D vs PDFCreator is end of life as recent versions of PDFCreator are not 
supported. We also switched to the native Windows 10 PDF driver.
If you want to store your print documents directly to disk, you must set the 
path (as on macOS or with PDFCreator): SET PRINT OPTION(Destination 
option;3;$path)

HTH
Koen

> Op 12 sep. 2018, om 13:06 heeft Peter Jakobsson via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> For years I used PDF creator to generate PDFs from 4D on Windows 7 - mainly 
> because you didn’t have to type in a document title for every single page in 
> a print run and this could be done from code. My customer has now upgraded to 
> Windows 10 and it’s using the default PDF writer as I didn’t install creator. 
> It works but it asks her to enter a title for each document instead of 
> sending them all to disk directly.
> 
> Is PDF Creator still the preferred option on Windows 10 ?
> 
> Just wanted to see what people were using as their preferred choice.
> 




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
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
**

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Kirk Brooks via 4D_Tech
Peter,
Win10 has a native PDF print engine like MacOS does. You can use it.
I don't think PDFCreator 1.7whatever will even run on Win10 (but you
probably found that out).

On Wed, Sep 12, 2018 at 4:06 AM Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi
>
> For years I used PDF creator to generate PDFs from 4D on Windows 7 -
> mainly because you didn’t have to type in a document title for every single
> page in a print run and this could be done from code. My customer has now
> upgraded to Windows 10 and it’s using the default PDF writer as I didn’t
> install creator. It works but it asks her to enter a title for each
> document instead of sending them all to disk directly.
>
> Is PDF Creator still the preferred option on Windows 10 ?
>
> Just wanted to see what people were using as their preferred choice.
>
> Many thanks in advance !
>
> Peter
>
> **
> 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
> **



-- 
Kirk Brooks
San Francisco, CA
===

*We go vote - they go home*
**
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
**