Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Re: off-topic: perl printing

Re: off-topic: perl printing

From: Jared Still <>
Date: Wed, 19 Jul 2000 09:38:00 -0700 (PDT)
Message-Id: <>

I've done this before on unix systems, but that is somewhat different than doing it NT.

The principles shouldn't be too much different. The way I've done this in the past is by redirecting STDOUT to the lp system.

See 'pcap' @ to see this.

Check There's bound to be an example for printing on NT.


On Fri, 14 Jul 2000, Bill Becker wrote:

> Hello,
> I am trying to write a simple report using ActiveState Perl
> (on NT); the intent is to accept some simple input from a
> user (throught a perl/Tk form), connect to an Oracle 8.1.6
> server on a Sun machine, prepare and execute a SELECT statement,
> display the results in the perl/Tk form, and also send to a
> network printer for printing. I have everything working except
> the printing step.
> My questions are:
> 1) How do you print from perl to an NT networked printer?
> 2) Would anyone recommend a perl module (for NT) that contains
> several common print formats, and/or shows how to print
> to an NT network printer?
> 3) If someone has an already-existing report similar to what is
> described above, would you be willing to share it?
> I have looked through some perl lists for this, and found several
> similar questions, but very few answers. If someone also knows
> where I could access documentation relevant to perl printing, that
> would be very helpful.
> Thanks to any responders.
> Bill Becker
> --
> Author: Bill Becker
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

Jared Still
Certified Oracle DBA and Part Time Perl Evangelist ;-) Regence BlueCross BlueShield of Oregon - Work - preferred address Received on Wed Jul 19 2000 - 11:38:00 CDT

Original text of this message