Results 1 to 6 of 6
  1. #1
    Sarge79 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    2

    Lightbulb VBA to print to PDF


    Hello, first off I am a new member and this my first post. I did a search and found a few results but haven't been able to stitch them together.

    So here is what I am trying to accomplish. I am using Access 2010. I import data into a table with numerous records. I then run a report that puts the records into a standard form. Currently when the form creates it lumps them into a multipage document. What I would like to do is have a code that will print to single page PDF. Whats more I would like it to name the document using the date a record entry of the persons name. Lastly save said PDFs to a designated folder.

    Variables:

    Table name: Phone
    Record to name PDF: Agent Evaluated
    Report name: Phone eval

    Any help would be highly appreciated. Thank you all for your time.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Sarge79 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    2
    The second link looks like what I need. Could you help me implement it. Admittedly I am a bit new to this and I am more of a reverse engineering learner.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I don't know your database and therefore cannot give specific code. 'Reverse engineer' the examples and attempt code for your situation. When you encounter issue, post question with code for analysis. Do you know anything about VBA programming? http://office.microsoft.com/en-us/ac...005186705.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    jopap is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2012
    Posts
    3
    Install Free PDF Creator such as bullzip and use vba to print to it (it has an object library you can reference).

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I tried installing Bullzip PDFprinter but the GhostscriptLite component download and install fails. I tried downloading from another source but Bullzip doesn't find it. Ideas?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print & Print Preview Differ
    By IDH in forum Reports
    Replies: 3
    Last Post: 07-25-2012, 09:50 AM
  2. Replies: 5
    Last Post: 10-26-2011, 02:59 PM
  3. Replies: 0
    Last Post: 02-22-2011, 05:04 AM
  4. Print Preview different from Print Hardcopy
    By peterc in forum Reports
    Replies: 4
    Last Post: 10-27-2009, 05:35 AM
  5. Error when trying to print or print preview
    By TriAdX in forum Reports
    Replies: 8
    Last Post: 08-25-2009, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums