Home » Developer & Programmer » Forms » Print to network printer flat file
Print to network printer flat file [message #164080] Tue, 21 March 2006 12:49 Go to next message
hernandoa
Messages: 1
Registered: March 2006
Location: Ecuador
Junior Member
Please

I need send text from form using TEXT_IO, to network printer

I have the next sentence:
DECLARE
  lv_cabecera_factura VARCHAR2(140);
BEGIN
  Set_Application_Property(Cursor_Style,'BUSY');
  handler := client_TEXT_IO.FOPEN('c:\archivo_hh.txt', 'w');
  client_text_io.PUT_LINE(handler,'TEXT TO PRINT'||chr(13));
  Set_Application_Property(Cursor_Style,'DEFAULT');
  client_TEXT_IO.FCLOSE(handler);
END;

[Updated on: Wed, 22 March 2006 00:18] by Moderator

Report message to a moderator

Re: Print to network printer flat file [message #164151 is a reply to message #164080] Wed, 22 March 2006 00:37 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
How about a host or client_host command to direct your output to a printer?

David
Previous Topic: Calculating Totals using a "push button"
Next Topic: Drag & drop items in List Item
Goto Forum:
  


Current Time: Fri Sep 20 08:31:59 CDT 2024