Question Locked

DOS OPERATING - ARABIC (NAFITHA)

0 helpful
27 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I WISH RUN AN APPLICATION DEVELOPED IN CLIPPER 5.01 AND WITH OLD ARABIC SUPPORT UNDER XP PLATFORM

IS IT POSSIBLE - I TRIED MANY WAYS - BUT ARABIC PROGRAMME (NAFITHA) COULD NOT START UNDER XP.

CAN YOU HELP ME PLEASE .....

27 replies

by dawgit

That could be one problem. In some software programs / applications the Base OS (here XP) must be the same language.
example: I also use WinXP, one system is in German (as I'm in Germany) there are many programs that are made to run only in English, they will not run on that machine, so I use a second machine with XP in English (international actually) for those programs.
Also many programs look to the OS language at install time to asertain which language to use for the default interface. (and will only use that one even if the program itself is multi-language.)
Is the WinXP you're using XP-Pro.?
I would suggest that you use XP-Pro (multi- or International version) set up in Arabic. See if your program works that way.
(If not let us know...) -d

edited to add: You could do that also with out disturbing the present set-up, by useing a Virtual Machine set-up or install as a second OS. (Dual-boot)

by abahou

I faced same problem...This nafitha is old and stupid..but we need it somehow. Anyways... even in Win98 it will not work, you had to go and Restart in Ms-Dos mode. So basically It's either you use a boot disk or install Win98 along with XP if possible...I am going to try it now! :P

by ven_gonzales

hi, i'm writing to you as a desperate resort to my problem on ARABIC NAFITHA.

i searched the internet but i haven't found any answer to my problem. this has been my problem for several weeks now. i saw your forum regarding the ARABIC NAFITHA and i am hoping that you could help me on this.

i am a new programmer to a company that's still using the ARABIC NAFITHA in one of their old systems. this is my first time to handle any system that uses the NAFITHA. my problem is in the printing of the report that should display the arabic characters and should be in the right to left direction. i can convert characters to arabic when i'm inside the system (after running NAFITHA) however, when i print the reports which should be in arabic, the characters that appear are entirely different. one of the old guys there said that those were not arabic and were somewhat hierogliphics, characters were printed from left to right. and one thing more the numbers were also not converted to arabic but still in the "english" form. my company is using the EPSON LQ2180 printer on a windows 98 OS.

hope you can help me to configure the printer/system to print the desired output.

thank you very much. hoping for your response on this.

venice

by ayna_san

- CREATE A SHORTCUT IN W98 DESKTOP FOR COMMAND.COM
- GO TO THE PROPERTIES OF COMMAND.COM AND SELECT DISPLAY: FULL SCREEN
- YOUR PRINTER MUST BE ATTACHED TO THE SAME MACHINE
- GO TO THE PRITNER PROPETIES UNDER W98, SELEECT THE PORT SETTINGS - DISABLE SPOOL PRINT MS-DOS PRINT JOBS
- GO THE COMMAND PROMPT
- GO THE NAFITHA FOLDER
- TYPE CONFIGNF
- CHECK THE PRINTER TYPE ( YOU WILL NOT GET LQ2180 IN NAFITHA INSTEAD YOU CAN SELECT EPSON LQ1050)
- SAVE IT

- READY THE PRINTER ON

- RUN NAFITHA.BAT FROM NAFITHA FOLDER
- THEN RUN UR PROGRAMME
- IT WILL PRINT ARABIC

GOOD LUCK

ABDUL NASER

by romouz_online

Hi there,
I need the escape sequence for enabling and disabling the bilingual printing from inside the program
Note:
Esc "fl" will only change to latin printing but will not disable the bilinguality

reason:
we need to print a Bardcode along with arabic stuff
thanks

by ayna_san

HALLO DEAR ROMOUZ

I AM WORKING ON NAFITHA SINCE LONG TIME UNDER DOS/W95/98 ETC...

WHEN I TRIED WITH XP UNDER PII MACHINE IT RUN

BUT WITH P4 WITH LATEST VGA , WHEN I RUN THE NAF.COM, GET A MESSAGE THE THAT "FREQUENCY OUT OF RANGE HF=27.95 AND VF=62.34 AND QUIT THE PROGRAMME AND COME BACK TO XP DESKTOP

I REQUEST YOUR HELP IN THIS MAATER.

AWATING YOUR REPLY

BEST REGARDS

ABDUL NASER

by mslaty

COULD YOU TELL ME PLEASE HOW CAN I RUN NAFITHA IN XP..

by prototype_nsx

I would like to know how you have done it. I am usin musaed al arabi and i am familiar with nafitha too. Please let me know how you have implemented it. Thanks

by mohammadhusseinn

hi ramouz
i need you to help me with the nafitha program to run it under windows xp
our problem is to run it in a full screen mode....
i will be very appreciated if you responde soon

by mslaty

COULD YOU TELL ME PLEASE HOW CAN I RUN NAFITHA IN XP..

by sidqm

rem let the dos box not in full screen
rem run the following in a batch file
naf.com
erw.exe
mode con lines=25 cols=80
rem --set correct code page
nccp.exe 786 711
rem --get FSTOGGLE.EXE from internet
rem --parameter 1=full screen or 0=window
FSTOGGLE 1
rem --load your driver of the printer
NAFPRINT XXX.PDB /W
rem --run your nafitha application
DOSAPP.EXE

by issajala

can you pls tell me how I can get nccp.exe

by yazan5

For all people wants to run legacy DOS applications with Nafitha, this is that RIGHT way to run NAF.COM on Windows XP.

METHOD #1: CMD BASED CODEPAGE

1- Run cmd.exe, "Command Prompt",
2- type "chcp 708", it should say "Active code page: 708"
3- Now this is important, Right-click tab at task bar, choose "Properties".
4- On "Font" tab, change font from "Raster Font" to "Lucida Console".
5- Run your legacy application on DOS, it will show the right encoding.

NOTES:
1- Run this on Windowed Mode only!
2- Right-to-Left Orientation won't be available AS THIS IS ENCODING ONLY!
3- You may face unviewable characters on INPUT, which appear AS BOXES! that's Microsoft BUG!

--to RUN YOUR OWN NAFITHA PROCEED TO METHOD #2

METHOD #2: NAFITHA 4.2 on WINDOWS XP

--I recommend using NAFITHA 4.2, You should have it ALREADY. Version 4.0 works fine too.
--You need first ARABIC.COM TSR( Terminate and Stay Resident) from MS-DOS 6.22, Win95, Win98.

NOTE: I can NOT give you those, you should extract them from your OLD PC running Win98, thats my case where I got them, as this violates Microsoft licensing agreement.

What shall we have...
1- ARABIC.COM
2- COUNTRY.ARA
3- VIDEO.CPI
4- ARABIC.INI

You will find the 1,2,3 under C:\WINDOWS\COMMAND folder under Win98, bring those, and create a new file, thats #4 ARABIC.INI and write this into it

[ARABIC.COM]
WinFontPage=Default
CodePage=437
HwFontPages(s)=437
FontSize=2
UMB=Yes
FontFile=video.cpi
CountryFile=country.ara

--NOW, get this FULL SCREEN TOGGLE small utility, from this link,
http://www.columbia.edu/~em36/wpdos/fstoggle.zip

--PUT ALL FILEs IN ONE FOLDER, SAY "C:\AR".

--CREATE A BATCH FILE, "C:\AR\NAFXP.BAT", with these commands

REM ------------------------
REM --YAZAN-NAFXP-LAUNCHER--
REM ------------------------
@ECHO OFF
CHCP 437
MODE CON LINES=25
FSTOGGLE F
ARABIC.COM
COMMAND.COM
EXIT
REM --EOS

--NOW, FROM START MENU ON WINDOWS XP, CHOOSE RUN, TYPE "C:\AR\NAFXP.BAT"

-- AFTER MS-DOS RUNS IN FULL-SCREEN, JUST RUN "NAF.COM" FROM IT'S PATH.

NOTES:
1- IT WORKS PERFECTLY ON LCD AND CRT MONITORS.
2- TYPE EXIT TO CLOSE DOS WINDOW.

With best regards,
Yazan

by nakhle52

MR. YAZAN

COULD YOU PLZ TELL ME WHAT DOES IT MEAN [ARABIC.COM] IN THE FILE ARABIC.INI.I TRIED TO DO IT YOUR WAY BUT IT DIDN'T WORK.
PLZ I NEED YOUR HELP IF YOU CAN.
THANK YOU.
NAKHLE ATALLAH

by kassemkazak

How are you doing. Your article regarding how to run NAFITHA on windows was so interested. My question is: how can i get these files: 1- ARABIC.COM
2- COUNTRY.ARA
3- VIDEO.CPI
knowing that i have no windows 98 and i didn't find them on the net. would you please send them to me (if possible)
waiting your reply.

Best Regards,
Kassem Kazak

by kassemkazak

I followed up what mentioned, it worked fine with me..the problem was when i started the naf.com, this message appered: not optimum mode, recommended mode: 1280 x 024 60 Hrz. My screen is Samsung, i changed the screen and it worked very fine.
Hope this will help..

Best Regards,
Kassem Kazak

by dewolfe

Yazan: I have a data file from an app called epi info. Arabic charaters were originally coded in back when we had NAF.com running on DOS some years ago now. We need to convert these charaters back to Arabic urgently. Is there away I can call you? Many thanks De (dewolfe@hawaii.edu)yes I am on the other side of the world.

by magdy_salam

If you still have this problem , Please send the file to me and i will convert it for you .

Best regards
Magdy Abdraboh
magdy_salam@yahoo.com
+20109673004
www.abdraboh.zxq.net

by yazan5

Another problem may face you after running your legacy apps is HOW TO PRINT FROM DOS.. IT GIVES RABBISH!?

Well, It's quite simple.

As you used to do in old systems, NAFPRINT should load its fonts on the printer. In our case it SHOULD BE DOT MATRIX, right?

Anyway, Just define you printer with Windows XP driver, I've used Epson LQ1050, test it on Windows environment to make sure its working.

--NOW, grab this DOS print utility, from this link,
ftp://ftp.arnes.si/software/simtelnet/msdos/printer/dsp110.zip

--BEFORE DOS PRINTING, SHARE YOUR PRINTER, THE DOT MATRIX, NAME IT SOMETHING LIKE "EPSLQ"

--ON DOS PROMPT, RUN THIS COMMAND,
net use lpt1: \\yourcomputername\EPSLQ

--THIS WILL DIRECT ALL PRINTED DOS FILES TO YOUR PRINTER.

--LOAD YOUR FONTS TO LPT1 BY USING "NAFPRINT" WITH THE OLD SAME WAY BY RUNNING "NAFPRINT xxx.PDB /LPT1 /N" OR WHAT EVER PARAMS YOU HAVE.

--TRY TO PRINT NOW, IF IT'S STILL RUBBISH, USE "DSPRINT FILENAME" INSTEAD OF JUST "PRINT", THATS OUR SPECIAL PRINT COMMAND DOWNLOADED FROM ABOVE.

Happy printing oldies :D
Regards,
Yazan

by u4_13

Thanks a lot
But are there any way to print from nafitha
to New hp printer (ex HP Laserjet 4350)

by mohannedalkhafaji

Hello there
I have a huge data base work under DOS by using NAFITHA environment, when I tried to work under windows 7 environment it doesn't work. I tried the methods stated by Yazan the second one is working properly in windows xp but it doesn't work on windows 7. I said it is ok I will work under windows xp but I couldn't use my laser printer which is connected through the USB port. Pleas, are there someone a solution? I appreciate to you If you told me how can I use it in windows 7 and how to print using my laser printer?
Mohanned

This discussion is closed to new replies.