Is there some trick to getting newlines to print correctly
using sprintf? Here's an example:

  load 'print sprintf'
  mz =. (<"0 i. 2 3) ; < <"0 i. 4 5
  tt =.  '\nTest\n%j\naAnother test\n%j\n' sprintf mz
  print tt

  If I display tt in my J session, it looks fine,
  but when I send it to a printer, none of the linefeeds
  has any effect. I've tried this with two separate
  printers (under MS windows). Any ideas or insight as
  to what I'm doing wrong?

------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[email protected]

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to