P
P
Pe4eN2013-12-02 00:52:14
Seal
Pe4eN, 2013-12-02 00:52:14

How to solve printing problem from C# under Windows 8?

I am writing an application for Windows 8 in C#.
I read the manual on how to organize printing from the program. But the next question arose.
After I sent one element for printing and everything was completed successfully, I cannot send another element for printing, due to the fact that my application has already created a document for printing and registered for printing, and this cannot be done a second time without unsubscribing, but I tried all the options where I could unsubscribe. The question is where should I put the print unsubscribe function.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolai Turnaviotov, 2013-12-02
@foxmuldercp

probably "unsubscribe from printing", as you call it, should be called after receiving confirmation of the successful printing of the document just sent

A
Andrey Ovsyankin, 2013-12-04
@EvilBeaver

Please share the printing manual that you read?

V
Voucik, 2013-12-11
@Voucik

I certainly don't know if it's important for you to print programmatically. But I can offer a variant, through Office. So you do not have to bathe with all sorts of printer settings, their drivers, etc. You just need to make a template, for example in Excel and upload your data to it and press the print button already in Office. Here is a link to my own article on how to do it
habrahabr.ru/post/203522 . Might come in handy. And by the way, there the upload takes place in the universal xlsx office format, which means that you can open or print data not only using MS Office, but also in free office analogues (if MS OffIce bothers you). In Libre, Open Office.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question