Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Android'de bluetooth kullanarak termal yazicidan cikti alma
#1
Merhaba iyi gunler,
Termal yaziciya bluetooth ile baglanip cikti almam gerek nasil yaparim fikirleriniz nelerdir ?
WWW
Cevapla
#2
Yazıcının işletim sistemini desteklemesi gerekiyor. USB ve bluetooth destekli yazıcılar mevcut.
Ağlarsa kablosuz ağlar, gerisi yerel ağlar...
Cevapla
#3
Yani delphi kismi onemli hocam fmx.printer diye birnkutuphane gordum onu inceliyorum
WWW
Cevapla
#4
http://docwiki.embarcadero.com/RADStudio...pplication
WWW
Cevapla
#5
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.
Cevapla
#6
Bluetoothda olur hocam sikinti olmaz
WWW
Cevapla
#7
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
WWW
Cevapla


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Android’de Dosya Depolama ve Paylaşma-2: And 11 SDK 30 Scoped Storage SAF MediaStore emozgun 12 4.728 19-03-2024, Saat: 22:29
Son Yorum: nguzeller
  Android 33 api sdk güncelleme [ÇÖZÜLDÜ] codder71 4 358 19-02-2024, Saat: 22:38
Son Yorum: codder71
  bluetooth yazıcı ceylan 7 1.941 26-01-2024, Saat: 11:40
Son Yorum: enigma
  Mobil Android Emulator Altıner 5 318 22-01-2024, Saat: 18:28
Son Yorum: Altıner
  Firebird Android bağlantı aeyeci 2 258 01-01-2024, Saat: 14:41
Son Yorum: nguzeller



Konuyu Okuyanlar: 1 Ziyaretçi