Set font for Oracle
Hi all.
Can somebody help me?
I'm using:
Linux redhat 9 and Oracle for linux: 8.0.5.
I use a program run on window and insert data into oracle, the font of data show on oracle is true. but when I run a client on linux, also insert data into oracle, but font is failed.
I exported: NLS_LANG and ORA_NLS33 in .bash_profile file but nothing change.
How can i config font for oracle client?
Thank you.
Hi all.
Can somebody help me?
I'm using:
Linux redhat 9 and Oracle for linux: 8.0.5.
I use a program run on window and insert data into oracle, the font of data show on oracle is true. but when I run a client on linux, also insert data into oracle, but font is failed.
I exported: NLS_LANG and ORA_NLS33 in .bash_profile file but nothing change.
How can i config font for oracle client?
Thank you.
Similar Messages
-
Need to call SET ROLE for Oracle before running report
Hi all,
does anyone know how I can call SET ROLE for Oracle with Crystal Reports, before running report? I'm using Crystal Reports 2008 to design report (with Server Oracle connection) and Java Reporting Component to run report within a J2EE apllication. If anyone has any idea, I'd greatly appreciate as I'm in trouble.
Thanks a lot.Just a thought...
If your report's datasource was an Oracle stored procedure, you could call a function to set the role from that SP
You would be in the same Oracle session from Report --> SP --> Function, so the role would be retained -
How to set font for title and message in JOptionPane?
Hi,
I have following test code.
JOptionPane.showMessageDialog(null, "Some Alert Message", "Alert", JOptionPane.ERROR_MESSAGE);In this code can we set font for "Some Alert Message", "Alert"?
Regards,
Kalyani......roll-your-own?
import javax.swing.*;
class Testing
public static void main(String[] args)
JDialog.setDefaultLookAndFeelDecorated(true);
JOptionPane optionPane = new JOptionPane("<html><font size='5'>Your message here</font></html>");
optionPane.setOptionType(JOptionPane.DEFAULT_OPTION);
optionPane.setMessageType(JOptionPane.ERROR_MESSAGE);
JDialog dialog = optionPane.createDialog(null, "Alert");
dialog.getLayeredPane().getComponent(1).setFont(dialog.getFont().deriveFont(18f));//size = 18/whatever
dialog.setModal(true);
dialog.setVisible(true);
} -
How to set font for JOptionPane.showMessageDialog() ?
Hi,
I want to set font for JOptionPane.showMessageDialog(). I have tried with following but it did not worked.
javax.swing.UIManager.put("JOptionPane.font", "Verdana"); Do any one have idea how to do this. Your suggestion would be helpfull to me.
Thank you.Then you'll have to loop over the components in the JOptionPane and setFont for each JButton. My SwingUtils class (search the net using Darryl SwingUtils, I can't give you a link as it's blocked from my office) can make this easier.
Sample code:import darrylbu.util.SwingUtils;
import java.awt.Font;
import javax.swing.*;
import javax.swing.plaf.FontUIResource;
public class OptionPaneFonts {
public static void main(String[] args) {
UIManager.put("OptionPane.messageFont", new FontUIResource(new Font(
"Verdana", Font.BOLD, 32)));
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
new OptionPaneFonts().makeUI();
public void makeUI() {
JOptionPane pane = new JOptionPane("So it's a date?",
JOptionPane.QUESTION_MESSAGE,
JOptionPane.YES_NO_CANCEL_OPTION,
UIManager.getIcon("OptionPane.questionIcon"),
new String[]{"Okey-dokey", "Not on your life!",
"Let me think about it"
}, null);
for (JButton button : SwingUtils.getDescendantsOfType(JButton.class, pane)) {
button.setFont(new Font("Tahoma", Font.ITALIC, 18));
JDialog dialog = new JDialog((JWindow) null);
dialog.setModal(true);
dialog.add(pane);
dialog.pack();
dialog.setLocationRelativeTo(null);
dialog.setVisible(true);
}db
Edited by: DarrylBurke -- shortened the code -
Setting Font for converting multiple text files into PDF using VB 6.0
Dear All,
Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
Dim p_AcroApp As CAcroApp
Dim p_VDoc As CAcroAVDoc
Dim p_DDoc As CAcroPDDoc
Dim IsOk As Boolean
Set p_AcroApp = CreateObject("AcroExch.App")
Set p_VDoc = CreateObject("AcroExch.AVDoc")
Call p_VDoc.Open(srcFilename, "")
Set p_VDoc = p_AcroApp.GetActiveDoc
If p_VDoc.IsValid Then
Set p_DDoc = p_VDoc.GetPDDoc
' Fill in pdf properties.
p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
p_DDoc.SetInfo "Subject", srcFilename
If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
MsgBox "Failed to save " & srcFilename
End If
p_DDoc.Close
End If
'Close the PDF
p_VDoc.Close True
p_AcroApp.Exit
'Clear Variables
Set p_DDoc = Nothing
Set p_VDoc = Nothing
Set p_AcroApp = Nothing
End Sub
What I need;
1) to be able to set the font face of the destination file ( destFilename)
2) to be able to set the font size of the destination file ( destFilename)
Am using Adobe Acrobat 7.0 Type Library
Kindly Help.
Thanks in advanceWe didn't say it doesn't work. We said it isn't supported.
There are a number of other ways to make a PDF. The one which would
give the most control is if your application directly printed to GDI,
controlling the font directly. This could print to Adobe PDF.
You could look for an application that gives control of font for
printing.
You could use a text-to-PostScript system and distill the result. You
could even look for a non-Adobe text-to-PDF.
Working in the unsupported and dangerous world you chose, the font
size for text conversion is set (and this is very bad design from
Adobe) in the settings for Create PDF > From Web Page. There is no API
to this.
Aandi Inston -
How to set commandtimeout for oracle client
Hi ,
does anybody have an idea how to set the command timeout for ODP or MS managed oracle client for oracle.
This property does not seem to be supported . Although there is property exposed for command time out it does not work for odp and for MS oracleclient it is not present at all. Could anyone provide a workaround for it.
Thanks in advance.
RahmatullahYou're looking for the VirtualBox forums. https://forums.virtualbox.org/
This forum is for discussion of Oracle VM Server. -
JPopupMenu - setting font for entire menu
I have JPopupMenu which contains menuitems, i would like to set the font for this entire menu...do i have to do .setFont() for each menuitem or can i just do myPopupMenu.setFont()?
ThanksI have JPopupMenu which contains menuitems, i would like to set the font for this entire menu...do i have to do .setFont() for each menuitem or can i just do myPopupMenu.setFont()?
Thanks -
Full Set documentation for Oracle 8i EE
From oracle 8i EE , I only get Admin. and Installation Guide for Linux on CDROM. Is there any full set document from other Platform of 8i EE eg. Window NT. How about Documentation in HTML or PDF format.
Thanks in advance !<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Josue Amaro:
Chan,
The complete documentation set is located under the documentation section in OTN. There is very little platform specific documentation, usually the following:
Intall Guide, Admin Reference and Release Notes. The release notes document the features that are not available on the particular platform as well as any know issues.
The rest of the documentation is considered "Genereric" as it is the same for all Oracle Platforms.
Hope that helps.
Regards,
Josue Amaro
Product Line Manager
Linux Products
Oracle Corp
<HR></BLOCKQUOTE>
null -
Linux set up for Oracle RAC (real application cluster)
Hi Guys,
I m wrkig as Oracle DBA.
Very curious to know the initials for RAC set up at OS level.
Can anyone provide his/her usefull guidelines for the same.
Although I know all steps at OS level also, but didn't did the set up of before Oracle RAC installation.
Want to increase knowlegde on like:
--how we sahre storage.
--how we set up network (private & virtual IP) and how can check working of NIC's.
--and other required things.
Will appreciate ur help and if someone want to share his/her personal experience.
Thx in advance.[email protected] wrote:
Want to increase knowlegde on like:Here are very basic answers to very complex questions - from a pure Linux perspective running an Open Source stack and untainted kernel.
--how we sahre storage.Using multipath - this should ship with most 2.6 kernels. The kernel sees the shared storage LUNs as scsi devices - multipath does the rest. (and ASM can directly use a multipath device).
On a physical layer. Typical setup (on a RAC node) is using a HBA PCI card that runs fibre connections into a SAN switch. You can also use Infiniband (IB) as the I/O layer (as Oracle's Exadata database machine does). In this case the servers will use HCA PCI cards, run IB cables into the switch, and so will the storage array run an IB cable into the switch.
--how we set up network (private & virtual IP) and how can check working of NIC's.Depends on the achitecture choses as Interconnect. Typical choices are GigE or Infiniband (IB). Oracle's Exadata database machine (RAC) uses IB as already mentioned. (and is also our preferred Interconnect technology)
With IB you would use the OFED driver stack and have a range of ib.. commands available. These can be used to configure IP over IB (IPoIB) for use as an IP-based Interconnect, bonding of NICs, check a port's status, and so on.
--and other required things.As both Daniel and Hans indicated.. you are asking quite complex questions that require a manual (if not several) to be written in response. So best to refer to the manuals and OTN material available.
Also, if you and your company are serious about using RAC, then you should make use of Oracle's RAC Assurance group to assist you. They will provide you with starter kit information for the o/s selected. They will check every single configuration parameter afterwards and deliver a comprehensive report on what's wrong, what works and what doesn't. With recommended changes that need to be done. -
Setting Environment for Oracle XA - dbms_system
Hello,
I habe some questions concerning the Documentation
http://e-docs.bea.com/wls/docs81/jta/thirdpartytx.html
and the Section "Set the Environment for the Oracle Thin/XA Driver".
The problematic sentense is:
(when using the Oracle Thin driver 10.1.0.3 or later)
grant execute on dbms_system to <user>;
The database team colleagues claim that this requirement could be a security problem.
The documentation of this package has been left undocumented or
removed from the official Oracle documentation in some later release.
Though, there are some scare references to this package I have not found the definition
http://www.oracle.com/pls/db102/master_index?letter=d here as well.
What is your opinion to this topic?
Another point is that it seems that this package is not accessible directly and
must be installed in a separate step. The should be some script prvtutil.plb, which creates
the package. Am I right?
(I know it is an Oracle not WLS topic, but maybe you have done it already)
I'll be glad for any comments or background information.
Best regards
Jaro
WLS 8.1. SP4
Oracle 10.2.0.3.0Access is necessary, else certain XA recovery calls via the Oracle driver will fail.
Joe
Jaroslav Simak wrote:
Hello,
I habe some questions concerning the Documentation
http://e-docs.bea.com/wls/docs81/jta/thirdpartytx.html
and the Section "Set the Environment for the Oracle Thin/XA Driver".
The problematic sentense is:
(when using the Oracle Thin driver 10.1.0.3 or later)
grant execute on dbms_system to <user>;
The database team colleagues claim that this requirement could be a security problem.
The documentation of this package has been left undocumented or
removed from the official Oracle documentation in some later release.
Though, there are some scare references to this package I have not found the definition
http://www.oracle.com/pls/db102/master_index?letter=d here as well.
What is your opinion to this topic?
Another point is that it seems that this package is not accessible directly and
must be installed in a separate step. The should be some script prvtutil.plb, which creates
the package. Am I right?
(I know it is an Oracle not WLS topic, but maybe you have done it already)
I'll be glad for any comments or background information.
Best regards
Jaro
WLS 8.1. SP4
Oracle 10.2.0.3.0 -
Setting font for mail preferences
anybody have this problem?? when i set lucida sans italic as my email font preference it won't italicize it. it will italicize in all areas of preference except when it comes to using it as a default font. i called support and they were stumped and suggested that i post here. help!!! :-):-)
yes, i want to see the message in that font and have the person on the other end view in that font also. you can change the message font in mail preferences. you select the font under message font and it will create all new mail messages in that font. what i find is that any font that will italicize won't do so when you create a new message. i have it set for comic sans right now and that works fine. go into mail preferences, choose message font, select lucida sans from the font list, then on the right select italics and then close and create a new message. the new message should have lucida sans italics as the message font. mine won't do that. you can select other fonts and it will work, but the italics part doesn't take........
-
9.0.3 - setting font for printing?
(9.0.3 Preview)
In the prefences for printing,
the only option for font name is "DialogInput"
and the only options for font size are 10,12.
I hope this is bug.
I'd like to be able to print with a different font, esp. 8pt.We've limited the fonts in the printing options to only DialogInput 10, 12 pt only as we've had problems with incorrect output alignment under JDK 1.3. I had filed Sun bug #4625837 about 8 months ago, but Sun closed it as fixed in JDK 1.4 (which means they won't fix it in JDK 1.3). In 9.0.4, we're currently planning to update JDeveloper to run under JDK 1.4, so at that time we will update the fonts in the printing options to allow more choices. (JDeveloper 9.0.3 will let you compile JDK 1.4 programs, but JDev itself still currently runs with JDK 1.3.)
- Jimmy
JDeveloper Team -
New folder did not use the same bold font as the others I have set up
could it be because it simply does not have any unread mails? Bold indicates the folder has unread mail.
-
How to set -Xss or ulimit for Oracle Http Server
Hi,
We are facing Out of Memory Error in OHS 11g in our cluster environment. Where I can see below statements in http log file:
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
# Out of Memory Error (gcTaskThread.cpp:46), pid=17956, tid=140591807985408
When I run the ulimit command on machine, stack size is showing as 10MB:
Result:
[oracle@XXXXXX bin]$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 1031958
max locked memory (kbytes, -l) 3500000
max memory size (kbytes, -m) unlimited
open files (-n) 131072
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 131072
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Setting the stack size to 512KB or 256KB might resolve the problem.
I tried setting ulimit -s 512 in my user bash_profile. and ran ulimit -a , then it is showing as
stack size (kbytes, -s) 512
If I set at user level, does it have any impact? Or we should set at JVM level using -Xss
Can some body tell me where can I set -Xss for Oracle HTTP server 11g?
Regards,
VidyaHi Marco,
I believe you'll need to setup a MX record under 'More Actions' for your domain in Site Settings / Site Domains.
Select the option "Use another external service for email" and enter your primary mail server's hostname at priority 10.
Think you can repeat this step for your secondary mail server (priority 20) if you have one.
Regards
Mike -
Latest patch set for oracle client 8.1.7
hello,
what is the latest patch set exactly for oracle 8.1.7.xx? I know that this version is desupported but I need this client for a third party application that we have in use.
thanks
katharinaPatch 2376472 is the latest patch set for 8.1.7 which will bring you up to 8.1.7.4. It is still available on Metalink.
Maybe you are looking for
-
firefox was working fine and when i went to sign back in all i got was a write screen that says Mozilla firefox at the very top but I have no tool bar and i can't do anything but close out of that window. can you help me with this problem?
-
Does white need to be transparent for one color t-shirt printing?
Hi, I made one color (black and white) graphic as an Illustrator file for a guy who is printing it with one color on t-shirts. Some of the white areas are formed from white objects on top of black objects and some are transparent areas like the backg
-
Does anyone know the different information that can be retrieved at runtime? I'm looking for random numbers that can be used as a seed for a random number generator. I've tried Runtime's totalMemory() and freeMemory() but the values returned don't ch
-
My ipod wont update when i try to update it and it says my network always times out and i get error 3259 i need some to help me please. I have also updated itunes several times but it still fails.
-
Unable to import Raw files from 5D Mk3 into LR3 [was:.CR2 files]
I am having trouble importing .CR2 files into lightroom 3. Any Suggestions