Hi Hilsen

This works fine for us, we never preview (16 and currently 17r6, 18 and 18r2)

                        $longDocName:=$pathname+$docname
                        SET PRINT OPTION(Orientation option;1)
                        SET PRINT OPTION(Destination option;3;$longDocName)
                        WP PRINT([Lets]LetterObject)
                        $newpath:=Convert path system to POSIX($longDocName)
                        LAUNCH EXTERNAL PROCESS("open "+Char(Double 
quote)+$newpath+(Char(Double quote)))

Hope this helps

Steve
UKVD

On 14/04/2020, 10:31, "4D_Tech on behalf of 4dialog via 4D_Tech" 
<[email protected] on behalf of [email protected]> wrote:


    - On mac i normaly produce pdf documents via SET PRINT OPTION(9;3;$FileName)
    and then some print commands. But SET PRINT OPTION does not work when used
    with WP Print. No error, OK=1 but no pdf is created? Tested with 4d 16.6 and
    17.4.

    If i use SET PRINT PREVIEW(True) before WP Print, i get the WP document as
    PDF in Preview.

    Is it possible to print a 4d Write Pro document to a pdf file?




    -----
    Hilsen
    --------------------------------------
    Helge Antonsen
    www.4dialog.no 
    --
    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:[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]
**********************************************************************

Reply via email to