How to port printer driver to Android-x86

1,026 views
Skip to first unread message

Sonic

unread,
Dec 26, 2010, 9:38:36 PM12/26/10
to Android-x86
Hello~

I have some problem on porting printer driver.
I do have a rpm package which works well on ubuntu.
I use kernel version 2.6.35 on my ubuntu system.
And the Android-x86 froyo 2.2 with the same kernel version.
Does anyone know about how do I port this driver?

Can I use the same rpm package on Android?
If yes, how do I solve this issue?

Thanks for the help.
^^

ady2k10

unread,
Dec 26, 2010, 9:53:08 PM12/26/10
to Android-x86
NO, you can't use rpm or deb.
You should use apks application to install printer driver on android-
x86
My opinion : Use bluetooth printer or wifi printer....:)

Sonic

unread,
Dec 27, 2010, 1:16:11 AM12/27/10
to Android-x86
But if I can only use the internal USB interface printer.
Because my machine is a IPC POS system.
It must use this function. >"<

So I want to ask, if I can get the driver source code.
Can I compile it as a module and mount by kernel?

But if I can mount this driver on kernel.
How do I use it in Android UI interface?

ady2k10

unread,
Dec 27, 2010, 1:39:51 AM12/27/10
to Android-x86
You should do patch on Android-x86 source codes and re build new
Android-x86 image.
I don't think you can use ubuntu to compile the driver and copy to
Android-x86 kernel.
Android-x86 was embedded linux not Standard linux kernel.

Sonic

unread,
Dec 27, 2010, 2:04:55 AM12/27/10
to Android-x86
I do patch Android-x86 source codes now.
And I am now using the re-build Android image by myself in my machine.

So the problem I want to ask is that,
what is the difference between "port driver on ubuntu or CentOS" and "
port driver on Android-x86"
Does it the same on the kernel?
And if kernel can mount this printer device, how do I use it in
Android UI interface?

Thanks for your kindly answer !!!

ady2k10

unread,
Dec 27, 2010, 2:29:42 AM12/27/10
to Android-x86
Android-x86 kernel already customized and became very small size of
kernel.
Less modules on Android-x86 kernel.
You can check from android-x86_defconfig file about android-x86 kernel
setting.

lewis donofrio

unread,
Jan 8, 2013, 9:16:42 PM1/8/13
to andro...@googlegroups.com
Keep within the CUPS model and you can simply use standard PPD's.
--  
___________________________________________________________________
https://www.vizify.com/lewis-donofrio - 734-743-1743

On Monday, January 7, 2013 1:45:54 AM UTC-5, Vaibhav Yerawar wrote:
Hi,
   I am trying to implement printing feature in my Android application.
I successfully print text data on bluetooth printer using socket programming
but when I am trying same with images, I can get garbage code.
I am trying use drivers in my application. Please provide the solution.
Thanks & Regards
Vaibhav Yerawar

Vaibhav Yerawar

unread,
Jan 9, 2013, 2:24:57 AM1/9/13
to andro...@googlegroups.com
Hi Lewis,
  Thanks for replay,
  I trying to implement CUPS in my app.
  If you have any example for this implementation please refer,
  that would be really helpful.
 
Thanks & Regards
Vaibhav Yerawar

lewis donofrio

unread,
Jan 9, 2013, 1:37:03 PM1/9/13
to andro...@googlegroups.com

Vaibhav Yerawar

unread,
Jan 9, 2013, 2:34:01 PM1/9/13
to andro...@googlegroups.com
Hi Lewis,
         Thank you very much for a link.
Reply all
Reply to author
Forward
0 new messages