Solved

printing Cyrillic on Laserjet in DOS

Posted on 1997-08-25
9
393 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
ID: 1013782
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
ID: 1013783
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
ID: 1013784
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:als7
ID: 1013785
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
 
LVL 5

Expert Comment

by:tabit
ID: 1013786
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
ID: 1013787
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
ID: 1013788
you should also set the line print /D lpt1

0
 
LVL 5

Expert Comment

by:tabit
ID: 1013789
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
ID: 1013790
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is about my first experience with programming Arduino.
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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