Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

Re: Is it possible to print from PL/SQL without using external procedures?

Anurag Varma

2006-06-01

Replies:



On 5/26/06, Magnus Andersen <mag.andersen@gmail.com> wrote:
Hi Everyone,

Is there a way to print to a printer from a stored procedure without
using external procedures?  I'd like to issue the equivalent to "lpr
-o raw -P printer_name file_name" where the file_name is replaced with
a variable.

Something like writing to (dbms) pipe from stored procedure and having a listener
script on OS side pulling messages/commands out of that pipe and executing them.
Thought I'd mention it as an alternative if none other alternatives discussed in this thread are viable for you...

 

I'm running Oracle 9.2.0.7 on RHEL 3.  The printer I'm trying to print
to is a Zebra label printer.

Thanks in advance,

--
Magnus Andersen
Systems Administrator / Oracle DBA
Walker & Associates, Inc.
--
http://www.freelists.org/webpage/oracle-l





--
Anurag Varma
©2008 dba.5341.com - Jax Systems, LLC, U.S.A.