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



[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to