dcw76
Posts: 3
Joined: Sat Jan 23, 2016 4:25 am

windows 10 IOT printer driver installation

Sat Jan 23, 2016 8:26 am

Hi,
I have a receipt printer +windows driver , that do exactly on PC but I want to install it on Raspberry PI 2 and windows 10 IOT to pint the ticket .
any one know, how to install printer driver on raspberry windows 10 IOT?
Thanks a lot for any suggestion and help.

fruitoftheloom
Posts: 22646
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: windows 10 IOT printer driver installation

Sat Jan 23, 2016 2:07 pm

dcw76 wrote:Hi,
I have a receipt printer +windows driver , that do exactly on PC but I want to install it on Raspberry PI 2 and windows 10 IOT to pint the ticket .
any one know, how to install printer driver on raspberry windows 10 IOT?
Thanks a lot for any suggestion and help.
viewforum.php?f=105


If it is not in the list of Verified Peripherals

https://ms-iot.github.io/content/en-US/ ... rfaces.htm

....then approach the Printer Manufacturer for a suitable Driver Stack.


Alternatively you can wirite a Universal Driver yourself

https://ms-iot.github.io/content/en-US/ ... verLab.htm

https://ms-iot.github.io/content/en-US/ ... erLab3.htm
Rather than negativity think outside the box !

Asus ChromeBox 3 Celeron is my other computer.

Heater
Posts: 15445
Joined: Tue Jul 17, 2012 3:02 pm

Re: windows 10 IOT printer driver installation

Sat Jan 23, 2016 3:50 pm

dcw76,

Whatever driver you have on your PC will not work on any OS on the Pi. PCs are Intel x86 processors, Raspberry Pi uses an ARM processor, as do phones and most tablets and many embedded systems. It's not clear to me how after all these years everyone does not know this.

Further, Win Whatever IoT is not Win 10. So perhaps the drivers are not compatible even if the processor achitecture was.

Sadly it's unlikely you device manufacture will provide any driver for the Pi. Might be worth asking I guess.

That kind of leaves reverse engineering the protocol used to communicate with the device and creating your own driver for it. I would suggest doing this for Raspbian rather than Win whatever, then it will be useful to a huge community of Pi users and you will be a hero.

Is this a USB device? I'd be curious to see what messages appear in dmesg when you plug it in. Or what the output of lsusb might be.
Memory in C++ is a leaky abstraction .

dcw76
Posts: 3
Joined: Sat Jan 23, 2016 4:25 am

Re: windows 10 IOT printer driver installation

Sun Jan 24, 2016 6:34 am

Hi
Thanks to fruitoftheloom and Heater for your help,
I know about difference of processors and drivers related to them and also know that IOT version is very limited of the main windows version but I had explain all position to people who may can help me in cause of any suggestion as transferring from x86 to ARM and recompiling .
if there is not , may be it be a good idea for a software that do this transfer .
Both of you had wrote about writing driver by my self , thanks again and I try it , because the printer manufacture is Chinese and unfortunately I don't find any manufacture source.
Be healthy ,

User avatar
DougieLawson
Posts: 38508
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: windows 10 IOT printer driver installation

Sun Jan 24, 2016 6:00 pm

dcw76 wrote:...I had explain all position to people who may can help me in cause of any suggestion as transferring from x86 to ARM and recompiling .
if there is not , may be it be a good idea for a software that do this transfer .
Do you have access to the source code for the driver? Do you have the datasheets for the printer? Or is that private and secret information that is only available to the manufacturer?

If you don't have the source and the vendor doesn't have an ARM driver then send the printer back as "not fit for purpose", get a refund and buy a printer that does have ARM support and will work on a Raspberry running the cut-down, slightly crippled version of Windows.

You may have more luck with Linux rather than Win10 IoT as there's more open source support for more printers.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: windows 10 IOT printer driver installation

Sun Jan 24, 2016 8:54 pm

