![]() |
|
Android'de bluetooth kullanarak termal yazicidan cikti alma - Baskı Önizleme +- Delphi Can (https://www.delphican.com) +-- Forum: Delphi (https://www.delphican.com/forumdisplay.php?fid=3) +--- Forum: Mobil Platform - FireMonkey (FMX) (https://www.delphican.com/forumdisplay.php?fid=7) +--- Konu Başlığı: Android'de bluetooth kullanarak termal yazicidan cikti alma (/showthread.php?tid=2882) |
Android'de bluetooth kullanarak termal yazicidan cikti alma - arsl01 - 09-11-2018 Merhaba iyi gunler, Termal yaziciya bluetooth ile baglanip cikti almam gerek nasil yaparim fikirleriniz nelerdir ? Telefona usb ile yazici baglam - engerex - 10-11-2018 Yazıcının işletim sistemini desteklemesi gerekiyor. USB ve bluetooth destekli yazıcılar mevcut. Telefona usb ile yazici baglam - arsl01 - 10-11-2018 Yani delphi kismi onemli hocam fmx.printer diye birnkutuphane gordum onu inceliyorum Telefona usb ile yazici baglam - arsl01 - 10-11-2018 http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Printing_from_a_FireMonkey_Application Cvp: Telefona usb ile yazici baglam - Fesih ARSLAN - 10-11-2018 Merhaba, Belirttiğiniz hazır kütüphane, Windows ve OS X platformları üzerinde sorunsuz çalışacağı muhakkaktır. Fakat Android ve iOS gibi mobil platformlarda genellikle wi-fi veya bluetooth destekli yazıcılar kullanılır. Telefona usb ile yazici baglam - arsl01 - 10-11-2018 Bluetoothda olur hocam sikinti olmaz Telefona usb ile yazici baglam - arsl01 - 10-11-2018 hocam yazıcıları görmek için hangi izinleri açmamız gerekir var
SrcRect, DestRect: TRectF;
begin
{ Set the default DPI for the printer. The SelectDPI routine defaults
to the closest available resolution as reported by the driver. }
Printer.ActivePrinter.SelectDPI(200, 200);
{ Set canvas filling style. }
Printer.Canvas.Fill.Color:=TAlphaColorRec.red;
Printer.Canvas.Fill.Kind := TBrushKind.Solid;
{ Start printing. }
Printer.BeginDoc;
{ Set the Source and Destination TRects. }
SrcRect := Image1.LocalRect;
DestRect := TRectF.Create(200, 200, Printer.PageWidth, Printer.PageHeight);
{ Print the picture on all the surface of the page and all opaque. }
Printer.Canvas.DrawBitmap(Image1.Bitmap, SrcRect, DestRect, 1);
{ Finish printing job. }
Printer.EndDoc;
end;
bu şekilde winfowsta derldiğimde pdf olarak kayıt ediyor. androidde denediğimde acces violation hatası veriyor
|