How to Open a printer and print text

billy047

Member
Licensed User
Longtime User
Hello and good day to all, by pressing a button within the code of your event _Click, I need to print a form as a receipt, mainly printing text, and if possible a picture for a logo and lines.

But can not find how to open an printer, or the object that handles the print function. is very important that the user can print without having other intervention rather than to click the button.

:sign0085: I want to see if anyone of you can help me, explain how, or give an example, or where to get information.

Thanks

Guillermo
 

yawmbox

Member
Licensed User
Longtime User
i've the same problem.
i would print a logo and some line of text to network printer or cups (ipp or samba) shared printer.

how can i do it?
 
Upvote 0

CidTek

Active Member
Licensed User
Longtime User
i've the same problem.
i would print a logo and some line of text to network printer or cups (ipp or samba) shared printer.

how can i do it?

If you were using a PC to print to a network printer you would still have a matching printer driver on each PC which obviously doesn't exist for Android devices. However you can eliminate the need for a driver and stream native printer language commands to the IP your networked printer is assigned. You will have to do your own homework to learn the printer's native language and it is not trivial for complex documents. If you have ever seen a postscript file just imagine having to handcraft that.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…