Printing on roll paper

后端 未结 5 1992
忘掉有多难
忘掉有多难 2020-12-29 04:44

I am using C# with Winforms. I am trying to print bills on a paper roll. The width of the paper is 3in but the length of the paper is dynamic (its a roll paper). The length

5条回答
  •  余生分开走
    2020-12-29 05:06

    You can also adjust the paper size on the fly. Less work to do it one line per page, but I'd imagine this would produce a nicer print preview if anyone were to have cause to do that:

    printdoc.DefaultPageSettings.PaperSize.Height += lineheight;
    

提交回复
热议问题