Windows Embedded CE 6.0 USB Printer Driver - visual-studio-2005

I am going to write USB printer driver for Windows Embedded CE 6.0.
But I dont from where to start.
Now I installed VS2005, patches of WinCE6.0, VS2005 team suite SP1, Platform Builder SP1, R2,R3.
Tell me how to start to write the driver, whether from VS 2005.
In which application I am going to write the driver application.
How to use platform Builder, how PB is helpful for me to write the USB driver.
I have Win CE 6.0 device is with me.
Plz help me .
When Printer connected to device, device gives error for "give the driver name for printer",
I tried by giving pcl.dll.
tell me how to use pcl.dll also

I would follow the documentation for Windows CE 5.0, I don't imagine WinCE 6 being much different.
http://msdn.microsoft.com/en-us/library/aa447572.aspx
Printer Driver Samples
...
Two printer driver samples are available to you: A generic printer driver, called Pcl.dll, and a USB printer driver.

Related

How to simulate sensors with Visual Studio 2015 and Windows 10?

I'm trying to develop a simple Windows 10 app and I wanted to simulate a Pedometer for testing. How can I do that? And what about other type of sensors, can I simulate them too?
Ok I found a solution.
Microsoft provides sample drivers here and there you can find sensors folder. So download what you need, compile and deploy.
To compile you need Windows Driver Kit.
If you're deploying to a x64 machine the drivers has to be signed. I had trouble signing the drivers so I booted Windows 10 with no driver signature enforcement and deployed the driver using DevCon. Check the driver INF once compiled to see the installation instructions.

AVR ATMega 2560 USB driver error

I have an issue while installing drivers for the ATMega 2560. I downloaded the drivers from the ATMEL website, no issues during installation, but once small window pops up it gives me an error that the drivers are not compatible with x64 operating systems, although a lot of my colleagues are using x64. If you need I can take a snip of the error message.
P.S. Forgot to mention I`m using x64 Windows 8.1, with the latest updates installed and Atmel Studio 6.2.1153
I had the same problem recently and many of the driver links on the Atmel and other sites are for old versions of the driver. If you install the Atmel Software Framework you'll find signed drivers in a location similar to the following:
C:\Program Files (x86)\Atmel\Atmel USB Drivers\inf\atmel_devices_cdc\atmel_devices_cdc.inf
C:\Program Files (x86)\Atmel\Atmel USB Drivers\inf\atmel_devices_cdc\atmelinf.cat
Supported Windows versions are listed as Windows 2000, XP, Vista, 7 and 8 (x32 and x64) and I've confirmed it works fine on Windows 8.1 x64 as well. I've assumed you're using a CDC class driver but there are also updated drivers for the DFU bootloader if that's what you're after.

Windows embedded CE 6.0 USB printer driver

I am going to write USB printer driver for Windows Embedded CE 6.0. But I dont know from where to start. Now I installed VS2005, patches of WinCE6.0, VS2005 team suite SP1, Platform Builder SP1, R2,R3.
Tell me how to start to write the driver, whether from VS 2005. In which application I am going to write the driver application. How to use platform Builder, how PB is helpful for me to write the USB driver.
I have Win CE 6.0 device is with me. Plz help me .
pcl.dll is not working for this device. plz tell me how to write driver, steps for it.
If you want to plug a printer into your CE device, start with the source found on your PC at:
C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\PRINTER
If you want your CE device to act as a printer, start with the source found on your PC at:
C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\UFNPRN
Clone the code to your BSP (do not modify the code in the locations above), make the modifications and then do the build/sysgen/makeimg as necessary. Iterate until you have what you want.

WinUSB failing on non-development computers

Good afternoon,
WinUSB is working well on the development computer that I am using (Win XP SP3). I am able to download new firmware to the Cypress FX2, and then connect to the new USB device once it 'renumerates'. However, if I've tried the same code with the WinUSB driver on a few other computers (Win XP SP3, Win7 x64) and they both returned the error "A device attached to the system is not functioning." when trying to use CreateFile to get a handle to the USB device.
The devicePath was found successfully, so I'm not sure why it cannot connect to the device. Furthermore, the device manager states that my device is working properly. I'm curious if I'm missing something when compiling the code? I would guess that my development computer has something installed on it that the other computers do not? Or perhaps it's a power setting and the device is going to sleep (although I've fooled around with the Power Options on each computer to no avail).
Does anyone have any ideas? I've compiled under Visual Studio 2008, and have installed the Microsoft C++ 2008 Redistributable Package on the computers that I've tested on.
Thanks,
Giawa
Solved: The GUID that my driver was using was shared with another device on the system, which was returned instead of my device. The device just happened to not be installed on my computer. I've generated a new GUID and everything seems to work now.
Giawa

Windows 7 Driver for Print to XPS

The link to the Windows 7 DDK (or WDK) is not something I seem to be able to get to.
I need to write a driver that will convert the content to XPS and then do something with it. The "do something" is easy, but its the first part I'm not sure of.
I found links to the Win7 WDK but as I said above I can't get to it (my company has MSDN but I can't find it in the downloads).
As for the XPS part, I found this link which talks about XPS now available, and the resulting link to here doesn't seem to focus on drivers at all and seems more general.
I'm wondering if anyone can help with these two issues. Is writing a driver for Win7 much the same as Vista, in which case I can at least get started with the Windows 2008 WDK? And has anyone used this XPS filter pipeline to print to XPS with their own custom drivers?
Appreciate all help.
You can find a link to the Windows Driver Kit (WDK) 7.0.0 on the How to get the WDK page.
For driver development, XPSDrv drivers developed for Vista (and the downlevel redist for XP & Server 2003) are compatible with Windows 7. However, Windows 7 adds new Win32 APIs that can be used within an XPSDrv and help with manipulating XPS content and provide a driver-safe rasterization capability.

Resources