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
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

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

1 Comment

Leave a Reply