Home » Developer & Programmer » Forms » Compressed mode using text_io
Compressed mode using text_io [message #511588] Tue, 14 June 2011 03:26 Go to next message
sethumurugan
Messages: 61
Registered: June 2010
Location: Chennai
Member
Hi,

When I used to work with foxpro we had used dot matrix printer. At that time if we want, we can print in normal mode, expanded mode and compressed mode.

it will be part of your spool file.

Now am printing a text file from forms using text_io package. I would like to know in this how do i print the content in compressed mode using CHR function or some other method.

Sethu
Re: Compressed mode using text_io [message #511618 is a reply to message #511588] Tue, 14 June 2011 05:16 Go to previous messageGo to next message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
You would have to explain what compressed mode does.
Re: Compressed mode using text_io [message #511754 is a reply to message #511588] Tue, 14 June 2011 22:04 Go to previous messageGo to next message
sethumurugan
Messages: 61
Registered: June 2010
Location: Chennai
Member
compressed mode in sense, you can print the content of 132 column report in 80 column report.

Hope am clear.

If you are printing in deskjet or lasser printer you can design a report using small fonts, landscape etc.

When you want to print in dot matrix you have limited fonts and sizes. to over come this we used to have compressed mode or condensed mode.

This can be achived thru the setting in printer also. But at the same time programatically also we can do this using some chr function.
Re: Compressed mode using text_io [message #511805 is a reply to message #511754] Wed, 15 June 2011 03:53 Go to previous message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
text_io writes plain text files. It has no concept of fonts. To do want you want you'll need to embed some control characters in the text that the printer will recognize. Since this is nothing to do with oracle it is unlikely that anyone here will know what those control characters are.
If you can tell us what they are we can probably show you how. Though if you know that you can probably do it yourself.
Previous Topic: oracle.forms.webutil.CApiFunctions bean not found.
Next Topic: Data Upload using SQL loader from forms
Goto Forum:
  


Current Time: Thu Sep 12 08:58:00 CDT 2024