The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic

Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.

If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.

Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.

Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Printing multi page reports

  • Filter
  • Time
  • Show
Clear All
new posts

  • Printing multi page reports

    Since my upgrade to v7 I cannot print more than the first page of my reports to a Windows printer (HP LJ 1100A). Am I missing something?

  • #2
    RE: Printing multi page reports

    Not clear why this is happening. There is nothing special that you should have to do to print a multi-page report.

    can you try this:

    1. in your a4v7 program folder, there is a batch file called alpha4.bat. it contains this. (note. this message board does not allow you type in backslashes, so in the code below, i am replacing the backslash with a forward slash/.)

    printdump.exe spool/ptrinfo.a4
    start winagent "|path=spool|delete=yes|keep_req=no"
    a4v7.exe -2
    start winagent "command=quit"

    2. make a copy of this batch file and call it a4debug.bat

    3. start winagent "|path=spool|delete=no|keep_req=yes"

    4. start alpha four by typing "a4debug".

    5. print your report to your windows printer.

    6. quit a4.

    7. go to the "spool" sub-directory that is beneath the alpha four v7 program directory.

    8. in this directory there should be a file with a .txt extension, and one with a .req extension. the .txt extension is your report. confirm that this file has multiple pages in it.

    9. zip up the .txt file and the corresponding .req file and attach them to a reply to this message.



    • #3
      RE: Printing multi page reports


      zip file attached as requested.

      Rob Cawley


      • #4
        RE: Printing multi page reports


        I looked at the files that you sent me and I can reproduce the problem.

        The problem is that the .txt file (i.e the report that you want to print) does NOT have a formfeed character between pages.

        When printing to a Windows Printer driver, Alpha Four needs to have a formfeed character between pages.

        The thing that is strange is that when you create a Windows Printer driver in A4V7, it is supposed to be AUTOMATICALLY configured to insert a form-feed between pages. I don't understand why, in your case it is not doing this.

        If you open the file that you sent me (the .txt file) in Notepad, you will see that the first character in the file is a funny "box" character. something similar to this should be visible at the start of each page.

        The attached file is an example of this generated on my machine.

        Here are things to test.

        1. create a new printer definition in a4 that references another windows printer.

        2. create a new report that has multiple pages in it.

        3. print the report. then look at the .txt file in the spool folder. does it have form feeds between pages?


        • #5
          RE: Printing multi page reports


          I have tried this on three PCs (1 x W98 and 2 x W2000) and three printers (Okipage 4W, HP LJ 1100A, and HP Photoprint) and used different reports all with the same result. The form feed character does not appear in any of the the .txt files.

          The reports are set up to do form feed after printing.



          • #6
            RE: Printing multi page reports


            I have just loaded my new a4v7 and am having the same problems as Robert. I have gone through your suggested a4debug.bat and I too do not have the box character between pages in the txt file. Have you solved this one yet?



            • #7
              RE: Printing multi page reports


              Is it possible to send me the database and report files so that I can try to duplicate the problem on my machine.



              • #8
                RE: Printing multi page reports

                Hi Selwyn

                Thanks for the speedy reply. Having played around with my reports today I have found that in 'report parameters' if 'page breaks' = yes, then prints all pages. If 'page breaks'=no, then only prints one page of report and stops. Is this any help in diagnosing the problem?

                Sorry I cannot send you my files for security reasons.



                • #9
                  RE: Printing multi page reports

                  I too can not print more than 1 page of a report. I have an Epson stylus 600 on LPT1. Looked for the fixes suggested but no help.


                  • #10
                    RE: Printing multi page reports

                    The reason that you cannot print more than one page is simple. Your report definition specifies "No page breaks".

                    To fix:

                    1. Edit the report.

                    2. Press the F7 key and select "Report Parameters"

                    3. At the prompt: "Page Breaks", change the selection from "NO" to "YES".


                    • #11
                      RE: Printing multi page reports


                      Not that simple I'm afraid. I had already checked that and it still does not print more than one page.



                      • #12
                        RE: Printing multi page reports

                        My report parameters are "Yes" for page breaks. Only first page prints.


                        • #13
                          RE: Printing multi page reports

                          FWIW using Windows 98SE I'm able to print multi-page reports using a fixed width font on both a Xerox xdf125 printer/copier and also on a Lexmark Z53 color inkjet. In both cases if I had to try to set them up as a 'DOS Printer' under Alpha Four I'd be dead in the water.

                          -- tom


                          • #14
                            RE: Printing multi page reports

                            It has been a few days without any further posts to this thread. Am I the only one still geting 1 page reports? An interesting thing I found is, if you reduce the line per page to 30 or 40 it will then print a page 2 header and continue to print whatever can be printed on 1 page. I also tried building a complete new report in v7 in case something may have dropped from v6 to v7. That only produces the same result.
                            Carl Person


                            • #15
                              RE: Printing multi page reports

                              Carl, I'll be glad to try to print your report here, if you will zip a copy of your database folder and send it to me, or post it here. If privacy is an issue you might create some dummy records and send those instead.

                              Did you see the other thread, posting a revised version of printdump.exe? Don't know if that will help, but thought I'd mention it to you.

                              -- tom