Subject: Bug (ID 3899W): (fwd)

From: ABELES <[email-masked]>
Date: Wed, 2 Apr 1997 17:08:44 -0500 (EST)

---------- Forwarded message ----------
Date: Tue, 18 Mar 1997 17:46:56 -0500 (EST)
From: ABELES <[email-masked]>
To: Pine Developers <[email-masked]>
Cc: [email-masked]
Subject: Bug (ID 3899W): 

I recently installed windows 95 and can no longer print email as hard copy.
Can you suggest how to correct this problem?

                     With Thanks,
                     F. Abeles

========== struct pine * ==========
ui:	login = fabeles, full = ABELES
	home = /usr/admin/fac/fabeles
home_dir=	/usr/admin/fac/fabeles
hostname=	turbo.kean.edu
localdom=	kean.edu
userdom=	NULL
maildom=	turbo.kean.edu
cur_cntxt=	mail/[]
cur_fldr=	sent-mail
actual mbox=	/usr/admin/fac/fabeles/mail/sent-mail
msgmap: tot=19, cur=15, del=0, hid=0, exld=0, slct=0, sort=Arrival
actual inbox=	/usr/spool/mail/fabeles
inbox map: tot=521, cur=520, del=0, hid=0, exld=0, slct=0, sort=Arrival
term type=vt100, ttyname=/dev/ttyp2, size=24x80, speed=normal
======= Current_val options set =======
        personal-name : ABELES
              user-id : fabeles
           inbox-path : inbox
   folder-collections : mail/[]
          default-fcc : sent-mail
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
         feature-list : enable-aggregate-command-set
                      : save-will-not-delete
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
 last-time-prune-ques : 97.3
    last-version-used : 3.91
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Command_line_val options set =======
======= User_val options set (/usr/admin/fac/fabeles/.pinerc) =======
         feature-list : enable-aggregate-command-set
                      : save-will-not-delete
              printer : attached-to-ansi
 last-time-prune-ques : 97.3
    last-version-used : 3.91
======= Global_val options set (/usr/local/lib/pine.conf) =======
           inbox-path : inbox
          default-fcc : sent-mail
     postponed-folder : postponed-msgs
       mail-directory : mail
       signature-file : .signature
         address-book : .addressbook
  saved-msg-name-rule : default-folder
        fcc-name-rule : default-fcc
             sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 use-only-domain-name : no
              printer : attached-to-ansi
     standard-printer : lpr
        bugs-fullname : Pine Developers
         bugs-address : [email-masked]
       elm-style-save : no
      header-in-reply : no
        feature-level : sapling
      old-style-reply : no
       save-by-sender : no
======= Fixed_val options set (NO pine.conf.fixed) =======
========== Feature settings ==========
  no-assume-slow-link
  no-auto-move-read-msgs
  no-auto-open-next-unread
  no-compose-rejects-unqualified-addrs
  no-compose-sets-newsgroup-without-confirm
  no-delete-skips-deleted
  no-disable-config-cmd
  no-disable-keyboard-lock-cmd
  no-disable-password-cmd
  no-disable-update-cmd
     enable-aggregate-command-set
  no-enable-alternate-editor-cmd
  no-enable-alternate-editor-implicitly
  no-enable-bounce-cmd
  no-enable-flag-cmd
  no-enable-full-header-cmd
  no-enable-incoming-folders
  no-enable-jump-shortcut
  no-enable-mail-check-cue
  no-enable-suspend
  no-enable-tab-completion
  no-enable-unix-pipe-cmd
  no-expanded-view-of-addressbooks
  no-expanded-view-of-folders
  no-expunge-without-confirm
  no-include-attachments-in-reply
  no-include-header-in-reply
  no-include-text-in-reply
  no-news-approximates-new-status
  no-news-post-without-validation
  no-news-read-in-newsrc-order
  no-preserve-start-stop-characters
  no-quell-user-lookup-in-passwd-file
  no-quit-without-confirm
  no-save-will-quote-leading-froms
     save-will-not-delete
  no-save-will-advance
  no-select-without-confirm
  no-show-selected-in-boldface
  no-signature-at-bottom
  no-use-current-dir
  no-use-function-keys

---

From: Robin S Socha <[email-masked]>
Date: Thu, 3 Apr 1997 13:35:50 +0200 (CEST)

On Wed, 2 Apr 1997, ABELES wrote:

  >I recently installed windows 95 and can no longer print email as hard
  >copy. Can you suggest how to correct this problem?

Your config says you're printing "attached-to-ansi".

Here's a snippet from the faq:

  Why doesn't "attached-to-ansi" printing work?

   So-called "attached-to-ansi" printing relies on the communication
   software you are using to interpret certain special characater
   sequences that tell it to divert the incoming stream of characters to
   your printer, and then back to your screen. Perhaps 99% of "pine
   printing problems" are either due to PC or Mac communications software
   that doesn't understand ANSI escape sequences for printing, or (in the
   dialin case) softare flow- control problems.
[...]

 1. Check For Software Flow-Control Problems
    A. Try enabling "preserve-start-stop-characters" (requires 3.91 or
       later)
    B. If that doesn't help, verify that the OS is enabling s/w flow
       control; if it isn't, you can either change that in a global
       .login script, or as a worst case, wrap pine in a script that does
       it.  By the way, on our AIX systems, we had to execute "stty -ixon"
       followed by "stty ixon" --no one here knows why the first stty is
       needed. (Note that explicitly enabling s/w flow control in the OS
       will not be needed in 3.92 or later).
    C. If neither of the above apply, double-check that you actually have
       *some* kind of flow control enabled on your system, either hardware
       or software.

 2. Check Your Comm Software For Ansi Printing Capability
    A. After ruling out s/w flow control problems, if printing still doesn't
       work, the odds are that the PC or Mac comm s/w is at fault. I don't
       know how to determine this other than via trial-and-error and
       word-of-mouth.
    B. The "ansiprt" utility included in the pine distribution can also be
       used for testing. It simply sends the specified text file to user's
       terminal device, bracketed with the ANSI escape sequences for print
       diversion. This is just what Pine does as well (although some
       versions of ansiprt offer a few options not available via Pine.)

 3. Possible Other Printing Problems
    A. Printing via Pine's "attached-to-ansi" facility to a postscript-only
       printer. Pine does not yet have the ability to encapsulate text into
       postscript, ala "enscript", so the custom print option using enscript
       and ansiprt will be needed in that case.
    B. Other printer-specific configuration problems.  For example, whether
       or not the printer needs a trailing formfeed to eject the last page,
       or a control-D, or non-Unix newline conventions, etc. Many of these
       problem will also require using the custom print command option and
       "ansiprt".

Hope that helps and stuff...

Later,
Robin

-----
Robin S. Socha,
Political Science Dept., Bonn University, Bonn
Key fingerprint = 7F F2 84 73 CF E9 2C 92  F6 6E F9 B4 8F FE AC 1E
To get my pgp public key, send an e-mail with the subject "get pgp-key"

GMC d++ s+:+ a- C++ UL++$>+++$ P+>++$ E>+ W- N+ o@ w--- M-- PS--- PE+++ Y+
PGP++>+++ t+() 5-- tv++(+) b+++ DI++ D+(++) G++>+++ e++>+++ h r++>+++ y+**

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.