Article View: comp.lang.postscript
Article #4545Determine string-length in program
From: buys
Date: Thu, 24 Jan 1991 08:08
Date: Thu, 24 Jan 1991 08:08
14 lines
809 bytes
809 bytes
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
Technical Details
Message-ID:
<1991Jan24.090812.64950@pttrnl.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uunet!mcsun!hp4nl!dnlunx!pttrnl.nl!buysShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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