If I have a very large document to print, and on each page of the document you need to say "page x of y". Was it possible to pre-calculate y without printing twice, as suggested here: http://bytes.com/topic/c-sharp/answers/862133-c-printing-page-count
I try to avoid printing once by receiving them and then installing it and then printing it again.
No, because there is no way to know in advance how many pages your printout will take without actually rendering the content.
You do not need to print it twice, you just need to simulate printing first.
Source: https://habr.com/ru/post/895384/More articles:VSHost.exe continues to work in VS2010 - debugginghttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/895380/why-is-googles-infowindow-css-not-exposed-customization-is-too-hard&usg=ALkJrhi3VWugd861v9BfGCscAUuEqIqm6APHP empty POST variables - phpHow to preprocess PrintDocument to calculate the total number of pages before printing? - .netHandlebar.js does not update my template - javascriptRails: order by the sum of two columns - sqlHow to use the Java comparator? - javaREST Java client - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/895388/outer-padding-and-margins-with-masonry-isotope&usg=ALkJrhgWy4wLaHYEhUi60_OyommaZxXZBQWhat is the advantage of a message queue over shared data in streaming? - c ++All Articles