Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodC++BuilderCode SnippetComponentDelphiDemoFiremonkey

Build Print Services With Winsoft Print Library In #Delphi XE8 Firemonkey On Android

Delphi XE8 Firemonkey Printing on Android

Developer Erik Salaj from Winsoft has released a printing library for Android which supports Delphi XE8 Firemonkey. It utilizes the Android Print and PrintHelper API so it does not support IOS, Windows, or OSX. Additionally, it requires at least Android 4.4 (KitKat) or higher. You can print images and html pages with the library. This is a commercial library but source code is included in the full version. The library should also work in Appmethod and C++Builder. A trial and a demo are both available. Also be sure to check out the Winsoft Component Package which gets you this library and a huge number of other libraries at a significant savings. Here are some examples of code images and print html page:
uses Winsoft.Android.Print;
...
procedure PrintImage (bmp: TBitmap);
begin
if SystemSupportsPrint then
PrintBitmap (bmp, 'logo', TColorMode.Color, TOrientation.Landscape, TScaleMode.Fit)
else
ShowMessage ('Printing is not supported on this device');
end;

procedure PrintHtml (url: string);
begin
if SystemSupportsPrint then
PrintHtml (url, 'web page')
else
ShowMessage ('Printing is not supported on this device');
end;

 

Head over, download the demo, and download the trial of the Android Printing Library for Delphi XE8 Firemonkey.



Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXWindows

Build Classic Desktop Operating System Themes Apps With Styles For FireMonkey

DelphiFiremonkeyIDEWindows

Easily Let AI Agents Query And Manage Your Databases Via FireDAC MCP

DelphiDemoShowcaseWindows

Build A Tiny, Explainable Language Model Entirely In Delphi

ComponentDelphiDemoFiremonkeyLibraryWindows

Run Google's Gemma 4 Vision Models Natively In Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

1 Comment

Comments are closed.