bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: print buffer produces incorrect format with emacs-22.1 and Sol 10


From: Gary Mills
Subject: Re: print buffer produces incorrect format with emacs-22.1 and Sol 10
Date: Sat, 16 Jun 2007 21:26:53 -0500
User-agent: Mutt/1.5.10i

On Sat, Jun 16, 2007 at 10:08:23PM -0400, Glenn Morris wrote:
> 
> Can you confirm it works if you use this:
> 
> (setq lpr-page-header-switches '("-h" "%s" "-F"))

Yes, it works...

  ==> /var/spool/print/dfA193S0106080020b3a84b <==
  
  
  Jun 16 21:13 2007  ascii Emacs buffer Page 1
  
  
  |000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel|
  |010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si |
  |020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb|
  |030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us |
  |040 sp |041  ! |042  " |043  # |044  $ |045  % |046  & |047  ' |

Okay, that was too simple!  The same peculiar thing happens on the
command line:

  $ pr "-h ascii Emacs buffer" -F /usr/pub/ascii | head
  
  
  Jan 21 17:26 2005   a Emacbuff Page 1
  
  
  |000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel|
  |010 bs |011 ht |012 nl |013 vt |014 np |015 c   |016 so |017 si |
  |020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb|
  |030 can|031 em |032 sub|033 esc|034 fs |035 gs |036    s |037 us |
  |040 sp |041  ! |042  " |043  # |044  $ |045  % |046  & |047  ' |

I'll have to go look at the source to see why it does that.  It makes
no sense at all to interpret some characters as flags and the rest
as the header.

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]