Click here to Skip to main content
15,888,337 members
Home / Discussions / C#
   

C#

 
QuestionPostback Pin
Agweet14-Aug-08 0:12
Agweet14-Aug-08 0:12 
AnswerRe: Postback Pin
Christian Graus14-Aug-08 0:18
protectorChristian Graus14-Aug-08 0:18 
GeneralRe: Postback Pin
Agweet14-Aug-08 0:21
Agweet14-Aug-08 0:21 
GeneralRe: Postback Pin
N a v a n e e t h14-Aug-08 0:28
N a v a n e e t h14-Aug-08 0:28 
GeneralRe: Postback Pin
N a v a n e e t h14-Aug-08 0:27
N a v a n e e t h14-Aug-08 0:27 
AnswerRe: Postback PinPopular
J4amieC14-Aug-08 0:32
J4amieC14-Aug-08 0:32 
GeneralRe: Postback Pin
Christian Graus14-Aug-08 1:03
protectorChristian Graus14-Aug-08 1:03 
QuestionPrinter document Pages,size in C# Pin
balu1234513-Aug-08 23:39
balu1234513-Aug-08 23:39 
Hi All,

Iam using WMI to get the required printer job information.Here Iam using "Select * from win32_Printjob" from ManagementObjectQuery. In this Iam using thread.sleep for 10 seconds to get the pages,size.

Without thread.sleep Iam getting pages, size as 0.

But this sleep for 10 sec mechanism works only for small documents.

When I get large document It is unable to get the no.of pages,size(just showing them as 0).

1.Is there any way to get the correct pages,size of print document?

2.Is there any way to know that a document came for printing is totally read by spooler?

3.I think after reading all the data only it will go for printing.,am I right or wrong?If right,then how to know that status ready for printing?

Kindly help me

Thanks
AnswerRe: Printer document Pages,size in C# Pin
Uros Calakovic14-Aug-08 11:24
Uros Calakovic14-Aug-08 11:24 
QuestionQuick question about typed lists and dictionaries Pin
Megidolaon13-Aug-08 23:39
Megidolaon13-Aug-08 23:39 
AnswerRe: Quick question about typed lists and dictionaries Pin
N a v a n e e t h14-Aug-08 0:01
N a v a n e e t h14-Aug-08 0:01 
QuestionHow to trace the method call path? Pin
Krishnaraj Barvathaya B13-Aug-08 23:32
Krishnaraj Barvathaya B13-Aug-08 23:32 
AnswerRe: How to trace the method call path? Pin
Pete O'Hanlon14-Aug-08 0:09
mvePete O'Hanlon14-Aug-08 0:09 
Questionserver farm and role of web service in ti Pin
aref8713-Aug-08 23:19
aref8713-Aug-08 23:19 
AnswerRe: server farm and role of web service in ti Pin
Colin Angus Mackay13-Aug-08 23:30
Colin Angus Mackay13-Aug-08 23:30 
GeneralRe: server farm and role of web service in ti Pin
aref8714-Aug-08 10:31
aref8714-Aug-08 10:31 
GeneralRe: server farm and role of web service in ti Pin
Colin Angus Mackay14-Aug-08 11:19
Colin Angus Mackay14-Aug-08 11:19 
GeneralRe: server farm and role of web service in ti Pin
aref8714-Aug-08 13:20
aref8714-Aug-08 13:20 
QuestionListen till they arrived Pin
Pedram Behroozi13-Aug-08 23:03
Pedram Behroozi13-Aug-08 23:03 
AnswerRe: Listen till they arrived Pin
Pete O'Hanlon13-Aug-08 23:12
mvePete O'Hanlon13-Aug-08 23:12 
GeneralRe: Listen till they arrived Pin
Pedram Behroozi14-Aug-08 1:07
Pedram Behroozi14-Aug-08 1:07 
GeneralRe: Listen till they arrived Pin
Pete O'Hanlon14-Aug-08 2:02
mvePete O'Hanlon14-Aug-08 2:02 
AnswerRe: Listen till they arrived Pin
vikas amin14-Aug-08 9:36
vikas amin14-Aug-08 9:36 
QuestionUsing Microsoft.Office.Interop.Excel Pin
Suj_7813-Aug-08 23:03
Suj_7813-Aug-08 23:03 
QuestionEscaping Quotes Pin
maliary13-Aug-08 22:57
maliary13-Aug-08 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.