How do I print a PRN file on an NDPS printer using Qt components? Applying operating system shell commands it is easy to send a file to another network printer, but NDPS printers seem to be very problematic.
How do I print a PRN file on an NDPS printer using Qt components? Applying operating system shell commands it is easy to send a file to another network printer, but NDPS printers seem to be very problematic.
I'm still waiting for a solution to this problem.
This is not a Qt specific question. Moving to General Discussion.
If you want to have an answer on this, you should probably ask more specific questions. Tell what you did and what exactly the problem is.
The code below shows what I am trying to do. I have a PRN file (or a PostScript file) that I just want to send to the selected printer.
Qt Code:
QPrinter printer; // Send the file to the printer... }To copy to clipboard, switch view to plain text mode
AFAIR prn files are files which were already passed through the printer driver, so it should be enough to send the file directly to the printing device (a crude example: "cat file.prn > /dev/printer").
Bookmarks