Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.visyn.net!visyn.net!not-for-mail From: "Mark T. B. Carroll" Newsgroups: comp.lang.postscript Subject: Re: Simulating a spreadsheet in PCL? Date: Tue, 03 Apr 2012 18:36:09 -0400 Organization: none Lines: 21 Message-ID: <87k41we946.fsf@ixod.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: hoshi.visyn.net 1Fntdh+mZAqMn+VnXDftg4wkRWO04voEsbMS/sgNFhtQID3DBIVjWdJSViKZz/lY X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Tue, 3 Apr 2012 22:36:09 +0000 (UTC) X-User-ID: zuCwlGCqmKcyplCS9RMXScENpvb51/IOZOf5NHp5pUo= Cancel-Lock: sha1:WXh5pysL/2d0YrNo2lFDq0C6pSE= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Xref: csiph.com comp.lang.postscript:652 "JJ" writes: (snip) > I'd like to be able to read in a CSV file that my system creates into a PCL > file and somehow simulate the cells that you would see in an Excel > spreadsheet. In other words, I need the little cells/boxes around the > numerical data or it will be just too hard to read. I don't know if you have to worry about wrapping onto multiple pages or anything, which complicates things a little extra, but it should be fairly easy to write a program that reads your CSV and writes out PostScript that renders what you want, then there are opensource tools that can convert PostScript to PCL. Let us know a bit about what extra complications might exist, like multiple pages or multi-cell-spanning special cells, if you want to do something like this and would like further help. For instance, you mention numerical data: does it need some special justification, like right- or by-decimal-point or anything? And, there isn't any special character or font stuff to worry about, like text in Hebrew? Is the simplest one-page center-all-data or whatever good enough? Mark