Results 1 to 3 of 3
  1. #1
    Robert2150 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Location
    Sparks, Nv
    Posts
    104

    Printing report to PDF in Access

    I have an Access Database installed on a server that is accessed remotely by numerous users. I have a button to print out a specific report. The problem is that in order for a user to print the report their print driver must be loaded on the server. Due to the number of users, and the numerous types of printers available, this is impractical. The current code on the button is currently:
    Private Sub Command PrintReport Click()
    Dim strWhere As String
    strWhere ="[Property Number] = " & Me.[Property Number]
    DoCmd.OpenReport "RESERVE REQUIREMENT REPORT", acViewNormal, ,strWhere
    End Sub

    I would like to know if there is some code that would send the report to PDF, so that any remote user could then print the report from PDF.

    Thank you for your help in advance.




  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    when the Report object has opened on screen in Print Preview mode - then right click on it and you will be offered several options: one of them is 'Export' and you want to select the PDF / XPS

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,619
    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. Printing Access Report
    By lzook88 in forum Programming
    Replies: 4
    Last Post: 09-29-2015, 10:33 AM
  2. Replies: 3
    Last Post: 12-04-2014, 10:12 AM
  3. Replies: 6
    Last Post: 08-21-2014, 11:02 AM
  4. Replies: 4
    Last Post: 01-08-2013, 04:14 AM
  5. Printing report crashes access
    By romebrown in forum Reports
    Replies: 2
    Last Post: 11-23-2011, 10:30 AM

Tags for this Thread

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