printer begindoc error
Posted: Sun Mar 13, 2022 3:05 am
just two lines code:
-----------------------------
dim p as Printer
p.begindoc
-----------------------------
got error:
Runtime error at position 1887
Access violation at address 00432A4C in module 'printerTest.exe'. Read of address 0000001D
however, with two line code:
-----------------------------
Lprint "hello world"
Lpend
-----------------------------
There's no error, the printer works successfully.
-----------------------------
dim p as Printer
p.begindoc
-----------------------------
got error:
Runtime error at position 1887
Access violation at address 00432A4C in module 'printerTest.exe'. Read of address 0000001D
however, with two line code:
-----------------------------
Lprint "hello world"
Lpend
-----------------------------
There's no error, the printer works successfully.