DrRacket printing: disable date and filename banner
This commit is contained in:
parent
676066f103
commit
f662ea5322
|
@ -752,8 +752,8 @@ module browser threading seems wrong.
|
||||||
(define/override (on-paint before dc left top right bottom dx dy draw-caret)
|
(define/override (on-paint before dc left top right bottom dx dy draw-caret)
|
||||||
(super on-paint before dc left top right bottom dx dy draw-caret)
|
(super on-paint before dc left top right bottom dx dy draw-caret)
|
||||||
|
|
||||||
;; For printing, put date and filename in the top margin:
|
;; [Disabled] For printing, put date and filename in the top margin:
|
||||||
(when (and before (is-printing?))
|
(when (and #f before (is-printing?))
|
||||||
(let ([h (box 0)]
|
(let ([h (box 0)]
|
||||||
[w (box 0)])
|
[w (box 0)])
|
||||||
(send (current-ps-setup) get-editor-margin w h)
|
(send (current-ps-setup) get-editor-margin w h)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user