Printing a Morph to "default printer" in Win32 VM
Ingo Hohmann
ingo at 2b1.de
Wed Jul 2 22:17:36 UTC 2003
Hi Yoshiki, Darius
Yoshiki.Ohshima at acm.org wrote:
>>How do I print a Morph to the default printer as assigned in Squeak VM
>>preferences?
>>I only find the print-to-file menu option.
>
> Open the inspector for the morph in question from the debug halo and
> evaluate the following line in the code pane. The numbers (300.0)
> should be adjusted based on your printer's DPI (I think).
>
> (self imageForm offset: 0 at 0) primPrintHScale: 300.0 vScale: 300.0 landscape: true.
This did work for me, but where's the default printer preference? I
didn't find it.
Thanks,
Ingo
More information about the Squeak-dev
mailing list
|