Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Jun 2001
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Divert printer output to an RTF (2000 9.0 SR-1)

    Good morning all:

    Click once on the button and the following prints the current Ms. Access record, displayed in the form, on the screen to your default printer. How can I modify the code so that I can divert the output to an RTF?

    Private Sub Print_Form_Click()
    On Error GoTo Err_Print_Form_Click

    DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
    DoCmd.PrintOut acSelection

    Exit_Print_Form_Click:
    Exit Sub

    Err_Print_Form_Click:
    MsgBox Err.Description
    Resume Exit_Print_Form_Click

    End Sub

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Divert printer output to an RTF (2000 9.0 SR-1)

    Have you looked at the Publish to Word tool on the Tools-->Office links menu?
    Charlotte

  3. #3
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,623
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Divert printer output to an RTF (2000 9.0 SR-1)

    As an amplification to Charlotte's comment, you wouldn't be able to output that kind of thing to RTF, as they don't really support graphics. As she suggests, you would be better off going to Word or creating a PDF.
    Wendell

  4. #4
    Lounger
    Join Date
    Jun 2001
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Divert printer output to an RTF (2000 9.0 SR-1)

    Thanks for the tips. Publish to Word tool on the Tools-->Office links menu? Guess that I will have to turn it back on since all that I use is the [Start] tool bar. I can get it to goto Word from Print Preview, as an RTF, in Ms. Access though.

    johnC.

Posting Permissions

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