gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing form GNUstep


From: Fred Kiefer
Subject: Printing form GNUstep
Date: Tue, 21 Nov 2000 20:00:14 +0100

No, printing is still not working, but I added a hack to NSPrintOpertion
and to XGStreamContext to allow a view to be printed as Postscript into
a file. There are still a lot of restrictions:

1) This only works for the xgps backend. (But Adam said that there is
something similar to that for DPS as well)
2) The way the printing context is created is really a hack.
3) A lot of window operations are output to the file, which should only
go to the screen. (We should use [isDrawingToScreen] more in our code)
4) The gstate used by the window and the view is useless, as this has
been created for a different context. Should be cleared somehow.
5) On my machine floating point numbers are output with a comma, which
makes them unreadable for a Postscript interpreter. (This is caused by
glibs localization and I did not find out how to switch it off for a
single file)
6) Many output operations are still missing.

But if you know that and just want to see what is send to the screen
normally, than this is a fine diagnostic tool. The output goes hard
coded to /tmp/NSTempPrintFile.

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]