RE: v17 Print Settings in a form's Property List

2019-04-15 Thread David Ringsmuth via 4D_Tech
David,

4Dv17R4 has:

Print Settings to Blob
Blob to Print Settings
https://doc.4d.com/4Dv17R4/4D/17-R4/Print-settings-to-BLOB.301-4055206.en.html
https://doc.4d.com/4Dv17R4/4D/17-R4/BLOB-to-print-settings.301-4055236.en.html

These combined with the name of the report being printed, the printer name, and 
the current user name, should work to make saving and restoring settings for 
repeatedly printed reports.

David Ringsmuth

From: David Rose via 4D_Tech
Sent: Wednesday, April 10, 2019 10:16 AM
To: 4d_tech@lists.4d.com
Cc: David Rose
Subject: Re: v17 Print Settings in a form's Property List

So in a 64-bit environment, how do you save paper size, orientation etc. with a 
form, so that PAGE SETUP ([MyTable];"MyForm") will load those settings?

Message: 1
Date: Wed, 10 Apr 2019 05:11:01 +
From: Keisuke Miyako 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: v17 Print Settings in a form's Property List
Message-ID: 
Content-Type: text/plain; charset="utf-8"

I think this is the new (64-bit) behaviour for dialType:0

https://doc.4d.com/4Dv17/4D/17.1/PRINT-SETTINGS.301-4179613.en.html

that said, the Design Reference is a bit vague on this point

https://doc.4d.com/4Dv17/4D/17.1/Printing-a-form.300-4201214.en.html

"A Print Setup dialog box appears, which lets you modify the specific print 
settings of the form: paper format, orientation, etc. The options available in 
this standard dialog box depend on your system configuration. "

2019/04/10 11:31、David Rose via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール:

I'm running v17.1 in a Windows 10 client/server environment. In the Design 
environment, when I click on the Print Settings button in a form's Property 
List, I get a Print dialog, not the usual Print Settings (Page Setup) dialog.
Is that a bug or a feature?



**
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: v17 Print Settings in a form's Property List

2019-04-10 Thread Tim Nevels via 4D_Tech
On Apr 10, 2019, at 1:20 PM, David Rose wrote:

> So in a 64-bit environment, how do you save paper size, orientation etc. with 
> a form, so that PAGE SETUP ([MyTable];"MyForm") will load those settings?

You might consider abandoning PAGE SETUP and instead use the SET PRINT OPTION 
command. It can do the same thing as PAGE SETUP, but the added bonus is that it 
is cross platform. A saved PAGE SETUP done on macOS cannot reliably be used on 
Windows. 

https://doc.4d.com/4Dv17/4D/17.1/SET-PRINT-OPTION.301-4179600.en.html

To me PAGE SETUP is the “old way” of doing the things SET PRINT OPTION does 
now. 

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: v17 Print Settings in a form's Property List

2019-04-10 Thread Koen Van Hooreweghe via 4D_Tech
Hi David,

Use 'Settings' from the property list. Then in the Print dialog use 
'Preferences' button. You will be able to set orientation. Button 'Advanced...' 
will give you more options (like paper size) depending on the driver.

A bit of a hassle, I agree (and that is why I'm working on mac ;-). I tested in 
32 bits setting a certain form to A5 landscape en then checked in 64 bit, the 
settings were saved.

HTH
Koen

> Op 10 apr. 2019, om 17:16 heeft David Rose via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> So in a 64-bit environment, how do you save paper size, orientation etc. with 
> a form, so that PAGE SETUP ([MyTable];"MyForm") will load those settings?




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Aalter
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: v17 Print Settings in a form's Property List

2019-04-10 Thread David Rose via 4D_Tech
So in a 64-bit environment, how do you save paper size, orientation etc. with a 
form, so that PAGE SETUP ([MyTable];"MyForm") will load those settings?

Message: 1
Date: Wed, 10 Apr 2019 05:11:01 +
From: Keisuke Miyako 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: v17 Print Settings in a form's Property List
Message-ID: 
Content-Type: text/plain; charset="utf-8"

I think this is the new (64-bit) behaviour for dialType:0

https://doc.4d.com/4Dv17/4D/17.1/PRINT-SETTINGS.301-4179613.en.html

that said, the Design Reference is a bit vague on this point

https://doc.4d.com/4Dv17/4D/17.1/Printing-a-form.300-4201214.en.html

"A Print Setup dialog box appears, which lets you modify the specific print 
settings of the form: paper format, orientation, etc. The options available in 
this standard dialog box depend on your system configuration. "

2019/04/10 11:31、David Rose via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール:

I'm running v17.1 in a Windows 10 client/server environment. In the Design 
environment, when I click on the Print Settings button in a form's Property 
List, I get a Print dialog, not the usual Print Settings (Page Setup) dialog.
Is that a bug or a feature?



**
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: v17 Print Settings in a form's Property List

2019-04-10 Thread Koen Van Hooreweghe via 4D_Tech
Hi David,

AFAIK this is OS behavior difference between 32bit and 64bit. Just try any 
other 32bit or 64bit windows app and print. As far as those apps don't roll out 
their own print dialogs (like Word...)

HTH
Koen

> Op 10 apr. 2019, om 04:31 heeft David Rose via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> I'm running v17.1 in a Windows 10 client/server environment. In the Design 
> environment, when I click on the Print Settings button in a form's Property 
> List, I get a Print dialog, not the usual Print Settings (Page Setup) dialog.
> Is that a bug or a feature?



—
Koen Van Hooreweghe
—




**
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: v17 Print Settings in a form's Property List

2019-04-09 Thread Keisuke Miyako via 4D_Tech
I think this is the new (64-bit) behaviour for dialType:0

https://doc.4d.com/4Dv17/4D/17.1/PRINT-SETTINGS.301-4179613.en.html

that said, the Design Reference is a bit vague on this point

https://doc.4d.com/4Dv17/4D/17.1/Printing-a-form.300-4201214.en.html

"A Print Setup dialog box appears, which lets you modify the specific print 
settings of the form: paper format, orientation, etc. The options available in 
this standard dialog box depend on your system configuration. "

2019/04/10 11:31、David Rose via 4D_Tech 
<4d_tech@lists.4d.com>のメール:

I'm running v17.1 in a Windows 10 client/server environment. In the Design 
environment, when I click on the Print Settings button in a form's Property 
List, I get a Print dialog, not the usual Print Settings (Page Setup) dialog.
Is that a bug or a feature?



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