OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 31-01-2011, 05:15
Posts: n/a
Default VB6 Paper orientation

Hi all

I get this message when trying to print a page from CorelDraw! 14:

"Printer paper orientation does not match one or more document pages.
Adjust printer automatically?"

CD14 is running on a virtual machine and is being used on dedicated label printers. The page size is set using:

doc.PrintSettings.SetCustomPaperSize LabelWidth, LabelHeight, prnPaperPortrait
(and I've tried changing that to prnPaperLandscape, but I then get TWO boxes on screen making it twice as annoying!).

Is there a way of programmatically saying yes to this prompt, or disabling it altogether?


Reply With Quote
Old 31-01-2011, 09:50
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811

Here's a really cool post that may help.

Or maybe altering page orientation before printing and then putting back after.

Reply With Quote
Old 02-02-2011, 04:37
Posts: n/a

Found a solution! Just needed to say "yes" each time, so this post fixed it for me: http://forum.oberonplace.com/showthread.php?t=6026


Reply With Quote

landscape, paper orientation, portrait, vb6

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Orientation Nico CorelDRAW/Corel DESIGNER VBA 3 25-08-2008 10:19
Remove objects laying outside sheet of paper Sebastian CorelDRAW/Corel DESIGNER VBA 3 31-10-2007 05:24
Printing big size document on a set of small sheets of paper Alex FAQ 1 28-04-2005 08:08
Printer page size and orientation from VBA narcix CorelDRAW/Corel DESIGNER VBA 9 17-10-2003 14:54

All times are GMT -5. The time now is 05:59.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com