Hello All!
- Posted by Travis Beaty <atora at XOOMMAIL.COM> Jul 12, 2000
- 515 views
Hello All! I am working on a Euphoria IDE and I was wondering if I could get your help with a couple of menial problems. The first involves printing to the printer using win32lib.ew. I have an older dot-matrix printer (IBM Proprinter II). The goal is to get the information out of an MleEdit and sent it to this printer. When I try this using wPuts(), the printer appears to "misinterpret" the \r\n and "prints" them as small rectangular boxes. I have tried quite a few combinations of \r and/or \n, and none of them seem to work, yet the printer works just fine with say, Microsoft Word, for instance. Any ideas? This is driving me up the wall ... The second question involves the maximum capacity of the MleEdit. From some of the literature I've read, I got the impression that the MleEdit's max. capacity was 32k. However, I'm having problems with the Mle in my program when it gets to 29k. This is how I'm calculating the size of what's in the Mle in k: AmountK = floor(length(getText(mleTextEditor)) / 1024) Using this formula, the MleEdit appears to "lock up" around 29k, at which point it will not allow you to put in any additional information. Is the math wrong? What is the capacity of an Mle in bytes? Thank you, Travis Beaty Claude, Texas Travis Beaty Claude, Texas "The man who grabs the cat by the tail learns 44% faster than the person who stands back and watches." -- Mark Twain ______________________________________________________ Get your free web-based email at http://www.xoom.com Birthday? Anniversary? Send FREE animated greeting cards for any occasion at http://greetings.xoom.com