Revision [270]

This is an old revision of ioFormPrint made by JohnMcIntosh on 2008-10-19 05:43:34.

 

sqInt ioFormPrint(sqInt bitsAddr, sqInt width, sqInt height, sqInt depth,



Parms:
bitsAddress oops address where the bits are
width width
height height
depth pixel depth
hScale Horizontal scale upto
vScale Vertical scale upto

return: NONE, fake return of zero
From: Interpreter
Why:
Basic printing.

Responsibility:
Long ago there was some attempt to enable printing from the image. that required sending a bitmap, indicating it's size, and depth, supply some scaling information to deal with pixel versus dpi, and if we wanted landscape versus portrait. This was implemented on windows and unix. The macintosh implementation used the printJob plugin which proved more control over the printing process and the ability to print postscript. Later in Sophie we moved towards using Rome to generate PDF.

MacIntosh
os-9/OSXCarbon
int ioFormPrint(int bitsAddr, int width, int height, int depth, double hScale, double vScale, int landscapeFlag) {
#pragma unused( bitsAddr, width, height, depth, hScale, vScale, landscapeFlag)
return true;
}

Cocoa:
TBD

iPhone
Printing doesn't seem to be a feature?

Unix
Attempt to use pnmtops to print it

Windows
Attempt to send the image to the default printer, assuming the VM supports this feature

BUGS

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki