I have discovered that Print Preview is not appearing because my code is 
running ‘inside’ of OPEN PRINTING JOB, which requires that all printer setup, 
including Print Preview, be done prior to calling OPEN PRINTING JOB.

Tom

> On Jul 7, 2019, at 15:09, Tom Benedict <benedic...@comcast.net> wrote:
> 
> I’m trying to get a reliable print preview support in 4D Write Pro. This blog 
> posting https://blog.4d.com/4d-write-pro-wp-commands-and-beyond/ 
> <https://blog.4d.com/4d-write-pro-wp-commands-and-beyond/> says:
> 
>     "So 4D’s printing commands also apply to 4D Write Pro, such as SET PRINT 
> PREVIEW 
> <http://doc.4d.com/4Dv17R3/4D/17-R3/SET-PRINT-PREVIEW.301-3907437.en.html>."
> 
> The posting includes some code:
> 
>       ALL RECORDS([People])                                   
>       SET PRINT PREVIEW(True)  
>       OPEN PRINTING JOB
>       APPLY TO SELECTION([People];WP PRINT([WP_Samples]Sample))
>       CLOSE PRINTING JOB
> 
> But the I run it I don’t get a Print Preview. I’m wondering whether this 
> Print Preview is dependent on printer driver rather than something internal 
> to 4D?
> 
> 17R4 64bit
> 
> Tom Benedict
> 
> 

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