Real printing plugin?

Marcel Weiher marcel at metaobject.com
Tue Mar 12 11:46:05 UTC 2002


On Sunday, March 10, 2002, at 08:12 PM, Chris Becker wrote:

> Exactly what type of printing is currently supported in Squeak, and what
> isn't? The Windows Squeak VM System Preferences include a "Printer
> Configuration" dialog. I was planning on using Squeak applications (like
> Celeste and Scamper) in lieu of Windows apps, but limited printing 
> support
> will put a hold on that.
>
> Is it Postscript printing that isn't presently built in?

Postscript printing *is* presently built-in, but it doesn't actually 
send the Postscript to a printer, but to a file.

To get real printing support requires two steps:

(1) hook up with the underlying OS's printing system in order to 
generate a print job etc.
(2) generate some representation that the OS's printing system 
understands

Currently point (1) is delegated to the user, and (2) relies on the OS 
having some facility for passing Postscript data through to a Postscript 
printer.

Implementation can be in either order.  You could first hook up OS-level 
printing, still relying on Postscript pass-through, or you could first 
generate some kind of OS-specific spool file and let the user print that 
manually.

Marcel


--
Marcel Weiher				Metaobject Software Technologies
marcel at metaobject.com		www.metaobject.com
Metaprogramming for the Graphic Arts.   HOM, IDEAs, MetaAd etc.




More information about the Squeak-dev mailing list