Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!dc2g2000vbb.googlegroups.com!not-for-mail From: SaGS Newsgroups: comp.lang.postscript Subject: Re: Simulating a spreadsheet in PCL? Date: Thu, 5 Apr 2012 01:07:34 -0700 (PDT) Organization: http://groups.google.com Lines: 32 Message-ID: References: <87k41we946.fsf@ixod.org> NNTP-Posting-Host: 86.120.194.152 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1333613601 11926 127.0.0.1 (5 Apr 2012 08:13:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 Apr 2012 08:13:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: dc2g2000vbb.googlegroups.com; posting-host=86.120.194.152; posting-account=4VbILQkAAADLiafmPSAdNABXLx9ltb6i User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; en; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 11.60,gzip(gfe) Xref: csiph.com comp.lang.postscript:654 On Apr 4, 2:13=A0pm, "JJ" wrote: > "Mark T. B. Carroll" wrote in messagenews:87k41we946.fsf@i= xod.org... > ... > I've written stuff in PCL before. =A0We use it quite a bit but not the > "graphics" so much with grids or lines. =A0Finding info on that is hard a= nd 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=92t 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 no= t > ideal. =A0So, I'd rather try to write something directly in PCL and just = run > one conversion we have to PDF. It=92s 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=92ll 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 > ...