🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2166

DBKit DBTableview -smartprintPS bug

#2166
From: Mike Bray
Date: Wed, 16 Dec 1992 03:26
34 lines
1407 bytes
I have a simple DBTableview loaded with data.  I haven't messed
with any of it's formatters.  If I send it the "smartprintPS" 
selector, both preview and my HP IIISi give me the following:
-----------------

ERROR:  invalidfont
OFFENDING COMMAND:  show
STACK:

(ABW)

------------------

(The "ABW" is the text string in the first cell in the table)

If I have the grid turned on, the grid prints ok, then the error
is flagged.

If I send smartprintPS to the window containing the 
tableview, a large part of the window is printed before the error 
occurs, showing the outline of the table, and the grid, but no
column headings.

Printing the window from IB works fine, showing column headings and
all.  

What's going on?  Examining the postscript file shows that each cell
is filled in with it's data by first positioning, and then 
executing "show".

How do I work around this and get it to work?

Thanks,
Mike Bray  mrb@earth.wustl.edu  307-332-6973 x279
Technical Details
Message-ID: <1992Dec16.032631.5215@wuecl.wustl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gumby!wupost!eclnews!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gumby!wupost!eclnews!usenet
From: mrb@earth.wustl.edu (Mike Bray)
Subject: DBKit DBTableview -smartprintPS bug
Message-ID: <1992Dec16.032631.5215@wuecl.wustl.edu>
Sender: usenet@wuecl.wustl.edu (News Administrator)
Nntp-Posting-Host: earth
Organization: Washington University, St. Louis MO
Date: Wed, 16 Dec 1992 03:26:31 GMT
Lines: 35