• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Barcode trouble/ please help.

Started by yuri102, 2011.01.18, 12:30:35

Previous topic - Next topic

Andi

Quote from: yuri102 on 2011.01.19, 00:39:54
... config.sys on os/2 contains codepage=866,850. I tried change codepage to 866 only and restart system, but problem still here.
...
Some general notes for codepages - OS/2 uses by default the first of the two values from the config.sys. In your case 866. The second one is only 'prepared' (see below)

So it's clear there is no difference for you between -
codepage=866,850 and
codepage=866
as 866 is used in both cases.

To use the second one (the prepared one) you have to use the chcp command. f.i. open a command shell (CLI window) and type in "chcp 850" (this only works when you have 850 'prepared' in your config.sys) and then start your program datacentral.exe FROM THIS COMMAND SHELL. Now datacentral should run with codepage 850 instead the default 866. But, I've no clue if 850 is the one you really need.

In general it can be dangerous playing with the first value (866 from above example) of the codepage entry. Changing the second one (850) usually do not harm cause OS/2 itself only uses the first number.

ivan

Hi yuri102,

As Andi says 866 is your Russian standard code page which you need to see anything in your language.  The second is the code page that can be used when it is called upon.  That is the one for you to experiment with.

On several of my systems we have codepage=850,1004 - the 1004 is the windows code page.

The only problem is that your keyboard, if it is Russian 441 or 443 layout, most probably will not map the 1004 code page to where you expect. 

You might be able to use table1.2.0 to see what the actual mappings are and if you find them then you can note them down for future use.

I'm sorry I can't be of more help but my Russian is non existent and I don't have a Russian keyboard to test with.

ivan

jep

#17
Download the OS/2-eCS version of Character Map from the Russian Developer "GlassMan".

You should then be able to display the barcodes that you intend to print and where they're positioned in the codepages.

Please do show us what your the actual barcode look like in that applicaiton as well.
A file of 252Mb is a bit much to fetch just like that for (a) font(s)?!.

wimpie

Quote from: jep on 2011.01.20, 18:04:43
A file of 252Mb is a bit much to fetch just like that for (a) font(s)?!.

I found that barcode font at http://www.tut-vse.ru/ttf/Fonts/

cp850arial.gif shows the characters and cp850bcode.gif shows the barcodes on my OS/2 Warp 4.0 NL system.

jep

Hello,

The codepage 866 (Cyrillic) doesn't seem to contain the expected positions to render characters above 7E (126) while both codepage 850 and 1004 (similar to Win1252) can. (See post by wimpie and compare it with the attached images)

You may want to check if you can use the command "chcp 850" or "chcp 1004" as suggested to be able to render those characters, provided you add one of the codepages to config.sys, unless you already have.

//Jan-Erik