OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 20-04-2004, 17:32
Posts: n/a
Default I need HELP printing corel files from VB6!

Hi All,

I need HELP! :cry:

I am trying to find some VB6 code to printout some files through Corel 12. I found code to do the printout, BUT..... I also ran into some other problems.

Here is the code I have:

Dim App As CorelDRAW.Application
Dim doc As CorelDRAW.Document

    Set App = New CorelDRAW.Application
    App.Visible = False
    App.Optimization = True
    Set doc = App.OpenDocument("K:\printmap.cdr")
    Set doc = Nothing
    Set App = Nothing
It works in the basic way, but I need to be able to prevent the Orientation Prompt (adjust orientation automatically?), and to be able to select "FIT TO PAGE".

Thanks In Advance for any and all help.
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
Printing Raw Prn Files Mark Code Critique 2 16-09-2004 17:15
Is Corel to Excel data exchange possible? alex69 CorelDRAW/Corel DESIGNER VBA 8 24-06-2004 05:52
Thumbnailer Issue with EPS files vallentin Macros/Add-ons 2 16-03-2004 11:04
Corel 10 file conversion script doesn't convert files Kevin CorelDRAW CS 0 13-04-2003 21:28
Corel Capture 8 and Corel Script Helix CorelDRAW CS 0 13-12-2002 19:10

All times are GMT -5. The time now is 23:07.

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