Re: Printing forms modified with Duplicate Object

2019-03-14 Thread Alan Tilson via 4D_Tech
Actually adding OBJECT GET COORDINATES can make it a relative coordinate
situation, an offset from the original position, easy!
Alan

On Thu, Mar 14, 2019 at 10:55 AM Alan Tilson  wrote:

> This process works and is not as clunky as I'd imagined. Would be great if
> there was an offset option in the print object command but I can now print
> what I want to print!
> Thanks,
> Alan
>
> On Wed, Mar 13, 2019 at 2:51 PM Alan Tilson  wrote:
>
>> Miyako,
>> It looks like you just step through all the objects and offset and print
>> them, so I'm trying that...
>> Alan
>>
>> On Wed, Mar 13, 2019 at 1:16 PM Alan Tilson  wrote:
>>
>>> Hello Miyako,
>>> Ok, I'm back to this project.
>>> Thanks for the info and I'm working with the Print Object command,
>>> trying to anyway.
>>> But it doesn't print subforms...
>>> And you said I need 17R to convert an existing form to JSON...we're
>>> running 17.0.
>>> Any additional advice would be appreciated.
>>> I'll try check out your component db to see how you did the labels.
>>> Thanks,
>>> Alan
>>>
>>> On Wed, Mar 6, 2019 at 7:41 PM Keisuke Miyako via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>>
 have you looked into the "Print object" command?

 you don't need to duplicate an object,
 you can print the same object as many times as you like,
 at any position (decimal, not integer positioning)

 with 17R you can define an object (JSON) representation of a form from
 scratch,
 or take an existing form, convert to JSON and add or subtract objects.

 > 2019/03/07 7:40、Alan Tilson のメール:
 > Any ideas would be appreciated!




 **
 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: Printing forms modified with Duplicate Object

2019-03-14 Thread Alan Tilson via 4D_Tech
This process works and is not as clunky as I'd imagined. Would be great if
there was an offset option in the print object command but I can now print
what I want to print!
Thanks,
Alan

On Wed, Mar 13, 2019 at 2:51 PM Alan Tilson  wrote:

> Miyako,
> It looks like you just step through all the objects and offset and print
> them, so I'm trying that...
> Alan
>
> On Wed, Mar 13, 2019 at 1:16 PM Alan Tilson  wrote:
>
>> Hello Miyako,
>> Ok, I'm back to this project.
>> Thanks for the info and I'm working with the Print Object command, trying
>> to anyway.
>> But it doesn't print subforms...
>> And you said I need 17R to convert an existing form to JSON...we're
>> running 17.0.
>> Any additional advice would be appreciated.
>> I'll try check out your component db to see how you did the labels.
>> Thanks,
>> Alan
>>
>> On Wed, Mar 6, 2019 at 7:41 PM Keisuke Miyako via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>
>>> have you looked into the "Print object" command?
>>>
>>> you don't need to duplicate an object,
>>> you can print the same object as many times as you like,
>>> at any position (decimal, not integer positioning)
>>>
>>> with 17R you can define an object (JSON) representation of a form from
>>> scratch,
>>> or take an existing form, convert to JSON and add or subtract objects.
>>>
>>> > 2019/03/07 7:40、Alan Tilson のメール:
>>> > Any ideas would be appreciated!
>>>
>>>
>>>
>>>
>>> **
>>> 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: Printing forms modified with Duplicate Object

2019-03-13 Thread Alan Tilson via 4D_Tech
Miyako,
It looks like you just step through all the objects and offset and print
them, so I'm trying that...
Alan

On Wed, Mar 13, 2019 at 1:16 PM Alan Tilson  wrote:

