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 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE8 Firemonkey Printing on Android | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

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
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

1 Comment

Leave a Reply