Anyone ever used PrintJobPlugin?

John M McIntosh johnmci at smalltalkconsulting.com
Thu Aug 7 19:52:43 UTC 2003


>> I left the prims in because I know
>> Squeak can generate EPS, but then it's an issue in the plugin
>> to deal with that.
>
> Okay, so I take this as a "nobody has ever done it yet", correct? ;-)

Ah, it seems you need a true postscript printer to work with. I've not  
looked since CUPS came out
on os-x with which  one could setup with gimp-print and ghostscript to  
fake a postscript printer. The
interface supports poscript versus EPS tho.

> size of the printer (see below). So what I'd propose is to pass along  
> the
> dpi (just like in ioFormPrint) and interpret the offset in the same
> resolution. E.g., for 100dpi an offset of 100 means 1 inch. This  
> should work
> for all but the most obscure cases ;-)

Any chance you can do the math up in smalltalk then pass the data to  
the plugin?
versus having the plugin fiddle with screen-resoultion based form data.

>> Right now the controls are minimal from the programming side,
>> getting/setting page sizes, resolutions, ink type, vendor paper etc,
>> is way more work and never a cross-platform friendly solution, and
>> really I got to avoid having to worry about doing that.
>
> I would _really_ want to have this. If nothing else, you could report a
> pseudo page size up to the ST side and then use this as a basis for any
> further operations.

Yes if you need to do that to figure out the scaling/dpi calculations

--
======================================================================== 
===
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