Re: Problem with ZINT Plugin

2017-10-17 Thread Keisuke Miyako via 4D_Tech
the plugin does not convert from SVG to PNG.

when PNG is specified as the output format, it directly draws the barcode using 
LIBPNG functions.

of course, the bars look practically the same.

but the numbers are bitmap, not text.

> 2017/10/18 4:05、Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> Are you saying that 4D’s SVG to PNG conversion is superior to the plugin’s 
> SVG to PNG conversion?




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-17 Thread John DeSoi via 4D_Tech

> On Oct 17, 2017, at 2:25 PM, Tom DeMeo via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If you want to build emails or edit different types of text files that are 
> kept server side, the Ace editor embedded in a web area is a better library 
> than Tiny MCE. They seem to be shooting for a web implementation of Sublime 
> Text. There are a ton of customizable features, and it’s nicely designed.

+1 for Ace, it is amazing what can be done in a web browser. I wrote a Postgres 
mode for it which makes it nice to work with Postgres from 4D. 

I looked into TinyMCE to replace 4D Write. There were some bugs I could not 
work around that made it rather ugly to do field references nicely. I ended up 
using Markdown in 4D styled text fields instead. Not as user friendly, seems to 
work well. It has other advantages in that a consistent style can be enforced 
across documents.

I also came across this today: ProseMirror, A toolkit for building rich-text 
editors on the web.

http://prosemirror.net

John DeSoi, Ph.D.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-17 Thread Tom DeMeo via 4D_Tech
Hi,


If you want to build emails or edit different types of text files that are kept 
server side, the Ace editor embedded in a web area is a better library than 
Tiny MCE. They seem to be shooting for a web implementation of Sublime Text. 
There are a ton of customizable features, and it’s nicely designed.

One advantage is that it isn’t that hard to implement the Active4D coding 
theme, which effectively provides a nice syntax highlighting/tokenization of 4D 
commands, as well as javascript, HTML and just about any other language you’d 
want. 


https://ace.c9.io/ 




Tom DeMeo
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Problem with ZINT Plugin

2017-10-17 Thread Tim Nevels via 4D_Tech
> On Oct 17, 2017, at 2:00 PM, Keisuke Miyako wrote:
> 
>> 2017/10/13 6:27、Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> Does anyone see anything wrong with this code:
>> $image_c:=ZINT 
>> ($barcode_t;ZINT_Format_PNG;BARCODE_CODE128;$optionNames_al;$optionValues_at;$textData_t)
> 
> the problem seems to be coming from a LIBPNG function failing on Windows.
> (you could have used the SVG option and convert to PNG with native 4D 
> commands, which results in superior image quality)

Thank you Miyako for fixing the problem. 

But why is the image quality superior if you first create an SVG and then 
convert to PNG. I need PNG image as the end result, so I thought why do the 
extra SVG step. 

Are you saying that 4D’s SVG to PNG conversion is superior to the plugin’s SVG 
to PNG conversion?

Tim


Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Anyone using 4D Write Pro with a semblance of success?

2017-10-17 Thread Timothy Penner via 4D_Tech
> doesn’t r4 have tables, ie columns?

Yes, it does -

Blog Title: 4D WRITE PRO SUPPORTS TABLES!
Blog URL: https://blog.4d.com/4d-write-pro-supports-tables/
Published: July 4, 2017

v16 R4 is available here:
http://www.4d.com/downloads/products.html

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: FORM SET OUTPUT -> project form

2017-10-17 Thread Koen Van Hooreweghe via 4D_Tech
Hi Pat,

FWIW, to preset the PRINT SETTINGS, you should use PAGE 
SETUP(“projectformname’).

HTH
Koen

> Op 17 okt. 2017, om 14:27 heeft Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> This was in a database that was updated from a previous version of 4D. I
> think that previously you called FORM SET OUTPUT to specify the default
> settings for the PRINT SETTINGS dialog - e.g. page orientation. But this
> isn't necessary any more.




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: FORM SET OUTPUT -> project form

2017-10-17 Thread Pat Bensky via 4D_Tech
This was in a database that was updated from a previous version of 4D. I
think that previously you called FORM SET OUTPUT to specify the default
settings for the PRINT SETTINGS dialog - e.g. page orientation. But this
isn't necessary any more.

Thanks!
Pat

On 16 October 2017 at 17:37, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> I think PRINT RECORD and PRINT SELECTION require a Table Form.  A project
> form is printed with PRINT FORM.
>
> Keith - CDI
>
> > On Oct 16, 2017, at 5:39 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Using v14:
> >
> > I get an error with
> >
> > *FORM SET OUTPUT*("ReportHeaderLandscape")
> >
> > ​"There is no table to apply the command to"
> >
> > So how do you set the output form for a project form?
> >
> > Pat
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Connect to MS Sql database

2017-10-17 Thread Two Way Communications via 4D_Tech
Have you tried BEGIN SQL .. END SQL? You can use variables or arrays this way.

Kind regards,

Rudy Mortier
Two Way Communications bvba 


> On 13 Oct 2017, at 19:33, STARDATA via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> The problem is that i have to put data into an associative array but sql
> execute doesn't seem to work. I've created a "User DSN" and i can connect to
> it trough the "External connection" window that appear if you leave the
> first SQL LOGIN parameter empty. After that i have an SQL EXECUTE that
> doesn't seem to work eventough the connection has been established.
> 
> Thanks for your attention and for your fast reply.
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-17 Thread Two Way Communications via 4D_Tech
I agree.

I would like to use 4D Write Pro to send e-mail messages. Although this will 
work perfectly to draft an email message from scratch, it will become a problem 
when you build an actual e-mail client in 4D. I have done this to have a 
tighter integration of emails with the database.

The problem starts when I want to forward an incoming e-mail message or reply 
to one. In that case, I want to include the incoming e-mail message, as is done 
in off-the-shelf e-mail apps like Apple Mail or outlook.

4D Write Pro cannot deal with this because it doesn’t support full HTML, so the 
incoming e-mail message’s content cannot be included in the forwarded e-mail 
message.
(especially if the incoming e-mail is HTML, which most of them are nowadays)

So I am still using Tiny MCE, in a web area. That way I can include a complete 
incoming HTML message, complete with graphics and formatting. But it is a lot 
of work to build that, and customization is cumbersome.

Regards,


Rudy Mortier
Two Way Communications bvba 

> On 16 Oct 2017, at 09:28, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We use it but only for creating templates not as a real wp. It works but its
> a mess. The html is only usable with write pro so what is the point ? Would
> have been much better off integrating libreoffice open document format.
> Paul
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Problem with ZINT Plugin

2017-10-17 Thread Keisuke Miyako via 4D_Tech

> 2017/10/13 6:27、Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Does anyone see anything wrong with this code:
> $image_c:=ZINT 
> ($barcode_t;ZINT_Format_PNG;BARCODE_CODE128;$optionNames_al;$optionValues_at;$textData_t)

Hello,

the problem seems to be coming from a LIBPNG function failing on Windows.
(you could have used the SVG option and convert to PNG with native 4D commands, 
which results in superior image quality)

anyhow, it's fixed now.

https://github.com/miyako/4d-plugin-zint

note that there is also a non-plugin solution

https://github.com/miyako/4d-component-barcode

Regards,

miyako



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**