Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #652

Re: Simulating a spreadsheet in PCL?

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" <mtbc@bcs.org>
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> (permalink)
References <jlercf$rgm$1@speranza.aioe.org>
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

Show key headers only | View raw


"JJ" <jeffersonjj.nospam@hotmail.com> 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

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Simulating a spreadsheet in PCL? "JJ" <jeffersonjj.nospam@hotmail.com> - 2012-04-03 08:45 -0400
  Re: Simulating a spreadsheet in PCL? "Mark T. B. Carroll" <mtbc@bcs.org> - 2012-04-03 18:36 -0400
    Re: Simulating a spreadsheet in PCL? "JJ" <jeffersonjj.nospam@hotmail.com> - 2012-04-04 07:13 -0400
      Re: Simulating a spreadsheet in PCL? SaGS <sags5495@gmail.com> - 2012-04-05 01:07 -0700
        Re: Simulating a spreadsheet in PCL? "JJ" <jeffersonjj.nospam@hotmail.com> - 2012-04-05 06:53 -0400
          Re: Simulating a spreadsheet in PCL? "Mark T. B. Carroll" <mtbc@bcs.org> - 2012-04-05 07:20 -0400
            Re: Simulating a spreadsheet in PCL? "JJ" <jeffersonjj.nospam@hotmail.com> - 2012-04-05 14:14 -0400
  Re: Simulating a spreadsheet in PCL? luser- -droog <mijoryx@yahoo.com> - 2012-04-05 11:11 -0700

csiph-web