For Programmers: Free Programming Magazines  


Home > Archive > Clarion > July 2005 > printing barcodes on DYMO









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author printing barcodes on DYMO
news.siol.net

2005-07-24, 8:18 pm

Has anybody tried to print BARCODES from a Clarion report
to a DYMO printer (Dymo Label Writer 320)?

I have no idea how to do it. Maybe changing to a special font ?

TIA
poldemol



Mark Riffey

2005-07-24, 8:18 pm

On Thu, 21 Jul 2005 17:42:55 +0200, news.siol.net wrote:

> Maybe changing to a special font ?


Bingo. Thats all it takes.
--

Mark
news.siol.net

2005-07-24, 8:18 pm

do you happen to know where to look for the font names ?
There is no information about the names in DYMO SDK, therefore I expect that
some reverse engineering will be needed.


Mark Riffey

2005-07-24, 8:18 pm

On Fri, 22 Jul 2005 08:37:57 +0200, news.siol.net wrote:

> do you happen to know where to look for the font names ?
> There is no information about the names in DYMO SDK, therefore I expect that
> some reverse engineering will be needed.


If you are going to use the SDK, you wont be using a Clarion report.

If you are going to use a Clarion report, then 3of9.ttf (or whatever font
technology you wish to use on a Clarion report) can be used.
--

Mark

2005-07-25, 9:03 am

I would like to print the barcodes directly from the clarion application.
I know I can print the 3of9 because this is the only barcode (to my
knowledge)
which maps characters directly into lines and is therefore also available
as a font.

What I expected the printer driver to do, is that if I choose a name of a
special font,
which could be defined by the manufacturer of the label printer,
the driver will compute and print a correct barcode on the label (for
barcodes different from
the 3of9). These so called 'fontnames' are what I do not know. If my
reasonong is
correct they should depend on the driver and label printer.

I might be completely wrong in assuming that barcode selection is done by
selecting
font name, but how can I instruct the label printer to print the barcode
without
producing the image myself. Of course in this case I do not need a barcode
printer,
because any printer capable of printing graphics would do !

poldem


Mark Riffey

2005-07-25, 10:02 pm

On Mon, 25 Jul 2005 16:37:33 +0200, poldem@email.si wrote:

> What I expected the printer driver to do, is that if I choose a name of a
> special font,
> which could be defined by the manufacturer of the label printer,
> the driver will compute and print a correct barcode on the label (for
> barcodes different from
> the 3of9). These so called 'fontnames' are what I do not know. If my
> reasonong is
> correct they should depend on the driver and label printer.


You will not find the font names in your system's list of fonts simply by
virtue of installing the Dymo drivers. If creating a clarion report to
print to the dymo, you will have to assign the font in your code or in the
report layout, such as the 3of9 font discussed previously.

When its a clarion report, by the time the printed matter gets to the
printer, its a WMF. All the Dymo driver will do is send that WMF to the
printer in the proper form. It will not attempt to interpret its contents
and take action based on what it finds.


>
> I might be completely wrong in assuming that barcode selection is done by
> selecting
> font name, but how can I instruct the label printer to print the barcode
> without
> producing the image myself. Of course in this case I do not need a barcode
> printer,
> because any printer capable of printing graphics would do !


Correct.

Example: To print 12345 as a barcode in 3 of 9 on a dymo (or any other
printer) from a clarion report.

loc:variableonreport = '*12345*'

Assumes the variable on the report is already set to the 3of9 font.

--

Mark
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com