J
John Evans
Hello folks.
I have designed a system in C++ 6.0 which manages sales and stock for my
company. Output from the system is in the form of .csv files. The user
needs to be able to print these .csv files (between 1 and 10 copies,
depending).
My problem is that I do not want the user to actually see the .csv file. So
I need the user to print documents directly from C++. I have tried using
the TPrintDialog, and using the TPrintDialog->Execute() command. But I do
not know how to send a document to a print job. I have also come across
BeginDoc() and EndDoc(), but on the whole I dont have a clue!
So how do you print a specific document directly from C++?
Any ideas would be great, thanks.
John
(e-mail address removed)
I have designed a system in C++ 6.0 which manages sales and stock for my
company. Output from the system is in the form of .csv files. The user
needs to be able to print these .csv files (between 1 and 10 copies,
depending).
My problem is that I do not want the user to actually see the .csv file. So
I need the user to print documents directly from C++. I have tried using
the TPrintDialog, and using the TPrintDialog->Execute() command. But I do
not know how to send a document to a print job. I have also come across
BeginDoc() and EndDoc(), but on the whole I dont have a clue!
So how do you print a specific document directly from C++?
Any ideas would be great, thanks.
John
(e-mail address removed)