DougieLawson wrote:
dcw76 wrote:...I had explain all position to people who may can help me in cause of any suggestion as transferring from x86 to ARM and recompiling .
if there is not , may be it be a good idea for a software that do this transfer .
Do you have access to the source code for the driver? Do you have the datasheets for the printer? Or is that private and secret information that is only available to the manufacturer?

If you don't have the source and the vendor doesn't have an ARM driver then send the printer back as "not fit for purpose", get a refund and buy a printer that does have ARM support and will work on a Raspberry running the cut-down, slightly crippled version of Windows. You may have more luck with Linux rather than Win10 IoT as there's more open source support for more printers..
"It is NOT for discussions of the merits and/or downsides of Win10 or Microsoft. Posts along those lines will be deleted without warning."
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: windows 10 IOT printer driver installation

Sun Jan 24, 2016 9:04 pm

You might find some of these helpful

Best Practices Guide for Developing Printer Drivers
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Introduction to Printing
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Getting Started with UMDF
https://msdn.microsoft.com/en-us/librar ... s.85).aspx


You might like to look at the below as the source is available and may be portable to ARM.

http://www.printerplusplus.com/Download
Microsoft Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows 2008, Windows 7, Windows 8
•Micoroft .Net Framework 4.0
•Supported 32-bit and 64-bit Systems
•Intel Pentium III 500 MHz or above
•512 MB or more RAM
•Hard disk free space: 10mb for the program files.

printer++ is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

P.S. If you do manage to create a printer driver then it might be of note that some other people who created generic software printer drivers for x86 sell the libraries for $200 a pop! More than one of them.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

dcw76
Posts: 3
Joined: Sat Jan 23, 2016 4:25 am

Re: windows 10 IOT printer driver installation

Wed Jan 27, 2016 5:42 am

Dear Dougie,
Unfortunately , I think it is OEM device by unknown manufacturer and no source code .

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: windows 10 IOT printer driver installation

Wed Jan 27, 2016 8:06 am

"If you don't have the source and the vendor doesn't have an ARM driver then send the printer back as "not fit for purpose", get a refund and buy a printer that does have ARM support and will work on a Raspberry running the cut-down, slightly crippled version of Windows. You may have more luck with Linux rather than Win10 IoT as there's more open source support for more printers."

Your wrong here, as you often are as regards to the capabilities and competencies of Windows 10 Core IoT v10586. (Which you obviously know so well - not).

https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Windows Runtime APIs for desktop apps

Obviously some (and only some) of those are missing from IoT but then you get to add back in the ones that are only provided in the Windows 10 Core ARM/x86 IoT 'extras' like GPIO, SPI, I2C, etc.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

User avatar
DougieLawson
Posts: 38508
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: windows 10 IOT printer driver installation

Wed Jan 27, 2016 10:22 am

dcw76 wrote:Dear Dougie,
Unfortunately , I think it is OEM device by unknown manufacturer and no source code .
Then you're going to have a hard time getting it to run with any computer. If it's a USB printern th plug it in to your regular (uncrippled) Windows system and see what happens. You can get things like the idVendor and idProduct from the Windows device manager. You can see if the FULL version of Windows on your laptop loads a driver for it.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: windows 10 IOT printer driver installation

Wed Jan 27, 2016 11:05 am

DougieLawson wrote:
dcw76 wrote:Dear Dougie,
Unfortunately , I think it is OEM device by unknown manufacturer and no source code .
Then you're going to have a hard time getting it to run with any computer. If it's a USB printern th plug it in to your regular (uncrippled) Windows system and see what happens. You can get things like the idVendor and idProduct from the Windows device manager. You can see if the FULL version of Windows on your laptop loads a driver for it.
Supplied by the manufacturer of the printer in all cases. Just because they are not up to speed does not make it Microsoft's fault (or Windows 10 Core IoT), but you knew that, right?
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

Return to “Windows 10 for IoT”