3 Replies Latest reply on Apr 19, 2008 5:11 AM by William_Donelson

    Printing from Lingo

    William_Donelson
      I have a database of names in MM Dir MX 2004.

      I want to print out one line from the text string onto each page output.

      Is there a way to do this?

      Thanks
      William


        • 1. Re: Printing from Lingo
          Level 7
          The only printing capability that Director has natively is printFrom()
          which will print the entire contents of a frame or series of frames. You
          could set up an otherwise empty frame with a text sprite that contains
          the stuff you need printed and then print that frame.

          Apart from that, there is the fabulous printOMatic xtra which will let
          you print in all sorts of wonderful ways, including just a text member.

          There is also Impressario which is for PDF files, but you can create a
          PDF file on the fly and put the text you want in it them print that.
          • 2. Re: Printing from Lingo
            William_Donelson Level 1
            Thanks. I think I will give "printFrom()" a go...

            • 3. Re: Printing from Lingo
              William_Donelson Level 1
              !!!

              Update:

              The printFrom() Lingo function ONLY prints at 72 DPI, which is pretty nasty.

              Since I already own "Buddy API" for Mac, there is a function:

              baPrintFile(filePath)

              which will print a file. I can write & overwrite a single text file with the names info, then print the file each time.

              This works very well, is fast, and uses high quality fonts.

              Hope this helps everyone.

              BTW- The BuddyAPI Xtra package is terrific. It contains MANY very useful system functions. I end up using it all the time!