• Re: printing from alpine

    From Eduardo Chappa@21:1/5 to William Unruh on Sun Feb 6 21:36:35 2022
    On Mon, 7 Feb 2022, William Unruh wrote:

    I would like to be able to print to a variety of printers from alpine,
    not simply the default printer, but to use the default if nothing else
    is specified. As far as I have seen in experiments there is now way of sending a -P pritnername flag to lpr )or -d printername to lp) Is there
    some way of sending various options to lpr without editing .pinerc and
    then restarting alpine, only in order to print?

    Press M S P to set up the printer. Here is the output in my computer, so
    you can see where to set up each part. I hope this helps.

    Default printer set to "Bedroom".

    Printer attached to IBM PC or compatible, Macintosh
    This may not work with all attached printers, and will depend on the
    terminal emulation/communications software in use. It is known to work
    with Kermit and the latest UW version of NCSA telnet on Macs and PCs,
    Versaterm Pro on Macs, and WRQ Reflections on PCs.
    Printer: attached-to-ansi
    attached-to-ansi-no-formfeed
    attached-to-wyse
    attached-to-wyse-no-formfeed

    Standard UNIX print command
    Using this option may require setting your "PRINTER" or "LPDEST"
    environment variable using the standard UNIX utilities.
    Printer List: "" lpr

    Personally selected print command
    The text to be printed will be piped into the command given here. The
    command is in the 2nd column, the printer name is in the first column. Some
    examples are: "prt", "lpr", "lp", or "enscript". The command may be given
    with options, for example "enscript -2 -r" or "lpr -Plpacc170". The
    commands and options on your system may be different from these examples.
    Printer List: "Bedroom" /run/media/echappa/Alpine/scripts/printer
    "Print to PS" /run/media/echappa/Alpine/scripts/printer --ps
    "Print to PDF" /run/media/echappa/Alpine/scripts/printer --pdf

    --
    Eduardo
    https://tinyurl.com/yc377wlh (web)
    http://repo.or.cz/alpine.git (Git)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to All on Mon Feb 7 04:31:07 2022
    I would like to be able to print to a variety of printers from alpine,
    not simply the default printer, but to use the default if nothing else
    is specified. As far as I have seen in experiments there is now way of
    sending a -P pritnername flag to lpr )or -d printername to lp) Is there
    some way of sending various options to lpr without editing .pinerc and
    then restarting alpine, only in order to print?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Eduardo Chappa on Mon Feb 7 07:13:48 2022
    This seems to imply that I have to select the printer to usebeofre hand
    in order to set up alpine to use one of a selection. I travel a lot, and
    am often at a place where I have to set up a new printer. This seems to
    imply that at the new place I also have to set up a printer in alpine as
    well.

    It would be nice if I could just enter a command
    lpr -P home-hp
    say, or
    lpr -P home-hp-single
    lpr -P home-hp-duplex
    etc.
    instead of having to set it all up beforehand.


    On 2022-02-07, Eduardo Chappa <chappa@washington.edu> wrote:
    On Mon, 7 Feb 2022, William Unruh wrote:

    I would like to be able to print to a variety of printers from alpine,
    not simply the default printer, but to use the default if nothing else
    is specified. As far as I have seen in experiments there is now way of
    sending a -P pritnername flag to lpr )or -d printername to lp) Is there
    some way of sending various options to lpr without editing .pinerc and
    then restarting alpine, only in order to print?

    Press M S P to set up the printer. Here is the output in my computer, so
    you can see where to set up each part. I hope this helps.

    Default printer set to "Bedroom".

    Printer attached to IBM PC or compatible, Macintosh
    This may not work with all attached printers, and will depend on the
    terminal emulation/communications software in use. It is known to work
    with Kermit and the latest UW version of NCSA telnet on Macs and PCs,
    Versaterm Pro on Macs, and WRQ Reflections on PCs.
    Printer: attached-to-ansi
    attached-to-ansi-no-formfeed
    attached-to-wyse
    attached-to-wyse-no-formfeed

    Standard UNIX print command
    Using this option may require setting your "PRINTER" or "LPDEST"
    environment variable using the standard UNIX utilities.
    Printer List: "" lpr

    Personally selected print command
    The text to be printed will be piped into the command given here. The
    command is in the 2nd column, the printer name is in the first column. Some
    examples are: "prt", "lpr", "lp", or "enscript". The command may be given
    with options, for example "enscript -2 -r" or "lpr -Plpacc170". The
    commands and options on your system may be different from these examples.
    Printer List: "Bedroom" /run/media/echappa/Alpine/scripts/printer
    "Print to PS" /run/media/echappa/Alpine/scripts/printer --ps
    "Print to PDF" /run/media/echappa/Alpine/scripts/printer --pdf


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eduardo Chappa@21:1/5 to William Unruh on Mon Feb 7 21:44:06 2022
    On Mon, 7 Feb 2022, William Unruh wrote:

    It would be nice if I could just enter a command
    lpr -P home-hp
    say, or
    lpr -P home-hp-single
    lpr -P home-hp-duplex
    etc.
    instead of having to set it all up beforehand.

    Press M S C and enable

    [X] Print Offers Custom Command Prompt

    Does this solve your issue?

    --
    Eduardo
    https://tinyurl.com/yc377wlh (web)
    http://repo.or.cz/alpine.git (Git)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Eduardo Chappa on Tue Feb 8 21:37:39 2022
    On 2022-02-08, Eduardo Chappa <chappa@washington.edu> wrote:
    On Mon, 7 Feb 2022, William Unruh wrote:

    It would be nice if I could just enter a command
    lpr -P home-hp
    say, or
    lpr -P home-hp-single
    lpr -P home-hp-duplex
    etc.
    instead of having to set it all up beforehand.

    Press M S C and enable

    [X] Print Offers Custom Command Prompt

    Does this solve your issue?


    It seems to. Thanks a lot for pointing me to the right place.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)