Alpha Video Training
Results 1 to 6 of 6

Thread: Printing Word RTF format report-thousands of pages print

  1. #1
    Member
    Real Name
    Bill Ogden
    Join Date
    Jan 2008
    Posts
    8

    Default Printing Word RTF format report-thousands of pages print

    I'm working on a report, based on a set. The report has a detail section. I'm about halfway through laying it out, and wanted to test what I have so far. I entered a dummy record in the form (based on the same set as the report), double click on the report, and it looks pretty good. I then add a simple print button - the report will have to be produced in Word format to account for situations I can't anticipate. It generates the first page of the RTF file as gibberish, followed by 2700 pages of single characters in a huge font. I haven't written any sort of "real" code to print to RTF yet, just testing, but this is not encouraging. See attached for visual backup.
    Attached Files Attached Files

  2. #2
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,314

    Default Re: Printing Word RTF format report-thousands of pages print

    This isn't the answer, but can you try the following?
    I am presuming that the fields on the form are Rich Text and that they contain the data you want printed.

    On the form with the Print Button, try setting it to Preview, not Print.
    Create the Preview Button using Action Scripting.

    Navigate to the record and Preview by pressing the button you just created.

    Now choose the option to save it in a RTF format.
    View it.

    Next, try a print from the top menu bar.

    If all is well, it's your code at fault.
    If not, please upload a sanitized set and your code so we can look at it.

    You can actually embed a Print Button in the report if you wish, as you would on a form.
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    See our site for Alpha Support, Conversion and Upgrade.

  3. #3
    Member
    Real Name
    Bill Ogden
    Join Date
    Jan 2008
    Posts
    8

    Default Re: Printing Word RTF format report-thousands of pages print

    Thanks Ted, I appreciate it. I've done some more testing and the problem seems to be the link to Word. The report previews perfectly. The report prints perfectly to PDF. If I open the program using the Runtime version, it formats (mostly) correctly in RTF. When I go back to the developer version, I get gibberish.

    Then, I tried a different report that I've always used previously in PDF format, and sure enough, I get the same type of gibberish when I print it to RTF.

    I guess I could save in PDF, then convert to a Word doc, but shouldn't have to. Any suggestions?

  4. #4
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,314

    Default Re: Printing Word RTF format report-thousands of pages print

    If you care to send me a copy of where you are at,
    example.consulting@btinternet.com
    I'll be happy to see if I can fix it, no guarantees but it's easier when I have stuff in front of me.
    You data will be safe anyway, but a sanitised version would be better.
    Your call.
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    See our site for Alpha Support, Conversion and Upgrade.

  5. #5
    Member
    Real Name
    Bill Ogden
    Join Date
    Jan 2008
    Posts
    8

    Default Re: Printing Word RTF format report-thousands of pages print

    Sorry for the delay in responding. I had to turn my attention to my day job! I found the problem, though. Any report that I print to RTF is doing the same thing, it's not just the one I'm working on. It's printing in a font size 900+. If I open the document in Word, select all, and change the font size to something reasonable like 12, the report is fine. I haven't found a setting in Alpha to change this...any ideas?

  6. #6
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,314

    Default Re: Printing Word RTF format report-thousands of pages print

    Suggest you install Libre Office - free alternative to Word - and see if the same thing happens.
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    See our site for Alpha Support, Conversion and Upgrade.

Similar Threads

  1. Print pdf report - maximum pages
    By Tom Patten in forum Alpha Five Version 11 - Desktop Applications
    Replies: 5
    Last Post: 05-08-2014, 12:15 PM
  2. Report in word document format????????
    By satyanarayana in forum Application Server Version 11 - Web/Browser Applications
    Replies: 0
    Last Post: 04-26-2012, 03:11 AM
  3. Can I convert the Word Document Report into PDF Format?
    By Suvarchala in forum Application Server Version 11 - Web/Browser Applications
    Replies: 4
    Last Post: 01-25-2012, 01:47 AM
  4. How to generate a Report in Word Document Format to PDF?
    By Suvarchala in forum Application Server Version 11 - Web/Browser Applications
    Replies: 2
    Last Post: 01-14-2012, 07:12 AM
  5. How to generate the Report in word Document format?
    By jyothi28.g in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 01-12-2012, 09:25 PM

Bookmarks

Posting Permissions

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