AddJob metodu
Şöyle yaparız.
Şöyle yaparız
Şöyle yaparız
Şöyle yaparız.
Şöyle yaparız.
var job = queue.AddJob();Şöyle yaparız
String filePath = ...;
bool fastCopy = queue.IsXpsDevice;
FileInfo file = new FileInfo(filePath);
// Print the Xps file while providing XPS validation and progress notifications.
PrintSystemJobInfo xpsPrintJob = queue.AddJob (file.Name, filePath, fastCopy);
Şöyle yaparız
bool fastCopy = queue.IsXpsDevice;Şöyle yaparız.
queue.Name
ShareName Alanı
Şöyle yaparızPrintQueue queue = ...;
Console.WriteLine("Printer: {0}, Port: {1}, ShareName: {2}, Status: {3},
  PrintingIsCancelled: {4}", 
  queue.Name, queue.QueuePort.Name, queue.ShareName, queue.QueueStatus,
  queue.PrintingIsCancelled);
 
Hiç yorum yok:
Yorum Gönder