[ENH] PrintJob v1.1

John M McIntosh johnmci at smalltalkconsulting.com
Fri Feb 22 06:35:43 UTC 2002


>  > Ok, I've alter the PrintJob class a bit to add offsets for form printing.
>>
>
>Would you ever want anything but to *center* the form?  I believe the
>main use of this printing facility is to print out an interesting
>Morphic screen, so all the features here are a little overwhelming.
>
>
>  -Lex

Mmm they aren't any extra as compared to the original primitive: Draw 
this bitmap at this offset and scale it. By default scaling is 1.0 
and offset is 0,0 You should notice that I've not even broken out 
convenient calls or instance variables that get set and used so that 
you can control all those features.

Somehow I thought some Smalltalker outthere would code those up in a 
few minutes after I had done the messy part of that 
slang/plugin/platform stuff. The class is *real* primitive.

Oh postscript printing doesn't work. That requires much more effort. 
I think you can dump raw postscript, dumping PDF postscript doesn't 
cut it. Also you need to have the right printer. It's doable but 
no-one seems to have the right level of desperation to do it (yet)...

-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list