Printing dialog in lower left corner with PDFVIew.print()

Good afternoon (o;

Doing a simple SwiftUI app where it fetches a PDF barcode from a web service to be printed on a thermal label printer.

So I use this snippet to fetch the PDF and launch the printing dialog:

        let pdfView = PDFView()

        pdfView.document = PDFDocument(url: self.url!)

        let wnd = NSWindow()

        pdfView.autoScales = true
        pdfView.displaysPageBreaks = false
        wnd.setContentSize(pdfView.frame.size)
        wnd.contentView = pdfView

        pdfView.print(with: printInfo, autoRotate: false)

But the printing dialog appears on the lower left corner of the screen...and when choosing "details" the dialog extends to the offscreen area....

Also no paper size is choosable.

thanks in advance richard