Results 1 to 5 of 5

Thread: Printing PDF Files Using VBA

  1. #1
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76
    Login to Give a bone
    0

    Default Printing PDF Files Using VBA

    I am looking for a way to save (print) a PDF of a Drawing using VBA Code. I need to do this using older versions of AutoCAD (i.e. 2005 and 2006).

    Anyone doing this, or know how It can be done.

    Thanks

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: Printing PDF Files Using VBA

    Use the normal print methods using a pdf printer driver in the PlotConfig.
    C:> ED WORKING....


    LinkedIn

  3. #3
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76
    Login to Give a bone
    0

    Default Re: Printing PDF Files Using VBA

    The problem I have is setting the file name.

    When I do it the way you suggested it brings up the File Save Dialog Box. I want the program to specify the file location, bypassing the dialog box.

    thanks

  4. #4
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,420
    Login to Give a bone
    0

    Default Re: Printing PDF Files Using VBA

    That's a function of the specific pdf driver you are using...which is?
    C:> ED WORKING....


    LinkedIn

  5. #5
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76
    Login to Give a bone
    0

    Default Re: Printing PDF Files Using VBA

    I am currently using CutePDF Writer, I have researched it further and I am now looking at using PDFCreator, because I don't think i can automate CutePDF. If anyone knows different I would prefer to keep using CutePDF.

    Thanks

Similar Threads

  1. CTB files are only printing color?
    By ccook79 in forum AutoCAD Plotting
    Replies: 3
    Last Post: 2010-09-04, 10:09 PM
  2. Printing DWF Files - Slower?
    By mboyer in forum Design Review - General
    Replies: 0
    Last Post: 2009-05-18, 02:43 PM
  3. printing CTB files
    By eleonard in forum AutoCAD General
    Replies: 2
    Last Post: 2007-11-06, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •