Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

IOT trap -- core dumped


devel / comp.lang.xharbour / HBZEBRA CODEBAR ITF-14

SubjectAuthor
* HBZEBRA CODEBAR ITF-14Anderson Cardoso
`- Re: HBZEBRA CODEBAR ITF-14Patrick Mast

1
HBZEBRA CODEBAR ITF-14

<ef978c29-8098-44ef-ad32-b22fa423cc7cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17391&group=comp.lang.xharbour#17391

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:d96:b0:74e:9036:34f3 with SMTP id q22-20020a05620a0d9600b0074e903634f3mr140460qkl.15.1683220709664;
Thu, 04 May 2023 10:18:29 -0700 (PDT)
X-Received: by 2002:a9d:6e0b:0:b0:6a9:5060:6e13 with SMTP id
e11-20020a9d6e0b000000b006a950606e13mr204115otr.3.1683220709194; Thu, 04 May
2023 10:18:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 4 May 2023 10:18:28 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=206.42.32.40; posting-account=vXb10QoAAACtql4X4XBjGCZA6sGzs_sw
NNTP-Posting-Host: 206.42.32.40
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ef978c29-8098-44ef-ad32-b22fa423cc7cn@googlegroups.com>
Subject: HBZEBRA CODEBAR ITF-14
From: acardososilva@gmail.com (Anderson Cardoso)
Injection-Date: Thu, 04 May 2023 17:18:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1633
 by: Anderson Cardoso - Thu, 4 May 2023 17:18 UTC

Does anybody use hbzebra to print brazilian bills barcode type ITF-14?

hZebra := hb_zebra_create_itf( cCode, nFlags )

If I use nFlags := HB_ZEBRA_FLAG_WIDE2_5 the barcode become giant and exceeds the sheet.

My draw code is this:
hb_zebra_draw( hZebra, {| x, y, w, h | hDC:FillRect(Int( x + .5 ), Int( y + .5 ),;
Int( x + .5 ) + Int( w ), Int( y + .5 ) + Int( h ) + 1, HB_WIN_RGB_BLACK) },;
nX, nY, nLineWidth * nZOOM, ((nLineHeight * _SCALE_) * nZOOM) * nALTURA )

Where scale is 7.2 and nZoom and nAltura is 1. nAltura is used make barcode taller.
I´m using win32prn()

Re: HBZEBRA CODEBAR ITF-14

<1d098c4b-c7f2-4278-a258-2fbae8e33762n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17408&group=comp.lang.xharbour#17408

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:7dd1:0:b0:3e6:3806:70e3 with SMTP id c17-20020ac87dd1000000b003e6380670e3mr9197805qte.8.1683999197513;
Sat, 13 May 2023 10:33:17 -0700 (PDT)
X-Received: by 2002:a05:6808:1252:b0:395:f141:caa9 with SMTP id
o18-20020a056808125200b00395f141caa9mr160612oiv.8.1683999197019; Sat, 13 May
2023 10:33:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sat, 13 May 2023 10:33:16 -0700 (PDT)
In-Reply-To: <ef978c29-8098-44ef-ad32-b22fa423cc7cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.222.67; posting-account=SddXwAoAAABx9OS6hriO-DsnYJCixXxm
NNTP-Posting-Host: 81.82.222.67
References: <ef978c29-8098-44ef-ad32-b22fa423cc7cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d098c4b-c7f2-4278-a258-2fbae8e33762n@googlegroups.com>
Subject: Re: HBZEBRA CODEBAR ITF-14
From: patrick.mast@winfakt.com (Patrick Mast)
Injection-Date: Sat, 13 May 2023 17:33:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3375
 by: Patrick Mast - Sat, 13 May 2023 17:33 UTC

On Thursday, May 4, 2023 at 7:18:30 PM UTC+2, Anderson Cardoso wrote:
> Does anybody use hbzebra to print brazilian bills barcode type ITF-14?
>
> hZebra := hb_zebra_create_itf( cCode, nFlags )
>
> If I use nFlags := HB_ZEBRA_FLAG_WIDE2_5 the barcode become giant and exceeds the sheet.
>
> My draw code is this:
> hb_zebra_draw( hZebra, {| x, y, w, h | hDC:FillRect(Int( x + .5 ), Int( y + .5 ),;
> Int( x + .5 ) + Int( w ), Int( y + .5 ) + Int( h ) + 1, HB_WIN_RGB_BLACK) },;
> nX, nY, nLineWidth * nZOOM, ((nLineHeight * _SCALE_) * nZOOM) * nALTURA )
>
> Where scale is 7.2 and nZoom and nAltura is 1. nAltura is used make barcode taller.
> I´m using win32prn()

Just FYI:
Some online APIs to generate ITF-14 barcodes:

1. **OnBarcode** ([Source 1](http://generator.onbarcode.com/online-itf14-barcode-generator.aspx)): OnBarcode provides an online ITF-14 barcode generation service. You can generate a barcode image by using the following URL format:

```
http://generator.onbarcode.com/linear.aspx?TYPE=4&DATA=123456789
```

Replace `123456789` with your GTIN-14 data.

2. **Barcodekit.com** ([Source 3](https://thebarcodekit.com/barcode-generator-free-online-itf-14)): Barcodekit.com offers an ITF-14 barcode generator with various features, such as adjusting the barcode's shape, color, and text descriptor. You can input your GTIN-14 data, adjust the barcode parameters, and download the generated barcode in formats like SVG, PNG, JPEG, and WEBP.

To generate a barcode using Barcodekit.com, follow these steps:
- Enter your GTIN-14 data in the provided space
- Adjust the barcode parameters and save them
- Adjust the text alignment options for the barcode description
- Click the download button to download the generated barcode

Both of these options allow you to generate ITF-14 barcodes online. OnBarcode provides a more straightforward API, while Barcodekit.com offers more customization options. Choose the one that best suits your needs.

😀

Patrick

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor