I have an ASP application that prints from the server using Win32 spooler (see http://support.microsoft.com/kb/322091/EN-US/
The program works perfectly on Std. Windows 2003 or in Windows 2003 64 bit edition as long as IIS is set for 32 bit mode.
I have tried setting the Target CPU to x64, but it will not compile. I get the following error:
Error 1 File "C:\Programs\ZebraLabels\bin\ZebraLabels.dll" is not a valid assembly. ZebraLabels
Warning 2 Possible problem detected while building assembly 'ZebraLabels': Referenced assembly 'mscorlib.dll' targets a different processor
Warning 3 Possible problem detected while building assembly 'ZebraLabels': Referenced assembly 'System.Data.dll' targets a different processor
Interestingly enough, I wrote a windows form application in c# that calls my printer class using the Target CPU as x64 and it works! So, it looks like the problem is in IIS.
My question, then, is does anyone know how to fix this, OR, does anyone know how to print for VB
or C# raw to a printer in any other way?