Page 1 of 1

Print problem

PostPosted: Tue Jul 26, 2005 8:02 am
by is2spain(Legacy Member)
I need support about a little problem printing the barcode of a number. When I print a range of numbers the program generates some labels with characters that not corresponds with the real barcode, for example, print squares or accents. This problem not occurs always. If I print numbers between 40000 and 50000 the error occurs between 48700 and 48850 but the rest of numbers show correctly. Can anybody tell me the solution? I use the code of morovia's site.

Please sorry about my english, I'm spanish ;-).

Re: Print problem

PostPosted: Tue Jul 26, 2005 8:10 am
by benz(Legacy Member)
Which product are you using? You need to give us more information.

If you are working on Access, you may send the mdb file to support@morovia.com for an analysis.

Re: Print problem

PostPosted: Wed Jul 27, 2005 2:09 am
by is2spain(Legacy Member)
I use Visual Basic 6 SP6 and Microsoft Word 2000 and 2003. The Visual Basic code used is the code you explain in the website.

Thanks for your help.

Re: Print problem

PostPosted: Wed Jul 27, 2005 8:01 am
by benz(Legacy Member)
Hi is2spain,

To proceed, we need (1) the name of the Morovia product, specifically the font typeface; (2) The encoder function name; (3) the numbers which you found problem with.

We need more details...

Re: Print problem

PostPosted: Thu Jul 28, 2005 8:29 am
by is2spain(Legacy Member)
Hello benz, thank's for your support.

(1) Morovia Code128 Fontware, MRVCode128S

(2) The code is the same you have in your webpage http://www.morovia.com/font/support/Mor ... ls.bas.txt .

I use the code128Auto function.

(3) For example 487703. I've tested in Word 2000, XP and 2003 versions.

Re: Print problem

PostPosted: Thu Jul 28, 2005 8:58 am
by glitch (legacy member)
I checked the number and function you mentioned. But the barcodes created were OK.

Take the following steps to examine the issue:

1. check the barcode string. Format the barcode field with a human readable font such as Time New Roman. Compare with the one from FontPal or FontPal web (http://www.morovia.com/font/font-demo.asp).

2. Check the printer resolution. Most of printing issues are caused by the low resolution. Try to increase the point size to 16 or more and try again.

Re: Print problem

PostPosted: Thu Jul 28, 2005 9:54 am
by is2spain(Legacy Member)
OK.

I'll tray again.

Thanks for your support.

Re: Print problem

PostPosted: Fri Jul 29, 2005 2:38 am
by is2spain(Legacy Member)
Hello

I've tested the program again and the problem persists. Can be the problem the function I use to replace the encode string into Word. I use a simple document with fields within a table.

The function is something like this:

Dim AWord As Word.Application 'declaracion de objeto
Set AWord = New Word.Application
AWord.Documents.Open "etiqueta.doc"
AWord.Selection.Find.ClearFormatting
AWord.Selection.Find.Replacement.ClearFormatting

With AWord.Selection.Find

"[FIELD]"
.Replacement.Text = Cod_Convertido
.Replacement.Font.Name = "MRV Code128S"
.Replacement.Font.Size = 16
AWord.Selection.Find.Execute Replace:=wdReplaceAll

...

The result of encoder function: ÊPm#'ËÍ but word print an accent
in the barcode.

Re: Print problem

PostPosted: Fri Jul 29, 2005 7:48 am
by glitch (legacy member)
You need to disable the "smart quotes" feature in Microsoft Word. Microsoft Word replaces the quote ' and " with accent characters under that mode.

To Disable Microsoft Word's Smart Quotes:

1. On the Tools menu, click AutoCorrect Options, and then click the AutoFormat As You Type tab.

2. Under Replace as you type, select or clear the "Straight quotes" with "smart quotes" check box.