From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Wm. G. McGrath" Newsgroups: gmane.emacs.help Subject: formatted output from lpr and lp with emacs Date: Sat, 12 Apr 2003 13:02:00 -0700 (PDT) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1150.64.114.128.230.1050177720.squirrel@mail.vcn.bc.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050177776 13600 80.91.224.249 (12 Apr 2003 20:02:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2003 20:02:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 12 22:02:55 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194RDD-0003Wx-00 for ; Sat, 12 Apr 2003 22:02:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194RCm-0001t7-08 for gnu-help-gnu-emacs@m.gmane.org; Sat, 12 Apr 2003 16:02:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194RCR-0001Xe-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 16:02:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194RCO-0001Oe-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 16:02:05 -0400 Original-Received: from vcn.bc.ca ([207.102.64.2]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194RCN-0001B0-00 for help-gnu-emacs@gnu.org; Sat, 12 Apr 2003 16:02:03 -0400 Original-Received: from vcn.bc.ca (localhost [127.0.0.1]) by vcn.bc.ca (8.9.3+Sun/8.9.3) with SMTP id NAA17665 for ; Sat, 12 Apr 2003 13:02:00 -0700 (PDT) Original-Received: from 64.114.128.230 (SquirrelMail authenticated user wgm) by mail.vcn.bc.ca with HTTP; Sat, 12 Apr 2003 13:02:00 -0700 (PDT) Original-To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8420 Hi all, I'm having trouble getting emacs to produce formatted output. I'm not sure that it's even an emacs problem. I can get formatted output from a console by using: pr -l62 -F -o10 filename.txt | lpr This will give me indented text from a Lexmark Optra S printer. But lpr -i 10 -w60 -p will not. Under emacs I have set up lpr-switches to ("-i10" "-w60" "-p") These options show up correctly under M-x list-options However the output from M-x lpr-buffer remains unformatted. How do I format with pr under emacs - or is that the problem? Hoping for clue, bill