> Hello Miyako,
> Ok, I'm back to this project.
> Thanks for the info and I'm working with the Print Object command, trying
> to anyway.
> But it doesn't print subforms...
> And you said I need 17R to convert an existing form to JSON...we're
> running 17.0.
> Any additional advice would be appreciated.
> I'll try check out your component db to see how you did the labels.
> Thanks,
> Alan
>
> On Wed, Mar 6, 2019 at 7:41 PM Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> have you looked into the "Print object" command?
>>
>> you don't need to duplicate an object,
>> you can print the same object as many times as you like,
>> at any position (decimal, not integer positioning)
>>
>> with 17R you can define an object (JSON) representation of a form from
>> scratch,
>> or take an existing form, convert to JSON and add or subtract objects.
>>
>> > 2019/03/07 7:40、Alan Tilson のメール:
>> > Any ideas would be appreciated!
>>
>>
>>
>>
>> **
>> 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: Printing forms modified with Duplicate Object

2019-03-13 Thread Alan Tilson via 4D_Tech
Hello Miyako,
Ok, I'm back to this project.
Thanks for the info and I'm working with the Print Object command, trying
to anyway.
But it doesn't print subforms...
And you said I need 17R to convert an existing form to JSON...we're running
17.0.
Any additional advice would be appreciated.
I'll try check out your component db to see how you did the labels.
Thanks,
Alan

On Wed, Mar 6, 2019 at 7:41 PM Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> have you looked into the "Print object" command?
>
> you don't need to duplicate an object,
> you can print the same object as many times as you like,
> at any position (decimal, not integer positioning)
>
> with 17R you can define an object (JSON) representation of a form from
> scratch,
> or take an existing form, convert to JSON and add or subtract objects.
>
> > 2019/03/07 7:40、Alan Tilson のメール:
> > Any ideas would be appreciated!
>
>
>
>
> **
> 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: Printing forms modified with Duplicate Object

2019-03-07 Thread Arnaud de Montard via 4D_Tech

> Le 7 mars 2019 à 15:48, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> [...]
> it was useful, because the old label editor could only position objects in 
> mac points (1/72 of an inch)
> 
> but I see that the doc says C_LONGINT.
> 
> https://doc.4d.com/4Dv17/4D/17.1/Print-object.301-4179612.en.html
> 
> B <== Print object : 27 : ( * ; a ) | Y ; L' ; L' ; L' ; L'
> 
> so I seems like I was wrong.

I've noticed the same, I suppose the command rounds the value if it has 
decimals. It was nice anyway to use real numbers and let the command do the 
rounding job. And once printed, a pixel is small (~0.35mm)… 

Strangely I've noticed that GET MOUSE(x;y;b) returns x & y as real numbers: 
something to do with retina? Else?

-- 
Arnaud de Montard 




**
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: Printing forms modified with Duplicate Object

2019-03-07 Thread Keisuke Miyako via 4D_Tech
that has been my experience,
in particular when I wrote my own label editor.

https://github.com/miyako/4d-component-label-editor

it was useful, because the old label editor could only position objects in mac 
points (1/72 of an inch)

but I see that the doc says C_LONGINT.

https://doc.4d.com/4Dv17/4D/17.1/Print-object.301-4179612.en.html

B <== Print object : 27 : ( * ; a ) | Y ; L' ; L' ; L' ; L'

so I seems like I was wrong.

> 2019/03/07 22:28、Jeremy French のメール:
> Can we use real values for positioning and width/height with the "Print 
> object" command?




**
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: Printing forms modified with Duplicate Object

2019-03-07 Thread Jeremy French via 4D_Tech
Can we use real values for positioning and width/height with the "Print object" 
command?


> On Mar 6, 2019, at 7:41 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> have you looked into the "Print object" command?
> 
> you can print … at any position (decimal, not integer positioning)

**
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: Printing forms modified with Duplicate Object

2019-03-06 Thread Keisuke Miyako via 4D_Tech
have you looked into the "Print object" command?

you don't need to duplicate an object,
you can print the same object as many times as you like,
at any position (decimal, not integer positioning)

with 17R you can define an object (JSON) representation of a form from scratch,
or take an existing form, convert to JSON and add or subtract objects.

> 2019/03/07 7:40、Alan Tilson のメール:
> Any ideas would be appreciated!




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