View Single Post
  #1  
Old 12-12-2003, 09:21
Jon Lorber
Guest
 
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:
Code:
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:

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