Print problem

Issues related to using font products in Microsoft Office programs, such as Word, Excel, and Access etc.). Also for questions on using barcode fonts in VB6.

Print problem

Postby is2spain(Legacy Member) on Tue Jul 26, 2005 8:02 am

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 ;-).
is2spain(Legacy Member)
 

Re: Print problem

Postby benz(Legacy Member) on Tue Jul 26, 2005 8:10 am

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.
benz(Legacy Member)
 

Re: Print problem

Postby is2spain(Legacy Member) on Wed Jul 27, 2005 2:09 am

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.
is2spain(Legacy Member)
 

Re: Print problem

Postby benz(Legacy Member) on Wed Jul 27, 2005 8:01 am

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...
benz(Legacy Member)
 

Re: Print problem

Postby is2spain(Legacy Member) on Thu Jul 28, 2005 8:29 am

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.
is2spain(Legacy Member)
 

Re: Print problem

Postby glitch (legacy member) on Thu Jul 28, 2005 8:58 am

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.
glitch (legacy member)
 

Re: Print problem

Postby is2spain(Legacy Member) on Thu Jul 28, 2005 9:54 am

OK.

I'll tray again.

Thanks for your support.
is2spain(Legacy Member)
 

Re: Print problem

Postby is2spain(Legacy Member) on Fri Jul 29, 2005 2:38 am

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.
is2spain(Legacy Member)
 

Re: Print problem

Postby glitch (legacy member) on Fri Jul 29, 2005 7:48 am

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.
glitch (legacy member)
 


Return to Microsoft Office (Word, Excel, Access etc) and VB6

Who is online

Users browsing this forum: No registered users and 1 guest