Loading ...
Sorry, an error occurred while loading the content.

WinElvis 2.2.0 Printing Question (Win XP)

Expand Messages
  • kendirr
    Prior to upgrading to 2.2.0, I was able to print the contents of a file in WinElvis (using the printer button) in whatever the current font and font size were.
    Message 1 of 5 , Dec 11, 2003
    • 0 Attachment
      Prior to upgrading to 2.2.0, I was able to print the contents of a
      file in WinElvis (using the printer button) in whatever the current
      font and font size were. With 2.2.0 the file is printed in the
      current font, but not in the current size (it prints in a much larger
      size). I am printing ordinary text files. Any ideas why this might
      be? Is there a printing option in WinElivs to set the printing font
      size?

      Possibly related to this, I see in the elivis.ini the following lines:

      """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
      """""""
      " GUI DEFAULT SETUP GOES HERE (may be overridden in .exrc file)
      switch gui
      case windows so! (elvispath("elvis.win"))

      However, there was no such elvis.win file with the distribution. Or
      are we to create that?

      Thanks.
    • Georg Neis
      ... No idea, but show us your printing settings (:set lp?). ... so is a shortcut for source (see :h so) and these lines should execute the contents of the
      Message 2 of 5 , Dec 14, 2003
      • 0 Attachment
        * kendirr <kendirr@...> wrote:
        > Prior to upgrading to 2.2.0, I was able to print the contents of a
        > file in WinElvis (using the printer button) in whatever the current
        > font and font size were. With 2.2.0 the file is printed in the
        > current font, but not in the current size (it prints in a much larger
        > size). I am printing ordinary text files. Any ideas why this might
        > be?

        No idea, but show us your printing settings (:set lp?).

        > Possibly related to this, I see in the elivis.ini the following lines:
        >
        > """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
        > " GUI DEFAULT SETUP GOES HERE (may be overridden in .exrc file)
        > switch gui
        > case windows so! (elvispath("elvis.win"))
        >
        > However, there was no such elvis.win file with the distribution. Or
        > are we to create that?

        'so' is a shortcut for 'source' (see :h so) and these lines should
        execute the contents of the file elvis.win as ex commands if the
        gui is set to "windows". Right, there's no elvis.win (I don't know
        why)... but I can't see a relation to your problem.

        Gruß, Georg
        --
        ___ _ _ |"Why are we hiding from the police, daddy?"|
        | __|| |__ __(_) ___ | "Because we use vi son, the use emacs." |
        | _| | |\ V /| |(_-< +-------------------------------------------+
        |___||_| \_/ |_|/__/ | Elvis FAQ - http://georg.f-451.net/elvis/ |
      • Georg Neis
        ... Oops, from the manual (:kwic elvis.win): case windows so! (elvispath( elvis.win )) case x11 so! (elvispath( elvis.x11 )) case gnome so!
        Message 3 of 5 , Dec 14, 2003
        • 0 Attachment
          * Georg Neis <georg@...> wrote:
          > * kendirr <kendirr@...> wrote:
          > > Possibly related to this, I see in the elivis.ini the following lines:
          > >
          > > """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
          > > " GUI DEFAULT SETUP GOES HERE (may be overridden in .exrc file)
          > > switch gui
          > > case windows so! (elvispath("elvis.win"))
          > >
          > > However, there was no such elvis.win file with the distribution. Or
          > > are we to create that?
          >
          > 'so' is a shortcut for 'source' (see :h so) and these lines should
          > execute the contents of the file elvis.win as ex commands if the
          > gui is set to "windows". Right, there's no elvis.win (I don't know
          > why)...

          Oops, from the manual (:kwic elvis.win):

          case windows so! (elvispath("elvis.win"))
          case x11 so! (elvispath("elvis.x11"))
          case gnome so! (elvispath("elvis.gnome"))

          These lines set the defaults for the "windows", "x11", and "gnome"
          user interfaces. For "x11" and "gnome", these set up the toolbar
          and other features. There isn't actually an "elvis.win" file
          distributed with Elvis because those features are hardcoded in
          the Windows version of Elvis. The "!" suffix on the :so command
          prevents an error message when no file is found.

          Gruß, Georg
          --
          ___ _ _ |"Why are we hiding from the police, daddy?"|
          | __|| |__ __(_) ___ | "Because we use vi son, the use emacs." |
          | _| | |\ V /| |(_-< +-------------------------------------------+
          |___||_| \_/ |_|/__/ | Elvis FAQ - http://georg.f-451.net/elvis/ |
        • kendirr
          Georg, Thanks for the replies. That makes sense now why there is no elvis.win file. Regarding my printer settings, here they are: nolpcolor lpcontrast=50
          Message 4 of 5 , Dec 15, 2003
          • 0 Attachment
            Georg,

            Thanks for the replies. That makes sense now why there is no
            elvis.win file. Regarding my printer settings, here they are:

            nolpcolor lpcontrast=50 nolpcrlf lpheader nolpnumber lpout=prn
            lpwrap lpcolumns=80 nolpconvert nolpformfeed lplines=60
            lpoptions= lptype=windows

            Seems like they are all reasonable.

            Thanks.

            --- In elvis-editor@yahoogroups.com, Georg Neis <georg@f...> wrote:
            > * Georg Neis <georg@f...> wrote:
            > > * kendirr <kendirr@x...> wrote:
            > > > Possibly related to this, I see in the elivis.ini the following
            lines:
            > > >
            > >
            > """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
            ""
            > > > " GUI DEFAULT SETUP GOES HERE (may be overridden in .exrc file)
            > > > switch gui
            > > > case windows so! (elvispath("elvis.win"))
            > > >
            > > > However, there was no such elvis.win file with the
            distribution. Or
            > > > are we to create that?
            > >
            > > 'so' is a shortcut for 'source' (see :h so) and these lines should
            > > execute the contents of the file elvis.win as ex commands if the
            > > gui is set to "windows". Right, there's no elvis.win (I don't
            know
            > > why)...
            >
            > Oops, from the manual (:kwic elvis.win):
            >
            > case windows so! (elvispath("elvis.win"))
            > case x11 so! (elvispath("elvis.x11"))
            > case gnome so! (elvispath("elvis.gnome"))
            >
            > These lines set the defaults for the "windows", "x11",
            and "gnome"
            > user interfaces. For "x11" and "gnome", these set up the toolbar
            > and other features. There isn't actually an "elvis.win" file
            > distributed with Elvis because those features are hardcoded in
            > the Windows version of Elvis. The "!" suffix on the :so command
            > prevents an error message when no file is found.
            >
            > Gruß, Georg
            > --
            > ___ _ _ |"Why are we hiding from the police, daddy?"|
            > | __|| |__ __(_) ___ | "Because we use vi son, the use emacs." |
            > | _| | |\ V /| |(_-< +-------------------------------------------+
            > |___||_| \_/ |_|/__/ | Elvis FAQ - http://georg.f-451.net/elvis/ |
          • Steve Kirkendall
            On Sun, 14 Dec 2003 11:28:01 +0100 ... Right, it s an lp setting. In Elvis 2.1, the windows lptype adjusted the lpcolumns and lplines options were adjusted
            Message 5 of 5 , Dec 15, 2003
            • 0 Attachment
              On Sun, 14 Dec 2003 11:28:01 +0100
              Georg Neis <georg@...> exclaimed:
              > * kendirr <kendirr@...> wrote:
              > > Prior to upgrading to 2.2.0, I was able to print the contents of a
              > > file in WinElvis (using the printer button) in whatever the current
              > > font and font size were. With 2.2.0 the file is printed in the
              > > current font, but not in the current size (it prints in a much larger
              > > size). I am printing ordinary text files. Any ideas why this might
              > > be?
              >
              > No idea, but show us your printing settings (:set lp?).

              Right, it's an lp setting. In Elvis 2.1, the "windows" lptype adjusted
              the lpcolumns and lplines options were adjusted to reflect the font size.
              In 2.2, the font size is adjusted to match the lpcolumns and lplines
              options.

              For every lptype except "windows", the lpcolumns and lplines options
              have always controlled the printing size, so the old behavior of 2.1's
              "windows" lptype was definitely quirky. 2.2 brings its behavior in line
              with the other lptypes.

              Also, since elvis isn't really a desk top publishing program, there's
              no reason to tie the printing font size to the screen font size.

              --
              Steve Kirkendall |A:It is confusing, since people don't read that way
              kirkenda@...|Q:Why is top-posting bad?
              |A:It is adding comments to the top of a message
              |Q:What is top-posting?


              [Non-text portions of this message have been removed]
            Your message has been successfully submitted and would be delivered to recipients shortly.