none
Printer Page Problems RRS feed

  • Question

  • Oskariok,

    I have a .txt file that is about 3 pages long.  When I go to print it or if I do a preview of it.  It will start clicking off multiple pages.  I end up canceling either the print or the preview depending on which one I am doing as it will go into the hundreds.

    This seems to occur if the text has more than 53 lines in it.  Meaning that it should go over to the next page.  This text file is not formatted meaning it just has about 150 lines in it with no page breaks.  It seems like when it is supposed to go to the second page it throws it into a loop and just keeps clicking off pages.  Any idea as to why this would be happening?  The file prints OK with NotePad.

    Thanks,

    Jricestk 

    Saturday, August 7, 2010 1:36 AM
    Answerer

Answers

  • OK, i look what I can do.

     


    Now it works and it have better printing quality. I publish this fix with next version.

    There was looping bug with StreamReader and True and False.

    WARNING: If you have Data extension 9.0.0.6 and you must print text file with over 2 pages your program will only print page 1 many times


    Sorry My Bad English
    • Edited by Oskariok Saturday, August 7, 2010 6:14 PM Bug fixed
    • Proposed as answer by Oskariok Saturday, August 7, 2010 6:17 PM
    • Marked as answer by litdevModerator Saturday, August 7, 2010 6:24 PM
    Saturday, August 7, 2010 5:57 PM

All replies

  • Can I see your .txt file? In my test I printed over 100 page without any problems.

    Also do you have Data Extension 9.0.0.6?

    And can I see your code?


    Sorry My Bad English
    Saturday, August 7, 2010 8:41 AM
  • Oskariok,

    I have the files on my skydrive.  Printstats.dat is the text file.  TestPrint.sb is the file I am using to print.

    The link is:

    http://cid-b09ecb38df668764.office.live.com/browse.aspx/Small%20Basic

    Thanks,

    Jricestk

     

     

    Saturday, August 7, 2010 1:05 PM
    Answerer
  • OK, i look what I can do.

     


    Now it works and it have better printing quality. I publish this fix with next version.

    There was looping bug with StreamReader and True and False.

    WARNING: If you have Data extension 9.0.0.6 and you must print text file with over 2 pages your program will only print page 1 many times


    Sorry My Bad English
    • Edited by Oskariok Saturday, August 7, 2010 6:14 PM Bug fixed
    • Proposed as answer by Oskariok Saturday, August 7, 2010 6:17 PM
    • Marked as answer by litdevModerator Saturday, August 7, 2010 6:24 PM
    Saturday, August 7, 2010 5:57 PM
  • Oskariok,

    Great!  I'm glad you found something.  Not that I need the fix quickly, but any idea of when the next release is coming?

    Also, thanks for looking at the problem.

    Jricestk

    Saturday, August 7, 2010 6:52 PM
    Answerer
  • Oskariok,

    Any idea of when your next extension release is coming out?

    Jricestk

    Monday, August 9, 2010 1:30 PM
    Answerer
  • Currently next release date is next Thursday*.
    Sorry My Bad English
    • Proposed as answer by Oskariok Monday, August 9, 2010 6:13 PM
    • Edited by Oskariok Tuesday, August 10, 2010 11:04 AM * Edit
    Monday, August 9, 2010 6:12 PM