Re: Bar code

2020-02-22 Thread Pat Bensky via 4D_Tech
https://github.com/miyako/4d-plugin-zint On Sat, 22 Feb 2020 at 12:08, Pat Bensky wrote: > We use Miyako's Zint plugin. > Works well - currently using v17; haven't tried it with v18 yet. > Pat > > On Fri, 21 Feb 2020 at 16:47, Chuck Miller via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> >> Hi

Re: Bar code

2020-02-22 Thread Pat Bensky via 4D_Tech
We use Miyako's Zint plugin. Works well - currently using v17; haven't tried it with v18 yet. Pat On Fri, 21 Feb 2020 at 16:47, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi all. > > I had thought there was a tech note or something on how to draw bar codes > in 4D using bag area.

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
follow-up in general, methods (not formulae) that return a picture in VP sets the cell background image in PNG format. so it might not be a nested SVG problem. perhaps, it might be that the sheet to too complex for "convert to picture" (which comes with the precaution that it can only process

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
VP Convert to picture creates a simple SVG rendition of the document. if the barcode inside the cell is already SVG, you are looking at nested SVG, which is not supported in 4D. On Feb 22, 2020, at 7:35, kculotta via 4D_Tech <4d_tech@lists.4d.com> wrote: $pic:=VP

Re: Bar code

2020-02-21 Thread kculotta via 4D_Tech
Testing that - the barcode does not appear in the picture. $sheet:="ViewProArea" VP NEW DOCUMENT ($sheet) VP SET TEXT VALUE (VP Cell ($sheet;0;1);"BC123456") VP SET FORMULA (VP Cell ($sheet;0;0);"=BC_QRCODE(A2)") $obj:=VP Get value (VP Cell ($sheet;0;0)) $vpAreaObj:=VP Export to object

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
also based on said tech note (which was a v11 SVG update of an even older tech note that used 4D Chart) https://github.com/miyako/4d-component-barcode I changed to use monospaced font. I also adjusted the SVG shapes to be more crisp. heart of the code is the part that calculates the barcode

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
4D View Pro is implemented in a CEF web area. its functions are written in JavaScript. you can't invoke them without a running form. On Feb 22, 2020, at 4:23, kculotta via 4D_Tech <4d_tech@lists.4d.com> wrote: I am not familiar enough with View Pro not to ask, but

Re: Bar code

2020-02-21 Thread JasonH via 4D_Tech
I have Thomas Maul's old tech note from 2007 as a component. I've been using all these years without issue. I can email to you if you want. -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet

Re: Bar code

2020-02-21 Thread kculotta via 4D_Tech
; On Behalf Of kculotta via 4D_Tech > Sent: Friday, February 21, 2020 10:37 AM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: kculotta > Subject: Re: Bar code > > If anyone did download that example at http://cdinc.co/Updates/BC128.zip > <http://cdinc.co/Updat

RE: Bar code

2020-02-21 Thread Tai Bui via 4D_Tech
g Technical <4d_tech@lists.4d.com> Cc: kculotta Subject: Re: Bar code If anyone did download that example at http://cdinc.co/Updates/BC128.zip <http://cdinc.co/Updates/BC128.zip>, that last line of the BC128 method should read "$0:=pattern_toPic ($pattern)" Apologies, Keith

Re: Bar code

2020-02-21 Thread kculotta via 4D_Tech
If anyone did download that example at http://cdinc.co/Updates/BC128.zip , that last line of the BC128 method should read "$0:=pattern_toPic ($pattern)" Apologies, Keith > On Feb 21, 2020, at 10:47 AM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote:

RE: Bar code

2020-02-21 Thread Stephen J. Orth via 4D_Tech
Chuck, Why would you ever want to do this by yourself instead of using a great plugin like hmBarcode? Drawing bar codes makes no sense to me, and seems like a waste of developer time. Just my two-cents... Steve -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On

Re: Bar code

2020-02-21 Thread Lee Hinde via 4D_Tech
There's a plugin for that: https://www.hmplugins.com/en/hmBarcode/Features-133.html I haven't looked at Miyako's since he broke the plugin up. https://github.com/miyako/4d-plugin-qrencode

Re: Bar code

2020-02-21 Thread kculotta via 4D_Tech
I just got started on this to explore the same thing. If it helps... http://cdinc.co/Updates/BC128.zip There is a very good plugin for all kinds of barcode production at https://github.com/miyako/4d-plugin-barcode Keith > On Feb 21, 2020, at

Re: Bar code

2017-05-08 Thread stardata.info via 4D_Tech
I try this: $0:=ZINT ($1;ZINT_Format_PNG;BARCODE_CODE128;$optionNames;$optionValues;$textData) But i not have any image Thanks Ferdinando Il 08/05/2017 11:16, Spencer Hinsdale ha scritto: Try PNG. I think scaling does not work with SVG because of crisp edges. -Spencer On May 8, 2017, at

Re: Bar code

2017-05-08 Thread Spencer Hinsdale via 4D_Tech
Try PNG. I think scaling does not work with SVG because of crisp edges. -Spencer > On May 8, 2017, at 1:57 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hello, > > I try to use Picture:=Picture*,09 but not work because some part of bar code > are differents > > Thanks >

Re: Bar code

2017-05-08 Thread stardata.info via 4D_Tech
D iNug Technical<4d_tech@lists.4d.com> Subject: Re: Bar code Message-ID:<f5432c57-715c-4197-ae72-cb3336deb...@4d.com> Content-Type: text/plain; charset="utf-8" Hello, the plugin returns a regular picture (you have the choice between PNG and SVG) so you should be able to

Re: Bar code

2017-05-07 Thread Keisuke Miyako via 4D_Tech
Hello, the plugin returns a regular picture (you have the choice between PNG and SVG) so you should be able to use regular picture commands, such as PICTURE PROPERTIES, TRANSFORM PICTURE, or even picture operators. http://doc.4d.com/4Dv16R2/4D/16-R2.1620/PICTURE-PROPERTIES.301-3111814.en.html

Re: Bar code

2017-05-07 Thread stardata.info via 4D_Tech
t;4d_tech@lists.4d.com> Subject: RE: Bar code Message-ID:<d4921d7855b448399a658ca4e386a...@4d.com> Content-Type: text/plain; charset="utf-8" Code 128 is here: https://github.com/miyako/4d-plugin-zbar A few others that may be useful are: https://github.com/miyako/4d-plugin-zint

RE: Bar code

2017-05-04 Thread Timothy Penner via 4D_Tech
> I have seen these plug-in i have seen the 128 but not the interleaved 2 of 5. Actually, the zbar plugin lists"I25" which I think is "Interleaved 2 of 5": https://github.com/miyako/4d-plugin-zbar Quote: "@since 0.4: ISBN10, ISBN13, I25, CODE39" -Tim

RE: Bar code

2017-05-04 Thread stardata.info via 4D_Tech
D iNug Technical<4d_tech@lists.4d.com> Subject: RE: Bar code Message-ID:<d4921d7855b448399a658ca4e386a...@4d.com> Content-Type: text/plain; charset="utf-8" Code 128 is here: https://github.com/miyako/4d-plugin-zbar A few others that may be useful are: https://github.com/miyako/4d-pl

Re: Bar code

2017-05-03 Thread Kirk Brooks via 4D_Tech
Ferdinando, This looks interesting: https://serratus.github.io/quaggaJS/ Barcode reading with javascript and the camera on your phone or laptop. I downloaded it and was able to read barcodes with my laptop camera into input fields on a web page in the demo. Haven't played with putting it into a

RE: Bar code

2017-05-03 Thread Timothy Penner via 4D_Tech
Code 128 is here: https://github.com/miyako/4d-plugin-zbar A few others that may be useful are: https://github.com/miyako/4d-plugin-zint https://github.com/miyako/4d-plugin-qrencode https://github.com/miyako/4d-plugin-data-matrix -Tim

RE: Bar code

2017-05-03 Thread Timothy Penner via 4D_Tech
Does this help? https://github.com/miyako/4d-component-barcode -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: