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

Re: page-preview



wilcox@cmns.think.com asks:
  Has anyone written a page-preview function? This function should work
  something like the one in MacDraw or Canvas: it should pop up a dialog

  showing a smaller version of the current window, indicating where the
  page boundaries would fall when printing.

A good place to start on this task is the print-u.lisp file
in /pub/MCL2/contrib/print-u.lisp available by frp from cambridge.apple.com
which performs all of the necessary machinations to print a window
(or a picture) on the printer or into a postscript file. The
simplest way to do this is to use a modification of the document-hardcopy
routine.

mark