[gnu.emacs.bug] lpr.el bug

cdm@UUNET.UU.NET (Clifford David Morrison) (04/11/89)

In GNU Emacs 18.52.3, the lpr.el print-region actually prints
the entire document.  (Unfortunately I discovered this on
a 120 page document where I wanted to print 3 lines).  The
change needed to fix this is as follows...

Change (insert-buffer-substring oldbuf) to
(insert-buffer-substring oldbuf start end)

Insert-buffer-substring by default takes the whole buffer.... 
Start and end limit the insertion to the region.

If you need any help duplicating my problem, let me know.
I believe it should be rather easy to.

+-----------------------------------------------------------------------------+
|   CCC DDD  M   M   Clifford D. Morrison                                     |
|  C    D  D MM MM   Electronic Data Systems Corporation                      |
|  C    D  D M M M   EDS Proprietary Research                                 |
|   CCC DDD  M M M   1323 Columbia, Suite 315                                 |
|  ***************   Richardson, Texas  75081                                 |
|                                                                             |
|  Work Phone:  (214) 490-2728             Home Phone:  (214) 867-3953        |
|  GEnie:  C.D.MORRISON                    UUNET:  !uunet!edsr!sanfelipe!cdm  |
|                                                                             |
|  Disclaimer:                                                                |
|               My views do not necessarily (or usually) represent            |
|                 the views of my employer or anyone but myself.              |
+-----------------------------------------------------------------------------+