Solved

printing Cyrillic on Laserjet in DOS

Posted on 1997-08-25
9
386 Views
Last Modified: 2012-05-04
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
Comment
Question by:als7
  • 7
  • 2
9 Comments
 
LVL 5

Accepted Solution

by:
tabit earned 200 total points
Comment Utility
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
 

Author Comment

by:als7
Comment Utility
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
 
LVL 5

Expert Comment

by:tabit
Comment Utility
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
 

Author Comment

by:als7
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 5

Expert Comment

by:tabit
Comment Utility
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
 
LVL 5

Expert Comment

by:tabit
Comment Utility
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
 
LVL 5

Expert Comment

by:tabit
Comment Utility
you should also set the line print /D lpt1

0
 
LVL 5

Expert Comment

by:tabit
Comment Utility
address for your printers drivers, but not the Russian version by now

http://www.hp.com/cposupport/printers/software/lj380en.exe.html
0
 
LVL 5

Expert Comment

by:tabit
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now