Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I print the current page?

4 views
Skip to first unread message

gcat...@dawsonmedia.com.au

unread,
Jan 6, 2008, 5:06:40 PM1/6/08
to
Hi all,

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?

0 new messages