_PrintDocument = new FixedDocument();
_dlg = new PrintDialog(); if (ShowPrintDialog) _dlg.ShowDialog(); _PageSize = new Size(_dlg.PrintableAreaWidth, _dlg.PrintableAreaHeight); _PageSize.Height = 100; //überschreiben der Druckerkonfiguration auf fixe Seitenhöhe _PrintDocument.DocumentPaginator.PageSize = _PageSize; _Borders = borders;
Hello *All, I am trying to create several labels on a thermal transfer printer in one run. For this I use the FixedDocument, where one label corresponds to one page. The documentViewer shows the labels as requested. The PageSize.Height also reacts. The printer creates a label (page), but then advances it to approx. DIN A4 and only then prints the next label or page. In the Seagull printer driver, a label size of 101.6 x 38mm was set under Page Setup for testing. Start Offset: 0.0mm Stop Offset: 17.8mm
At the moment I have no idea. Thank you very much for your support.