[comp.sys.mac.hypercard] Printing text from HyperCard

bskendig@phoenix.Princeton.EDU (Brian Kendig) (08/04/89)

This article may be of general interest to anyone who has tried to print
straight text from a HyperCard stack before (I can't imagine that other
people haven't tried it before!).  I also marked it as 'general interest'
in the hopes that someone, somewhere, would read it...

In my stacks, I have several text fields whose contents I would like to
send to a printer (LaserWriter, actually, but it shouldn't make any
difference).  I'm looking for either a neat trick or a good XCMD that will
allow me to do this.

The PrintField XCMD by Mark Scherfling is the best I've found yet.  (It is
available from anonymous ftp to sumex-aim.stanford-edu, as is virtually
every other public-domain piece of Mac software in the known universe.)
It will print the contents of any container (field or variable, not just
a field as the author suggests) in any font, point size, and style.

Unfortunately, it chops off a good deal of the text at the beginning of each
field I attempt to print.  I'm printing rather long fields, but a good XCMD
shouldn't be bothered by the amount of text it sends to the printer.  What
PrintField seems to be doing is to start its printing at a random location
somewhere a short way into the document.  When I print the same field twice,
under otherwise identical circumstances, I get two different printouts.

I'm at a loss for ideas.  Would someone please tell me either
  - what I'm doing wrong with PrintField,
  - where I can find another, better XCMD,
  - how I can accomplish my goal without using XCMD's at all, or
  - if I should throw in the towel and become a hermit on a mountain somewhere?

Thank you.
-- 
| Brian S. Kendig       |  I feel more like I   | bskendig                   |
| Computer Engineering  |  did when I got here  | @phoenix.Princeton.EDU     |
| Princeton University  |       than I do now.  | @PUCC.BITNET               |
| Systems Engineering, NASA Space Station Freedom / General Electric WP3     |

american@pnet51.cts.com (Jeff Iverson) (08/10/89)

I've got a better XCMD, heck it'll even number your pages... but it's not
quite out of the oven yet... maybe I could mail it to ya through the net...

(I know I didn't re-type his whole letter with the goofy little >'s but it was
a long one...)

Yours in HyperCard

Jeff

UUCP: {amdahl!bungia, uunet!rosevax, chinet, killer}!orbit!pnet51!american
ARPA: crash!orbit!pnet51!american@nosc.mil
INET: american@pnet51.cts.com
GEnie:  APOSTASY
AppleLink:  ALL.AMERICAN
U. S. Mail:  All-American Software Development Corp.
             5612 International Parkway
             Minneapolis MN  55428
             Jeff Iverson