'MsgBox "Print it now ?"
PrintSelectedArea("Sheet1",0, 0, 6, 39)
'MsgBox "Page of k = " & k & " was printed.",,"k = 0 to 5"
From the attached files if I pause before or after printing, the result is correct.
But without pausing, the result is incomplete.
MsgBox "Print it now ?"
PrintSelectedArea("Sheet1",0, 0, 6, 39)
MsgBox "Page of k = " & k & " was printed.",,"k = 0 to 5"
How can I replace manually pausing or do I have more codes to replace manually pausing ?
TestErrorOfContinuousPrinting_PauseBeforeAndAfterPrint.ods (54.3 KB)
TestErrorOfContinuousPrinting_NoPauseBeforeOrAfterPrint.ods (54.6 KB)
Ubuntu:
22.04 LTS
LibreOffice:
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3-0ubuntu0.22.04.1
Calc: threaded