![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-14 23:50 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » Question about QB |
| Printable Version 1,327 / 2 |
| Floor1 林林 | Posted 2002-12-27 00:00 |
| 初级用户 Posts 3 Credits 109 | |
|
10 LPRINT CHR$(28); CHR$(14);
20 LPRINT "123456" END Why can the LQ1600K print double-width characters, but the OKI5330SC can't? Please advise! |
|
| Floor2 qzxym | Posted 2002-12-30 00:00 |
| 中级用户 Posts 39 Credits 210 | |
|
The OKI commands are not the same as ESC/P commands. Try:
lprint chr$(28)+chr$(112)+"123456" |
|
| Floor3 林林 | Posted 2003-01-06 00:00 |
| 初级用户 Posts 3 Credits 109 | |
|
Many thanks for the advice, but this way only full-width characters can be printed double-width; half-width characters still can't be printed double-width. Is there any way for half-width characters to also print double-width, and also set line spacing and character spacing?
For example, ESC/P 10 LPRINT CHR$(28); CHR$(14); 20 LPRINT CHR$(27); CHR$(65); CHR(0); 30 LPRINT "123456" printed this way, they are double-width with character spacing 0 dots 40 LPRINT CHR$(28); CHR(20); 50 LPRINT CHR$(27); CHR$(65); CHR(17); 60 LPRINT "123456" printed this way, they are not double-width, with line spacing 17 dots |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |