Sending Mail to Printer by using utl_smtp.rcpt.
mail_conn := utl_smtp.open_connection(mailhost, 25);
mesg := 'Date: ' ||
TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
'From: <'|| pSender ||'>' || crlf ||
'Subject: '|| pSubject || crlf ||
'To: '||pRecipient || crlf || '' || crlf || pMessage;
WHEN INVALID_OPERATION THEN
WHEN TRANSIENT_ERROR THEN
WHEN PERMANENT_ERROR THEN
WHEN OTHERS THEN
I am using above script to send mail is it possible to send this to printer.
Basically this will email to outlook with HTML Tables but we also need to send this output to printer, any idea ?