Home > Net >  C # algorithm on the final exam questions, how duplex printing (single-sided printer only)
C # algorithm on the final exam questions, how duplex printing (single-sided printer only)

Time:09-25

C # final youdao algorithm, topic is probably a single-sided printer, how to put it on the basis of the existing code is modified to double, just need to clarify algorithm, do not need to code, how to answer the questions? I think the first page, first print 1357 odd page, and print 2468 even page, but I don't know how to describe

CodePudding user response:

I am so make of, report page in the List
% 2 is true for the dual,! Print more than % 2 is singular, and by a printed etc.
Set in the array,
Pd=new PrintDocument ();
Pd. PrintPage +=PrintDocument_PrintPage;
Pd. QueryPageSettings +=PrintDocument_QueryPageSettings;

Print the List corresponding page,


The content of the report page List

CodePudding user response:

A piece of paper to print it twice

CodePudding user response:

A piece of paper to print twice, because the need for human to flipped the paper, of course, one thousand cattle to printers, the other says, I don't know this,
Usually print twice, once print odd number 135 a print 246 occasionally

CodePudding user response:

You read what school
Printing the odd page to pause, set hangs, etc. The paper overall, in turn, to start big even page

CodePudding user response:

Play odd page first, and then hang up, give a showDiglog box, and then put the paper inside out good, determine showDiglog box, started to print even page,
  •  Tags:  
  • C#
  • Related