Printer Status
Hi,
I want to retreive printer status information which is connected to a computer on a network computer.I want to get info about online/offline/busy/paper out/error/printing etc. Can i get the code for this.This is very urgent for me.
Also I am very new to .net.So please anybody can help me???
Mike GoldPosted Jul 30, 2007, 11:12 AM
[DllImport("winspool.drv", CharSet=CharSet.Auto, SetLastError=true)]
static extern uint GetPrinterData(IntPtr hPrinter, string pValueName, out uint pType, byte[] pData, uint nSize, out uint pcbNeeded);
Best,
-Mike
Rahul KaduPosted Jul 30, 2007, 6:48 AM
Mike GoldPosted Jul 29, 2007, 10:54 PM