CLIM mail archive
printing a clim stream
I'd like to print the content of what has been accumulated in a stream
(part of a pane of a frame).
When the content is only text, it's easy, I just do:
(com-print-history :name t :menu t)
(with-open-file (output-file "nanesse:to-print;history.text"
(frame-standard-output clim:*application-frame*) output-file))
(cp:execute-command "hardcopy file" "nanesse:to-print;history.text"))
But when it's general clim drawing functions, I guess I must use
with-output-to-postscript-stream and somehow replay the history of my
pane (from the parent output-record, right?) in the new postscript
Does someone have a nice and easy example of this to help me out?
Never trust a pretty header: use email@example.com to reply
Keunen Vincent Network Research Belgium
R&D, Software Engineer Parc Industriel des Hauts-Sarts
firstname.lastname@example.org 2e Avenue, 65
tel: +32 41 407282 B-4040 Herstal
fax: +32 41 481170 Belgium
Main Index |