Re: Printing forms modified with Duplicate Object
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
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
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
> 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
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
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
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 **
Printing forms modified with Duplicate Object
Hello everyone, Since page subforms cannot be printed I'm attempting to dynamically generate a form by duplicating object, which is working, but this also seems to be unprintable? The changes aren't saved to the form and using DUPLICATE OBJECT in the form method during On Load generates an error message indication this command cannot be used during printing. I suppose I can create copies of my geom and vars outside the printable area and move them as required during printing. Or just hide the ones I don't need, but there are 2 different layouts that I want to use wherever they're called for. Any ideas would be appreciated! Alan On Tue, Mar 5, 2019 at 8:11 AM Alan Tilson wrote: > Miyako, > Sorry for a bit of a rant at 4d... > I suppose I'll try working with hundreds of form objects rather than 40 or > 50 page forms... > Should work but if there is something better using Load Form, etc, I'd > love to hear more. > Thanks again, > Alan > > On Mon, Mar 4, 2019 at 9:06 PM Alan Tilson wrote: > >> Hello Miyako, >> >> That is shocking and undocumented as far as I can tell. And expensive for >> us since we have invested quite a few hours into this approach. >> >> So is it possible to print a form full of page forms using FORM Load and >> Print Object? If yes, is there an example somewhere? >> >> Thanks a bunch for letting me know but it is very strange to have such a >> cool feature and not be able to print it! >> >> Cheers, Alan >> >> On Mon, Mar 4, 2019 at 4:28 PM Keisuke Miyako via 4D_Tech < >> 4d_tech@lists.4d.com> wrote: >> >>> printing is not supported for page subforms. >>> it's as simple as that. >>> >>> the only way to "print" a page subform is to FORM LOAD and Print object. >>> >>> I don't understand how 4D picks the table for the page subforms, but it >>> uses the same output form as before! >>> >>> >>> >>> ** >>> 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 **