Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

printing Cyrillic on Laserjet in DOS

I have ascii text files that displaly Cyrillic on my screen,  using RK.  When I try to print them on my LaserJet 4P, the printed file shows the same garbage characters that I see in Windows 95.  How can I get these files to print correctly?
0
als7
Asked:
als7
  • 7
  • 2
1 Solution
 
tabitCommented:
With every modern Text-Software an with the Newer Versions of Netscape and Internet Explorer you can display and print kyrillic if you have only the fonts installed. Which setting you have to do is dependent on your system. For Netscape 4.0x for example you go to edit|Font|encoding and chosse the appropriate codepage, cyrillic in your case - if it is not Unicode-coded.

If you need more details, comment to my answer

regards

tabit
0
 
als7Author Commented:
The machine that I am trying to print from only has the Russian version of DOS installed.  It does not have Windows, Netscape, or  Explorer.  I am trying to print the files using the DOS PRINT command.
0
 
tabitCommented:
If you have a Russian Dos set to the Russian Keyboard-Layout and Russion Codepage (PTS-Dos e.g. is Russian and multilingual) and you are using a Russian-Rutime-Libraries-based Printer-Driver (the one that comes with the russion Dos) and are using a Russian Word Processor, no problems shall arise.

Though you cannot print, somewhere in your setup I guess you have some english or international software or you codepage is not chosen right (DOS/Cyrillic = Codepage 866).

tabit
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
als7Author Commented:
Here are my autoexec.bat and config.sys files.  I think that the codepage is selected correctly.  If not, please let me know what to fix.

@ECHO OFF
mode bw80
PROMPT $p$g
PATH C:\DOS;c:\rk
SET TEMP=C:\DOS
MODE CON CODEPAGE PREPARE=((866) C:\DOS\EGA.CPI)
CHCP 866
KEYB RU,,C:\DOS\KEYBOARD.SYS
PRINT /D:PRINT
MOUSE
RK
DOSKEY

DEVICE=C:\DOS\SETFNT.SYS
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH
COUNTRY=007,,C:\DOS\COUNTRY.SYS
DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,,1)
INSTALL=C:\DOS\NLSFUNC.EXE C:\DOS\COUNTRY.SYS
FILES=20
DEVICE=C:\DOS\ANSI.SYS

0
 
tabitCommented:
after you have prepared the codepage you have to put the codepage select-command into your autoexec and also prepare and select the codepage for your printer (parameters and how to set them in help codepage at your DOS-promt). In MS-DOS you have to prepare and select the codepage for every device. For printer on LPT1 the line must start with mode lpt1 codepage prepare(select)(parameters)
0
 
tabitCommented:
if this does not work it might be, your fonts are not uploaded correctly into your printer. Therefore I recommend to get the Russian printer-driver for your HP Laserjet from the Hewlett-Packard-Web-pages.

regards

tabit
0
 
tabitCommented:
you should also set the line print /D lpt1

0
 
tabitCommented:
address for your printers drivers, but not the Russian version by now

http://www.hp.com/cposupport/printers/software/lj380en.exe.html
0
 
tabitCommented:
should the problems still not be solved go to

http://www.hp.com/russia/eng/service/index.html

to find all the information on contacting Russian HP-service-centers

regards

tabit
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now