Paper names also differ across different drivers on the same platform.  In 
64-bit Mac 4D, SET PRINT OPTION fails with an OK of 0 if you specify a paper 
name that doesn't exist on your current printer, so you either need to get an 
array of all the available paper types and write some code to figure out what 
you want, or specify height and width in pixels.

--
Jeffrey Kain
[email protected]




> On Jul 8, 2019, at 8:40 PM, Tim Nevels via 4D_Tech <[email protected]> 
> wrote:
> 
> Paper names can be an issue cross platform. I settled on using the “Paper 
> option” with 2 longint values for pixel width and pixel height. That works 
> cross platform for me. So 8.5” x 11” would be (8.5*72) or 612 and (11*72) or 
> 792. 

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