Discussions
Categories
- 196.7K All Categories
- 2.2K Data
- 234 Big Data Appliance
- 1.9K Data Science
- 449.8K Databases
- 221.5K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 477 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.8K SQL & PL/SQL
- 21.2K SQL Developer
- 295.3K Development
- 17 Developer Projects
- 138 Programming Languages
- 292K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 27 Java Learning Subscription
- 37K Database Connectivity
- 153 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 157 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 389 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 170 Deutsche Oracle Community
- 1K Español
- 1.9K Japanese
- 230 Portuguese
Printing in character mode (urgent)
Hi,
We would like to print the contents of the report in bold,italic and compressed format wich i have made in character mode (mode=character).
i work with:
Reports Builder 6i,
Win 2000,
a generic/text only printer(matrix printer: EPSON LQ-580).
i have tied to call the bold.prt in DESFORMAT, and i have entred bold on and bold off in the section of "code after" and "code before", but no changes occurs when i print the report
Thanking You in advance.
We would like to print the contents of the report in bold,italic and compressed format wich i have made in character mode (mode=character).
i work with:
Reports Builder 6i,
Win 2000,
a generic/text only printer(matrix printer: EPSON LQ-580).
i have tied to call the bold.prt in DESFORMAT, and i have entred bold on and bold off in the section of "code after" and "code before", but no changes occurs when i print the report
Thanking You in advance.
Comments
-
Hi,
First create your .prt file. In this file, you must define the printer escape sequence for making an object print in bold format, for example. Most of the supplied .prt files incorporate this code. An example of a HP printer setting is:
code "1" esc"(s7B"
code "2" esc"(s0B"
Check your printer settings and/or consult your printer manual for more information on other effects, such as italic.
Next build your character mode report.
The report must now be set to the .prt file. Set the DESFORMAT system parameter for your report to test.prt (no need for .prt extension). This can also be set as a runtime parameter.
Next, go to the object in the report that you want to print in bold; such as, boilerplate text. Click on the properties for the boilerplate text, and go to the 'Printer Codes' tab. References to the escape codes shown above must be entered here in the Before and After fields. You are interested in the BOLD On and Off printer escape sequences so we would put &1 in the before and &2 in the after field.
Save and run the report directing the output to a valid printer. The printed version of the character mode report should incorporate your changes.
NOTE: You do not have to use &1, and so forth, Long postings are being truncated to ~1 kB at this time. -
continue....
if you have used bold around the attribute in the layout editor and you have the 'bold on' entry in the .prt file.
For example - in the hplwide.prt file, it contains an entry :
code "bold on" esc "(s7B"
If this exists in the .prt file you can just make the attribute bold in the layout editor. This leaves more codes available for the more obscure fonts types.
Thanks
Rohit -
hi,
thanks for your reply, but i now all this steps, and i have done them many times but no results. -
Hele,
Not sure you tried this syntax properly. But it has to be like
code "bold on" esc "(s7B"
code "bold off" esc "(s0B"
Also, you can print to file and see the output. If you see the esacpae sequences are put properly there, then the issue is withe the windows printer driver and not reports output
Thanks
The Oracle Reports Team -
there is no escape sequence in the output of print to file .
-
hela,
I couldn't reproduce this here. I would suggest you to contact Oracle support by giving a valid reproducibale testcase
Thanks
The Oracle Reports team
-
Hi,
Make sure that;
mode is in character
desformat is your customized PRT file.
I am using epson printers (fx870/1170)
maybe you should try using the decimal values instead of the ascii values. My PRT file contains the code below for emphasized/bold fonts.
code "1" esc "E"
Please see how I made my report print in condensed mode using the decimal value in the link below.
45423
This discussion has been closed.