Re: How to get the current time in a specified time zone

2018-09-26 Thread Benedict, Tom via 4D_Tech
Pat Bensky writes: >The only thing I'm not sure about is how various time zones change in their >relationship to GMT (eg Summer Time etc.) For example if Country A is >normally on GMT -8 but they're currently on Summer Time so 7AM in that >time zone is CurrentHourGMT-8+1, how do we account for

RE: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Olivier, The example in the docs for the command PAGE SETUP is indeed kind of what I am talking about. But instead of having different forms with a scaling setting I have different page setup forms with a “paper size” setting (A3 portrait, A3 landscape), because also forms with a scaling

Re: How to get the current time in a specified time zone

2018-09-26 Thread Pat Bensky via 4D_Tech
After trying various complicated methods of calculating the different time zones, the final method was actually quite simple. I needed to set up an email-sending routine to send emails out at 7AM for each time zone. This is what I have. This is currently being tested :) Please feel free to point

AW: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Olivier Flury via 4D_Tech
Hi Piotr, I guess, you are doing what is described in the documentation for PAGE SETUP: http://doc.4d.com/4Dv16/4D/16.4/PAGE-SETUP.301-3978038.en.html The idea of "AUTOMATIC SCALED PRINTING" ? Am I correct, that the goal is to print a list scaled in order to fit on a "standard" size (e.g.

RE: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, Thanks for your anwer. Ok, I understand what you are saying, and in some cases I already use the SET PRINT OPTION command But when I want to print a report without interaction with the user, and I want to print it to a certain paper size, I can do two things I guess: 1. Use SET

Re: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Jeffrey Kain via 4D_Tech
It used to be that if you didn't call PAGE SETUP you'd end up with really weird and random print job settings, like copies etc.. You had to tie this command to the page setup information saved with the form with a reasonably similar printer. So it's no longer needed at all? -- Jeffrey

Re: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Keisuke Miyako via 4D_Tech
there should be no reason to use PAGE SETUP, although there is nothing wrong about using it. it's just a convenient shorthand that dates back to the times when 4D had far fewer commands. http://doc.4d.com/4Dv16/4D/16.2/Print-settings-to-BLOB.301-3432852.en.html

Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, I am working for over 20 years with 4D now, but still I am having troubles with printing reports on Windows / OSX On forehand I want to say it sure can be me that is the problem The most problematic is when I want to print a lot on a report and scaling comes in to play Because scaling