OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-12-2003, 09:21
Jon Lorber
Posts: n/a
Default VBA Select Printer?

I read a few posts but I haven't been able to select a printer in CD11 in VB.

I tried this but get Object Required as the error:
Set ActiveDocument.PrintSettings.Printer = "MyPrinter"
I was able to however select a print style which has a printer associated with it with this code but I think this is just a way around my problem:

Application.ActiveDocument.PrintSettings.Load "C:\Documents and Settings\MySelf\Application Data\Corel\Graphics11\User Custom Data\Print Styles\MyPrintStyle.prs"
Reply With Quote

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
Select different printers in VBA Anonymous General 2 02-02-2005 17:14
VBA help needed - changing colours fremoikaner CorelDRAW/Corel DESIGNER VBA 1 18-11-2004 06:06
Local Printer Selection ddonnahoe CorelDRAW/Corel DESIGNER VBA 2 13-01-2004 07:36
Printer page size and orientation from VBA narcix CorelDRAW/Corel DESIGNER VBA 9 17-10-2003 14:54
Detect if VBA is installed (an answer and a question) reanan CorelDRAW/Corel DESIGNER VBA 3 04-12-2002 14:35

All times are GMT -5. The time now is 09:36.

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