How do I print the current page, not the whole document? I'm running a
script in Corel Draw 9, with service packs 1 and 2 applied.
I've tried everything, and in desperation I resorted to the following
- it should work at printing the selected page, however 'An unexpected
error' occurs and you can't save the open document.
I% = MESSAGEBOX("Print Page?" & CHR(13) & "Do you want to print the
current page?", "Print Page", 4 OR 32)
IF (I% = 6) THEN
.SelectAllObjects
.CopyToClipboard
.FileNew
.PasteFromClipboard
.FilePrint
.FileClose FALSE
ENDIF
Where am I going wrong?