1-) C# RMOS - ABBYY FineReader 15
C:\Program Files (x86)\Plustek\Software\FineReader 12.0 Sprint>FineCmd.exe C:\Users\RAMBO\Desktop\kn.jpeg /out C:\Users\RAMBO\Desktop\kn.txt
c# github linki : https://github.com/akoval54/dynamic-fre-wrapper
BUNU KULLANIRSAN ÇÖZEMESE BİLE LANGUEAGE HATASI MİSAL KENDİSİ ÇÖZÜP KAPATIR. DİĞERİ GİBİ AÇIK KALMAZ
indirme linki : https://drive.google.com/open?id=1cxMmEjbSgYBAqiPSpQigTN51S99gv7Gp
alternatif link : ABBYY FineReader 15 Corporate 15.0.18.1494 -www.Oyunİndir.Vip
cmd komutu : C:\Program Files (x86)\ABBYY FineReader 15>FineCmd.exe C:\cc\a\nasuh.pdf /send Clipboard
calismayan : C:\Program Files (x86)\ABBYY FineReader 15>FineCmd.exe C:\cc\a\nasuh.pdf /out C:\cc\a\nasuh2.txt
2-) ABBYY FineReader Sprint KULLANIMI OLAY BİTMİŞTİR
C:\Program Files (x86)\Plustek\Software\FineReader 12.0 Sprint>FineCmd.exe C:\Users\ramazan\Desktop\resmim.jpg /out C:\Users\ramazan\Desktop\resmim.txt
--
C:\Program Files (x86)\Plustek\Software\FineReader 12 Sprint>FineCmd.exe C:\Users\rambo\Desktop\a.png /out C:\Users\rambo\Desktop\a231.txt
diğer kaynaklar : https://stackoverflow.com/questions/16385443/abbyy-finereader-exe-looking-for-cmd-commands-to-use-in-other-programms
1-) C# RMOS - C# Çalıştırma
string cPath = @"C:\Program Files (x86)\Plustek\Software\FineReader 12.0 Sprint";
ProcessStartInfo startInfo = new ProcessStartInfo(string.Concat(cPath, "\\", "FineCmd.exe"));
startInfo.Arguments = @"C:\Users\user\Desktop\2.pdf /out C:\Users\user\Desktop\2.txt";
startInfo.UseShellExecute = false;
System.Diagnostics.Process.Start(startInfo);
2-) C# Çalıştırma 2. yol RmosDocx'deki
// C:\Program Files (x86)\Plustek\Software\FineReader 12.0 Sprint\
public void abbyStart(string neyi, string files_id)
{
try
{
ProcessStartInfo startInfo = new ProcessStartInfo(dbtoolsDocx.abbyPath + "FineCmd.exe");
startInfo.Arguments = neyi + @" /out " + tempPathTxt + @"\" + files_id + ".txt";
Process processTemp = new Process();
processTemp.StartInfo = startInfo;
processTemp.Start();
}
catch (Exception ex)
{
RHMesaj.MyMessageError(MyClass, "abbyStart", "", ex);
}
}
2-) WEB APİ İLE SONRA BAKARSIN UFAK HATALARI VAR
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net;
using System.Security.Authentication;
using System.Web.Mvc;
namespace WebApplication1.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
getImgFrmUrl("https://training.bitrix24.com/images/chat_bot_en/format/attach/constructor1.png");
return View();
}
public string getImgFrmUrl(string url, string PartialDstntnPath = "/Content/img/Layout/")
{
var tmpP = PartialDstntnPath;
var imgPath = System.Web.HttpContext.Current.Server.MapPath(tmpP);
var name = Guid.NewGuid();
var fileExt = Path.GetExtension(url);
using (WebClient webClient = new WebClient())
{
const SslProtocols _Tls12 = (SslProtocols)0x00000C00;
const SecurityProtocolType Tls12 = (SecurityProtocolType)_Tls12;
ServicePointManager.SecurityProtocol = Tls12;
try
{
byte[] data = webClient.DownloadData(url);
using (MemoryStream mem = new MemoryStream(data))
{
using (var yourImage = Image.FromStream(mem))
{
string tamyol = imgPath + name + fileExt;
string tamyolTxt = imgPath + name + ".txt";
if (fileExt.ToLower() == ".png")
{
yourImage.Save(tamyol, ImageFormat.Png);
}
else
{
//yourImage.Save(Server.MapPath("/Upload/test.png"), System.Drawing.Imaging.ImageFormat.Png);
yourImage.Save(tamyol, ImageFormat.Jpeg);
}
string cPath = @"C:\Program Files (x86)\Plustek\Software\FineReader 12 Sprint";
ProcessStartInfo startInfo = new ProcessStartInfo(string.Concat(cPath, "\\", "FineCmd.exe"));
startInfo.Arguments = tamyol + @" /out "+ tamyolTxt;
startInfo.UseShellExecute = false;
System.Diagnostics.Process.Start(startInfo);
}
}
}
catch (Exception ex)
{
return ex.Message;
}
}
return tmpP + name + fileExt;
}
}
}