Mar-12-2024, 05:24 PM
printer.setPageMargins(5, 5, 5, 5, QPrinter.Millimeters)I'm not sure about the units for the margins. 5mm is a bit small but 5 Inch is way too big.
[PyQt] Saving file to html or pdf stopped working in PyQt6
|
|
Messages In This Thread |
Saving file to html or pdf stopped working in PyQt6 - by ejKDE - Mar-12-2024, 02:25 PM
RE: Saving file to html or pdf stopped working in PyQt6 - by deanhystad - Mar-12-2024, 03:28 PM
RE: Saving file to html or pdf stopped working in PyQt6 - by ejKDE - Mar-12-2024, 05:10 PM
RE: Saving file to html or pdf stopped working in PyQt6 - by deanhystad - Mar-12-2024, 05:24 PM
RE: Saving file to html or pdf stopped working in PyQt6 - by ejKDE - Mar-12-2024, 07:45 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[PyQt] [solved] How to display a pdf-file in a PyQt6 widget | BigMan | 13 | 16,911 |
May-06-2023, 09:27 AM Last Post: Axel_Erfurt |
|
event driven coding PyQt6 on Combobox change | merrittr | 3 | 2,271 |
May-03-2023, 03:35 AM Last Post: merrittr |
|
[PyQt] Application desktop toolbar with PyQt6 | bunz | 4 | 1,670 |
Mar-09-2023, 08:09 PM Last Post: bunz |
|
PyQt6 QAction with icon and string | malonn | 2 | 1,844 |
Sep-12-2022, 11:59 AM Last Post: malonn |
|
[PyQt] Embed Google Maps in PyQt6 Widget | Raures | 2 | 3,277 |
Sep-11-2021, 04:32 PM Last Post: Raures |
|
[Tkinter] logical error - saving file | rwahdan | 4 | 2,313 |
Jul-01-2021, 12:59 PM Last Post: rwahdan |
|
[PyQt] saving text file by FileDialog option | atlass218 | 14 | 4,883 |
Feb-19-2020, 09:22 AM Last Post: atlass218 |
|
Part of code is adding extra new line when saving to text file. | lovepeace | 9 | 5,294 |
Aug-24-2019, 12:52 PM Last Post: lovepeace |
|
[PyQt5] [QWebEngineView] HTML file download | nolme | 0 | 5,132 |
May-08-2018, 08:41 PM Last Post: nolme |