Direct standard output to printer.

Discussion in 'Perl Misc' started by Doug Laidlaw, Feb 23, 2007.

  1. Doug Laidlaw

    Doug Laidlaw Guest

    I have a Perl script (pcal) which prints to standard output. I didn't write
    it.

    The relevant line is $THECAL=`....'; print $THECAL;

    I want to modify this line to print to the default (local) printer on lpr.
    How do I go about this?

    TIA,

    Doug.
    --
    Books are good enough in their own way; but they are
    a mighty bloodless substitute for life.
    -R.L. Stevenson.
    Doug Laidlaw, Feb 23, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Samuel Lee
    Replies:
    0
    Views:
    498
    Samuel Lee
    Nov 11, 2003
  2. Steve G
    Replies:
    12
    Views:
    765
    Patricia Shanahan
    Aug 6, 2006
  3. =?Utf-8?B?VGFuaw==?=
    Replies:
    1
    Views:
    6,113
    srinivasgajula.mca
    Apr 27, 2010
  4. gerb
    Replies:
    2
    Views:
    177
  5. Replies:
    5
    Views:
    131
Loading...

Share This Page