개정판 9d299fda
printer test
Change-Id: I626af7ef2b26a5c80a68006ef42db4105c506d2c
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1500 | 1500 |
try: |
1501 | 1501 |
#app_doc_data = AppDocData.instance() |
1502 | 1502 |
|
1503 |
printer = QPrinter(QPrinter.HighResolution)
|
|
1504 |
printer.setPageSize(QPrinter.A0) |
|
1503 |
printer = QPrinter(QPrinter.PrinterResolution)
|
|
1504 |
#printer.setPageSize(QPrinter.A0)
|
|
1505 | 1505 |
printer.setOrientation(QPrinter.Orientation.Landscape) |
1506 | 1506 |
#printer.setOutputFileName(app_doc_data.activeDrawing.name) |
1507 | 1507 |
dialog = QPrintDialog(printer) |
내보내기 Unified diff