Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiRAD Studio

Easily Print From Android Devices Using Winsoft’s Powerful Android Printing Library For Delphi

In this post, you’ll learn how to print documents from Android devices using Winsoft, a powerful Android printing library that supports Delphi, and how to do so using Windows Application Development.

  1. Introduction

Printing Library is a useful library for establishing a printer connection between an Android device and a local / server printer. The Library uses Android Print and PrintHelper API.

2. Components in the Demo and what they do

aprinting

The Demo contains tab control with four tab items. Each tab item opens four different screens – one with TImageViewer, one with TWebBrowser, the third one with simple TLabel and the last one empty. All of the four tab items contain the Print button, which on their OnClick event call certain method, depending on the tab item. Every button executes similar code, setting Canvas and Paint settings. All of them call the same PrintPdfDocument procedure, which is actually the main of the Printing Library. The method itself sets needs three parameters to be passed – JPdfDocument, JobName, which is string, and Color. The Color is set with default value, so it’s not mandatory. In the next code you will find short preview of the executed code on the button click.

To get a better idea of what the Demo does, check out the short video below with the Demo in action on Android phone:

You can download the Demo from the link, attached below:

https://winsoft.sk/download/aprinting.zip

Find out more about the WINSOFT Android printing library for Delphi.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES