Questions tagged [printqueue]
45 questions
1
vote
0 answers
Printer Job - Paused, But still printing
i'm trying to pause a print job once i print a document. but the problem is the printer will still continue even it says Paused.
i have an event log listener that would check for Microsoft-Windows-PrintService/Operational logs and my code would…

Ezz Redfox
- 89
- 1
- 9
1
vote
1 answer
Does PrintQueue or PrintTicket has any property or method to determine the selected printer is a virtual printer?
Does PrintQueue or PrintTicket has any property or method to determine the selected printer is a virtual printer?
For example, the process should restrict M/S Xps Document Writer, Fax, Send To OneNote, PDF Printer etc.
Only actual printers should be…

TNath
- 19
- 1
1
vote
0 answers
Binding an observable collection to a printer queue
I am trying to monitor a print queue using a Observable Collection however when an item is added to the printer queue it does not updated. am I missing something. Here is my code so far.
Imports System.Printing
Imports System.Text
Imports…

user3736915
- 11
- 3
1
vote
2 answers
How to pause the Win32_printJob by Printername and JobID
TASK
When user print the document ,pause the pop will appear then fill the form click enter the form will closed and job has been resumed.
We have 50 Network Printers , 2000 Client Machine and one print server.
EACH CLIENT had 3 or 4…

Karthikeyan Sekar
- 223
- 3
- 13
1
vote
1 answer
C++ Change Print Queue Owner
I want to know if it is possible to change the “Owner” name that is visible when you bring up the print queue to view the queued printer documents. I have a Windows Service that receives a document from a user and sends it a Windows printer, and the…

Krasher19
- 11
- 3
1
vote
0 answers
got The calling thread cannot access this object because a different thread owns it. when canceling printjob in c#
I want to cancel a specific print job in a print queue by it's job info but when the program run cancelling code gots an error
The calling thread cannot access this object because a different thread owns it.
the code is here :
void…

Rasool Kiani
- 50
- 7
1
vote
0 answers
How to Disable Advanced Printing Features (RawOnly) with C#
I'm trying to Disable Advanced Printing Features (RawOnly) with C#.
I can list all printers:
foreach (string printer in PrinterSettings.InstalledPrinters)
{
Console.WriteLine(printer);
}
I can Read RawOnly feature:
PrintQueueAttributes[]…

fapw
- 185
- 1
- 2
- 15
1
vote
1 answer
Zebra labels missing and out of order
We are trying to print a batch of labels onto a Zebra printer. However, there are two problems:
- Sometimes some labels are missing
- Sometimes some labels appear in the wrong order
The Zebra printer is setup as a Text/Generic printer in Windows.…

Poppert
- 447
- 1
- 5
- 16
1
vote
1 answer
Print Job Exception when adding job in PrintQueue
With this code:
PrintQueue pq;
using (var PS = new LocalPrintServer())
{
pq = PS.GetPrinterQueue("HP Printer");
}
pq.AddJob("JobName 1", "C:\\Resources\\basic.xps", true, pq.DefaultPrintTicket.Clone());
I can successfully print files with some…

Alb Nav
- 19
- 3
1
vote
1 answer
C# - Enumerating network printers on remote machine
I am writing an application to check if a network printer from a print server is connected to a remote machine, but having trouble with the remote part... I'm using System.Printing and passing in the remote hostname/IP address through the 'compID'…

cmode
- 11
- 1
- 5
1
vote
1 answer
Printing from canvas control in WPF
My application prints from a canvas (WPF, C#), but the application needs to have assigned a default printer. The default printer is saved as a .ini file on the PC. The concept is, staff can click the print button on my canvas, the canvas would…

Dave
- 8,163
- 11
- 67
- 103
0
votes
0 answers
Java App to listen the printer queue and reroute jobs
i want to write an app to listen to the jobs in the printer queue.
depending on the doc name (or some content in the doc) i want to
reroute this job to the correct printer. all printers are identical,
so formating will not be an problem.
my…

Hannes Ledl
- 1
- 1
0
votes
0 answers
When sending a ZPL print job to print queue of a printer the job spools, but does not print
We are having a problem getting a print job to print using a print server and print queue. The print job shows in the print queue with a status of spooling, but does not print. When stepping through the program line by line, the job shows up in the…
0
votes
1 answer
DllHost.exe memory leak when getting PrintTicket
I have a x86 application working on windows10 (64 bit environment).
One pf the app's features is to generate a lot of reports, so there is a lot of printing involved.
However, I noticed that every time I try to use call DefaultPrintTicket on the…

Yamamotooko
- 96
- 1
- 8
0
votes
1 answer
Batch Script - Verify a printed file went to the print queue
Windows XP w/Network Printers (\server\printer1)
Making a batch script for printing PDF files via FoxitReader and Foxit does not store errorlevels, so I'm trying to find a way for the script to verify that the file being processed made it to the…

Anthony Miller
- 15,101
- 28
- 69
- 98