There is possibility in APTRA™ Advance NDC that we choose the printer to use rather Character Sets or OS/2 Code Pages. When in Character Set mode, we use Designator Code. But in Code Page mode, we should enter the three digit as OS/2 Code Page Identifier.
Select OS/2 Code Page
Character Description Number of Characters
1BH (ESC) Private use Escape Sequence Indicator 1
25H ‘%’ Escape Sequence ID 1
3xH 3yH 3zH OS/2 Code Page Identifier 3
There is a command that defines Downloadable Character Set on printer:
Define Downloadable Character Set
Character Description Number of Characters
1BH (ESC) Private use Escape Sequence Indicator 1
26H ‘&’ Escape Sequence ID 1
<filename> Name of file with the data for the selected character set Variable
1BH 5CH (ESC) ’\’ Control Sequence Terminator 2
I have tried this and according to Programmer’s Manual for the 40 Column Printer, I have made a binary file and copied it. I use Download Code Page. I want to know that is this possible in APTRA™ XFS? Which command in APTRA™ XFS layer should be used to load the binary file of Downloadable Character Set data?
Downloadable Character Set
-
- Местный
- Сообщения: 61
- Зарегистрирован: 20 май 2012, 23:22
- Авто: Pride
- Благодарил (а): 4 раза
- Поблагодарили: 1 раз
- Контактная информация:
Re: Downloadable Character Set
Dear Magarila,
I created a Binary file based on “Programmer’s Manual for the 40 Column Printer” for “Downloadable Character Set” and copied on c:\charfile.
Then we sent below command via “WFS_CMD_PTR_RAW_DATA” Execute Commands.
1BH (ESC)
26H ‘&’
<filename>
1BH 5CH (ESC) ’\’
Then we sent below command:
1BH (ESC)
25H ‘%’
3xH 3yH 3zH (x=0 y=0 z=0 => 30H 30H 30H)
And after “Define Downloadable Character Set” and “Select OS/2 Code Page” messages, I sent text for print via “WFS_CMD_PTR_RAW_DATA” Execute Commands but a square bracket will be printed followed by the filename path specified in the command data.
I created a Binary file based on “Programmer’s Manual for the 40 Column Printer” for “Downloadable Character Set” and copied on c:\charfile.
Then we sent below command via “WFS_CMD_PTR_RAW_DATA” Execute Commands.
1BH (ESC)
26H ‘&’
<filename>
1BH 5CH (ESC) ’\’
Then we sent below command:
1BH (ESC)
25H ‘%’
3xH 3yH 3zH (x=0 y=0 z=0 => 30H 30H 30H)
And after “Define Downloadable Character Set” and “Select OS/2 Code Page” messages, I sent text for print via “WFS_CMD_PTR_RAW_DATA” Execute Commands but a square bracket will be printed followed by the filename path specified in the command data.