[comp.sys.mac.hypercard] Printing fields - problem!

bskendig@phoenix.Princeton.EDU (Brian Kendig) (06/27/89)

In my HyperCard stack, I have a background text field in which different
information is entered on each card.  The information is only a few
paragraphs of text, but it's too much to all fit in one screen, so I'm
using a scrolling field to hold it all.

I'd like to have a "Print" button that the user can click on to obtain a
hardcopy of the text on a certain card.  HyperCard can't do this directly.
I've found three different XCMD's to do the trick -- but none of them
works correctly.

 o  First, I had HyperCard copy the text in the field to the clipboard, then
    use PrintClip (from the Developer's Stack) to print it out.  Most of the
    text comes through okay, but strange garbage characters are also thrown
    in.  I can't have this happening.

 o  Then I tried PrintField, from a stack of the same name (I forget who
    created it).  PrintField again prints most of the text, but this time it
    leaves out bits and pieces - no rhyme or reason to its omissions, and it
    never generates the same output twice in a row.  Strange.

 o  So I tried PrintDoc, an XCMD that is included in the ShowDialog stack.
    I had high hopes, because that stack appears to be very well-made, but
    PrintDoc flat-out bombed my machine.

I don't see where I'm going wrong.  All of this was tested on one Mac Plus
and one Mac SE, both connected to a LaserWriter Plus over a TOPS network.
The network has never given me problems before, no matter what contortions I
put it through, so I have faith in it.  It's the XCMD's I don't trust.

Anyone happen to have any ideas as to why these won't work, or suggestions
as to what other means I could try to print my text from HyperCard?

Many thanks!
     << Brian >>


-- 
| Brian S. Kendig         /\ +----+ /\ of Power | bskendig                   |
| Computer Engineering   / Triforces! \ Courage | @phoenix.Princeton.EDU     |
| Princeton University  +----+ \/ +----+ Wisdom | @PUCC.BITNET               |
| Systems Engineering, NASA Space Station Freedom / General Electric WP3     |