Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uunet!mcsun!hp4nl!dnlunx!pttrnl.nl!buys From: buys@pttrnl.nl Newsgroups: comp.lang.postscript Subject: Determine string-length in program Message-ID: <1991Jan24.090812.64950@pttrnl.nl> Date: 24 Jan 91 08:08:12 GMT Lines: 14 Does anyone have a solution for the following problem: I want to generate PostScript code from a program that prints multiple lines on a printer-label in a proportional spaced font. My problem is that I don't know how I can determine the length of a string so that I can break the line in multiple strings that fit within the borders of the printer label (including word-wrap etc.) Any suggestions are welcome. J.P. Buys Neher Laboratories Leidschendam JP_Buys@pttrnl.nl