Questions tagged [print-job-control]
13 questions
1
vote
0 answers
Ghostscript command to finish a print job in interactive mode?
I am trying to build a shell service that prints PDF documents using Ghostscript running under Windows. The service should run a simple command via stdin with the filename of a PDF document and use the same printer and its settings as a context.
By…

Aleksey F.
- 751
- 7
- 19
1
vote
0 answers
Why does the code below only print the first char of a String?
I'm programming a password calling system, and I'm having trouble to print the callsign. Basically it's supposed to print a String like "C1234", but it only prints the "C" whithout the following numbers.
Already tried messing with the DocFlavor and…

Jevs
- 11
- 2
1
vote
1 answer
Real number of TotalPages of a PrintJob (Win32_PrintJob)
I'm querying to Win32_PrintJob WMI class every time there is a change with ManagementEventWatcher, I obtained data about it, such as: Document, HostPrintQueue, JobId, JobStatus, TotalPages, etc. But TotalPages is not representing the real number of…

karelp90
- 319
- 2
- 7
1
vote
0 answers
Java: get printer Jobs From printer
I'm looking for a method to get Print Jobs data from Printer.
I'm getting only Printer queue count and printer name..
my code.
if (myPrinter != null) {
PrintServiceAttributeSet att =myPrinter.getAttributes();
for (Attribute a :…

aravind
- 11
- 3
1
vote
0 answers
Building a print driver that does not render files- just copy-pastes them
Does anyone know how to build a print driver where the print job processor does not do any rendering to the file, but just copy pastes the original job file to a destination?
All the virtual printer drivers I have seen at least convert the print…

Hamza Alrawi
- 33
- 5
0
votes
0 answers
How to edit page property while printing | C#
I'm creating an application using C# and WinForm to control files being printed by the user. As soon as I print, I run the program with the following code.
I have used the instuction shown in the link below to create this app:
private void…

Oktam Yaqubov
- 113
- 12
0
votes
0 answers
Add Eventhandler for print job is finish
I am trying to figure out how to add an event handler for a print job in my C# application. I want to count down after the print job is complete and update the UI with the new count. I have tried adding an event handler for _printDocument.EndPrint…

Dave
- 15
- 3
0
votes
1 answer
How to print() without printDialog()?
So I have this code that print some string lines, and I want to print it whitout having to choose the printer, and how can I set the pageformat ?
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import…

Lftbrito
- 63
- 5
0
votes
0 answers
Java printjob is not printing anything after creating Jar and exe created with Launch4j
Java printjob is working in eclipse but when we convert the application into exe everything works proper except PrintJob. Can anyone support me?
Note: Using Windows 7
public static void print() {
PdfDocument pdf = new PdfDocument();
…

Akiabi 27
- 39
- 1
- 7
0
votes
1 answer
How to get informed when a print task is completed
I want to get informed when a print job is completed using C#
I'm uisng C# Winform.I wonder if there is a way that an event can be raised when a print job is completed in a specified print queue.I have tried the following solutions:
I'm current…

Ragnarokkr Xia
- 187
- 10
0
votes
1 answer
JavaFx - How to print a SpreadsheetView as a whole
I would like to know how to print a SpreadsheetView (ControlFx API). I tried to do this with the following code, but it only prints the visible part of the SpreadsheetView.
PrinterJob printerJob = PrinterJob.createPrinterJob();
if…

Alexandre Boudet
- 61
- 1
- 6
0
votes
1 answer
Trouble with Print Dialog Focus In Java
I have a JFrame and it opens java Print Dialog.Like below
PrinterJob pj = PrinterJob.getPrinterJob();
if (pj.printDialog()) {
//Print
}
The problem is that my JFrame has the setAlwaysOnTop(true) attribute and Print dialog is opened in…

nihasmata
- 652
- 1
- 8
- 28
0
votes
1 answer
Can Adobe Reader process JDF job tickets?
I'm trying to generate a PDF that can be viewed interactively in Adobe Reader, but also, upon printing, selects different paper trays based on the page. (Some pages are supposed to use stationery, whereas other must not.)
PDF itself apparently…

Sören Kuklau
- 19,454
- 7
- 52
- 86