alitoh
6th March 2013, 21:51
Does anybody have any experience with PDF?
I have a pdf file which I want to print (to an HP USB Printer) programatically, and in a way that's transparent to the user: as in 'The user just presses "Print report" and the PDF file is printed automatically (it is NEVER displayed on screen, I recieve this file via network and I just want to send it straight to printer).
Does anyone have any idea on how to achieve this?
Ideally I'm looking a dll or something to use in a manner such as
CrazyPDFLib PdfObject;
PdfObject->sendToPrinter(wackyParameters);
Otherwise, some sort of information about libraries that might do something like that is also welcome.
Also, if you know command prompt applications that do something similar, I might also be able to use.
Platform details:
*Windows 7
*Qt 4.8.2
*Visual Studio 2010
*Printer, if it is of any use, is HP Officejet Pro 8100 (via USB port). Printer drivers are installed.
If I'm not quite clear (which is a possibility), please do let me know and I will try to elaborate on whatever's left unclear.
Regards,
Alejandro
I have a pdf file which I want to print (to an HP USB Printer) programatically, and in a way that's transparent to the user: as in 'The user just presses "Print report" and the PDF file is printed automatically (it is NEVER displayed on screen, I recieve this file via network and I just want to send it straight to printer).
Does anyone have any idea on how to achieve this?
Ideally I'm looking a dll or something to use in a manner such as
CrazyPDFLib PdfObject;
PdfObject->sendToPrinter(wackyParameters);
Otherwise, some sort of information about libraries that might do something like that is also welcome.
Also, if you know command prompt applications that do something similar, I might also be able to use.
Platform details:
*Windows 7
*Qt 4.8.2
*Visual Studio 2010
*Printer, if it is of any use, is HP Officejet Pro 8100 (via USB port). Printer drivers are installed.
If I'm not quite clear (which is a possibility), please do let me know and I will try to elaborate on whatever's left unclear.
Regards,
Alejandro