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

Re: Hardcopy



On Wed May 17, Timothy Larkin asks several questions about print-u:
that I wrote:
> I am trying to print the contents of a window to a laserwriter. I run MCL
> 2.01, System 7.5.1, and driver 8.2.

> I tried print-u.lisp (September 20, 1993), but it doesn't work at all.
> After handling the options dialog, it puts up a progress window and goes
> off to la-la-land, from which it never returns.

This problem has been reported and fixed in the latest version of
print-u.lisp, with a 1994 date. 

General Comment -->
Before reporting problems with user contributed code, please ensure
that you have the latest version. Most code is available by anonymous
ftp from ftp.digitool.com and is stored in the directory pub/MCL2/contrib.
End general comment <----

Here are the comments from the "Update history" for print-u.lisp.
;;  1994-06-17  Modifications to support LaserWriter 8.1.1. Problems occured
;;              since the new laserWriter interacts in subtle ways. In 
particular,
;;              the new driver changes the (href ,pRec :tprint.prflag1.flags) 
;;              during the calls to the #_prJobMerge and #_prJobDialog trap 
calls.
;;              The new driver displays its own print progress dialog box, 
obviating
;;              the need. However, it does need to say press command-period to 
cancel.
;;              The version of print-u does not display a print progress dialog 
box.
;;              It will, however accept the cancel command (command-period) to
;;              cancel printing after completing the print job dialog.
;;              The printing stops after completing a full page for non-fred 
windows.
;;  1994-07-01  Added routines for retrieving fields in the print style record.
;;              based on suggestions by Rob Browning

> I tried hardcopy.lisp, but it returns an error when it tries to get the
> print record.

Since I developed print-u and based it on hardcopy (with lots of help
from Bill St. Clair at Apple), it is  not suprising that hardcopy.lisp did not
work. 
  I tried using Print... from the File menu, and it produced only the frame
  of the window.
Loading print-u (or compiling, or evaluating it) modifies the "Print..."
file menu item. It should have the same effect as executing a "window-hardcopy".

mark