Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Printing from Oracle on Unix
Thanks Dennis - works like a charm.
David A. Barbour
Oracle DBA, OCP
AISD
512-414-1002
"Dennis M. Heisler" To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> <dheisler_at_bingh cc: amton.edu> Subject: Re: Printing from Oracle on Unix Sent by: root_at_fatcity.co m 08/23/2001 12:47 PM Please respond to ORACLE-L
David,
There are a number of different ways to do it. One method I use is to
define the codes in the package header
ie: FONT_COURIER10 varchar2(15) := chr(27) || '(s0p10h12vsb3T'
Then, in the package body, when I want to print a special code I either use utl_file.put() or utl_file.put_line(FONT_COURIER10 || 'Text Goes Here').
Dennis
DBarbour_at_austin.isd.tenet.edu wrote:
>
> Morning All;
>
> Does anyone have some hints on how I might be able to print the results
of
> a PL/SQL procedure to a HP Printer on UNIX (Oracle 8.1.7/HP-UX 11.0)?
>
> My first thought would be to use utl_file to create the file, but (not
> being a developer), I'm not sure how to embed the printer strings to
> achieve the desired formatted output.
>
> David A. Barbour
> Oracle DBA, OCP
> AISD
> 512-414-1002
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: DBarbour_at_austin.isd.tenet.edu
>
> 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: ListGuru_at_fatcity.com (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).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Dennis M. Heisler INET: dheisler_at_binghamton.edu 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: ListGuru_at_fatcity.com (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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: DBarbour_at_austin.isd.tenet.edu 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: ListGuru_at_fatcity.com (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).Received on Thu Aug 23 2001 - 19:39:55 CDT
![]() |
![]() |