Results 1 to 2 of 2

Thread: Printing from the CLI

  1. #1
    Join Date
    Aug 2008
    Location
    Galveston, Texas
    Beans
    135
    Distro
    Ubuntu 10.04 Lucid Lynx

    Printing from the CLI

    I have a headless server running Lucid (10.4.2) connected to that printer is an HP 930C. I have cups running and am able to initiate print jobs over the network from my desktop workstations.

    Wat I haven't figured out is how to print a textfile directly from the CLI Console.

    I have an entry /dev/lp0
    My printers name is HP_DeskJet_930C
    Liberty in Life and Freedom in Software.

  2. #2
    Join Date
    Jun 2006
    Location
    San Jose, CA
    Beans
    83
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Printing from the CLI

    Take a look at lpr(1) http://manpages.ubuntu.com/manpages/...an1/lpr.1.html

    It will print to the default printer on the system by
    Code:
    lpr [ filename ]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •