B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
This will cause your problem. You need to use the proper installation procedure for your printer driver. (you have put a 32bit driver on a 64 bit machine)
(I've always wanted a pet zebra, can you just print them these days? 3D printers are fantastic!)
akosinoah
Member
8 Points
11 Posts
HELP I NEED TO PRINT CARDS USING ASP.net WEBAPPLICATION USING ZEBRA CARD PRINTER P430i
Jun 14, 2012 05:27 AM|LINK
We need your help to solve printing issue with Card Printer (Zebra P430i)
Card Printer is directly connected to Server and it is working in LAN.
From the web application we are directly printing to the server as in the sample code provided (By invoking zebra DLL).
Copied the DLL files to system folder.
The printer is working fine from client and server if we are doing test print or running using visual studio.
But not woking through the IIS.
I am getting the following exception from IsPrinterReady()
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Is there any other method to print the card (printer in client/server) using c# and ASP.net?
Please help us to sort out the issue.
HELP HELP HELP PLEASE
zebra printer
gerrylowry
All-Star
20577 Points
5721 Posts
Re: HELP I NEED TO PRINT CARDS USING ASP.net WEBAPPLICATION USING ZEBRA CARD PRINTER P430i
Jun 14, 2012 08:46 AM|LINK
@ akosinoah
you might try this (i've never used it myself):
http://www.windowsitpro.com/article/internet/q-how-can-i-enable-internet-printing-under-microsoft-iis-
g.
Paul Linton
Star
13571 Points
2571 Posts
Re: HELP I NEED TO PRINT CARDS USING ASP.net WEBAPPLICATION USING ZEBRA CARD PRINTER P430i
Jun 14, 2012 08:56 AM|LINK
(I've always wanted a pet zebra, can you just print them these days? 3D printers are fantastic!)
akosinoah
Member
8 Points
11 Posts
Re: HELP I NEED TO PRINT CARDS USING ASP.net WEBAPPLICATION USING ZEBRA CARD PRINTER P430i
Jun 14, 2012 12:38 PM|LINK
it is already enabled on the server
mbanavige
All-Star
135166 Points
15505 Posts
ASPInsiders
Moderator
MVP
Re: HELP I NEED TO PRINT CARDS USING ASP.net WEBAPPLICATION USING ZEBRA CARD PRINTER P430i
Jun 16, 2012 02:38 PM|LINK
As Paul indicated, this error:
is usually related to loading 32bit dlls in a 64bit environment (or the reverse)
If you have 64 bit dlls on a 64bit server, the system folder is: c:\windows\System32\
If you have 32 bit dlls on a 64 bit server, the system folder is: c:\windows\SysWOW64\
If it turns out your dlls are 32bit, then you'd also need to run your app as a 32bit app which is a setting in your app pool: http://www.codeproject.com/Tips/325824/Running-a-32-bit-application-under-IIS-on-a-64-bit