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


Groups > comp.lang.postscript > #654

Re: Simulating a spreadsheet in PCL?

From SaGS <sags5495@gmail.com>
Newsgroups comp.lang.postscript
Subject Re: Simulating a spreadsheet in PCL?
Date 2012-04-05 01:07 -0700
Organization http://groups.google.com
Message-ID <c8a3ce2a-2cd2-4248-b445-8a8358c9ec41@dc2g2000vbb.googlegroups.com> (permalink)
References <jlercf$rgm$1@speranza.aioe.org> <87k41we946.fsf@ixod.org> <jlhaco$a5$1@speranza.aioe.org>

Show all headers | View raw


On Apr 4, 2:13 pm, "JJ" <jeffersonjj.nos...@hotmail.com> wrote:
> "Mark T. B. Carroll" <m...@bcs.org> wrote in messagenews:87k41we946.fsf@ixod.org...
> ...
> I've written stuff in PCL before.  We use it quite a bit but not the
> "graphics" so much with grids or lines.  Finding info on that is hard and I
> do have PCL manuals.

In PCL, the easiest way to draw horizontal/ vertical lines is to draw
narrow rectangles. If you have the PCL Reference, take a look at the
PCL Rectangular Area Fill command; you basically set current point,
width & height, pattern/ shade of gray and then draw the rectangle.
(If you don’t have the PCL Reference Manual, do a Google search for
"site:hp.com PCL Reference manual".)

>
> I have no experience with post script and adding another conversion is not
> ideal.  So, I'd rather try to write something directly in PCL and just run
> one conversion we have to PDF.

It’s actually easier to do it in PostScript from the start (not
yourApp->PCL->PS->PDF or yourApp->PS->PCL->PDF, but yourApp->PS->PDF),
and there are already-made tools to help. In case you’ll want to give
it a try, one that I know of (but have not used) is TinyDict with its
TinyTables. Basically you use a fixed prologue (the tool), then emit
your text with markup commands.
http://www.cappella.demon.co.uk/tinyfiles/tinymenu.html#resources

> ...

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