Aligning Columns Help
I have written a small program that creates a column of random numbers and another of stars which represent the value of each random number. I managed to get the program to work but i cannot align the columns as you can see if you run through my code. One column starts a row below another. i have no clue how to solve this so any help would be appreciated.
import java.util.Random;
public class BarGraph
public static void main(String args[])
Random randomNumbers = new Random();
int face;
for(int counter = 0; counter <10; counter ++)
face = 1 + randomNumbers.nextInt(10);
System.out.printf("%d\n",face);
for ( int stars = 0; stars < face ; stars++ )
System.out.print( "*" );
System.out.println();
Read this tutorial about formatting output. It explains how to use the printf instruction correctly:
http://java.sun.com/docs/books/tutorial/java/data/numberformat.html
Similar Messages
-
Align columns in separate JPanels
Hello all,
I am having a problem aligning columns of JLabels in separate JPanels. I'm using GridBagLayout.
Basically, I have multiple JPanels on a JFrame, they display in a tabular column, but I can't get each JPanel to align with the columns of the JPanel above it.
I've also tried using the SpringLayout, but that's only good if I already know how big each of my columns are. (the data is dynamically loade). And I MUST use multiple JPanels because I can have THOUSANDS of labels and JPanel only limits to 512 components per panel.
So, how to do this? I will award duke dollars to anyone who can help me out - I will also be forever grateful. Below is sample code:
import java.awt.Color;
import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class AlignTest extends JPanel
public void buildWindow()
Container contentPane = this;
GridBagLayout gb = new GridBagLayout();
contentPane.setLayout(gb);
GridBagConstraints gc = new GridBagConstraints();
gc.fill=GridBagConstraints.BOTH;
gc.anchor=GridBagConstraints.NORTHWEST;
GridBagConstraints gc2 = new GridBagConstraints(); // for use with gb2
gc2.insets=new Insets(2,4,2,4);
int i = 0, y = 0;
Color color[] = { Color.white, Color.yellow };
String name[] = { "dog", "cat", "bunny", "chicken" };
String name2[] = { "really long", "short", "joe", "z" };
String name3[] = { "b", "cdefghigklmnop", "D", "jflajfajlaskjfaljfsaljf" };
for (i = 0, y = 1; i < 4; i++, y++)
JPanel pane = new JPanel();
GridBagLayout gb2=new GridBagLayout();
pane.setLayout(gb2);
pane.setBorder(BorderFactory.createLineBorder(new Color(0, 56, 107)));
JLabel lab=new JLabel(name);
gc2.anchor=GridBagConstraints.NORTHWEST;
gc2.gridx=0; gc2.gridy=0;
gc2.weightx=.5;
gb2.setConstraints(lab, gc2);
pane.add(lab);
lab=new JLabel(name2[i]);
gc2.gridx++;
gc2.weightx=.3;
gb2.setConstraints(lab, gc2);
pane.add(lab);
lab=new JLabel(name3[i]);
gc2.anchor=GridBagConstraints.NORTHEAST;
gc2.gridx++;
gc2.weightx=.2;
gb2.setConstraints(lab, gc2);
pane.add(lab);
gc.gridx=0; gc.gridy=y;
gb.setConstraints(pane, gc);
contentPane.add(pane);
} // end printing rows
} // end buildWindow
/** unit testing - makes sure this class works
* by itself.
public static void main(String[] args)
JFrame frame = new JFrame("Test of Row toggle");
frame.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
AlignTest mainPane = new AlignTest();
mainPane.buildWindow();
frame.getContentPane().add(mainPane);
//frame.pack();
frame.setSize(200, 200);
frame.setVisible(true);
} // end main unit test
} // end AlignTestI got frustrated with layout managers too. My project looked very ugly when resizing, so I wrote my own layout manager. To write a layout manager you have to implement a few methods. Chief among them is layoutContainer.
My case is a little different than yours because the number of components I needed to layout is fixed. JTable may be a good bet for you because you can adjust the column widths after the fact. The irritant is that any resizing causes the JTables to revert back to their equidistant spacing. The way around that is to force ALL repeat ALL table columns to have a preferred width. Notice how I did this in the last few lines of the layoutContainer method.
* Adds the specified component with the specified name to
* the layout.
* @param name the component name
* @param comp the component to be added
public void addLayoutComponent(String name, Component comp){
* Removes the specified component from the layout.
* @param comp the component to be removed
public void removeLayoutComponent(Component comp){;}
* Calculates the preferred size dimensions for the specified
* panel given the components in the specified parent container.
* @param parent the component to be laid out
* @see #minimumLayoutSize
public Dimension preferredLayoutSize(Container parent){return this.SIZE_TOTAL_MIN;}
* Calculates the minimum size dimensions for the specified
* panel given the components in the specified parent container.
* @param parent the component to be laid out
* @see #preferredLayoutSize
public Dimension minimumLayoutSize(Container parent){return this.SIZE_TOTAL_MIN;}
* Calculates the maximum size dimensions for the specified
* panel given the components in the specified parent container.
* @param parent the component to be laid out
* @see #preferredLayoutSize
public Dimension maximumLayoutSize(Container parent){return maxLayoutSize;}
public void layoutContainer(Container target) {
synchronized (target.getTreeLock()) {
//Get the target size
Dimension dTgt = target.getSize();
int top[] = new int[6];
int left[] = new int[6];
int width[] = new int[6];
int height[] = new int[6];
height[5]=5*SIZE_BUTTON_MIN.height;
height[4]=4*SIZE_BUTTON_MIN.height+29;
height[3]=21;
height[2]=3*SIZE_BUTTON_MIN.height+29;
height[1]=dTgt.height-height[5]-height[2];
height[0]=height[1];
width[0]=(orientation==NO_BANNER) ? 0 : this.imageLogo.getIconWidth()+8;
width[1]=dTgt.width-width[0];
width[2]=dTgt.width;
width[3]= width[4]=(dTgt.width << 2)/9;
width[5]= dTgt.width-width[4];
top[5]=top[3]=dTgt.height-height[5];
top[4]=dTgt.height-height[4];
top[2]=top[5]=height[2];
top[0]=top[1]=0;
top[2]=dTgt.height-429;
top[3]=top[5]=dTgt.height-250;
top[4]=dTgt.height-229;
left[0]=left[2]=left[3]=left[4]=0;
left[1]=width[0];
left[5]=dTgt.width-width[5];
if (orientation == LogoAndMessage.HORIZONTAL) {
width[0]=dTgt.width;
height[0]= this.imageLogo.getIconHeight()+8;
left[1]=0;
width[1]=dTgt.width;
top[1]=height[0];
height[1]-=height[0];
this.sizeButton.width = dTgt.width/9;
//Try to keep column[0] (step) the same size as the user left it
int w = this.jTableLog.getColumnModel().getColumn(0).getWidth();
this.jTableLog.getColumnModel().getColumn(0).setPreferredWidth(w);
//Keep track of the remaining space
int wOthers = width[1]-w;
//Try to keep column[1] (name) the same size as the user left it
w = this.jTableLog.getColumnModel().getColumn(1).getWidth();
this.jTableLog.getColumnModel().getColumn(1).setPreferredWidth(w);
wOthers -= w;
//Try to keep column[3] (operator) the same size as the user left it
w = this.jTableLog.getColumnModel().getColumn(3).getWidth();
this.jTableLog.getColumnModel().getColumn(3).setPreferredWidth(w);
wOthers -= w;
//Divide the remaining space between columns 2 and 4 (value)
wOthers >>= 1;
this.jTableLog.getColumnModel().getColumn(2).setPreferredWidth(wOthers);
this.jTableLog.getColumnModel().getColumn(4).setPreferredWidth(wOthers);
//Try to keep column[0] (name) the same size as the user left it
w = this.jTableStack.getColumnModel().getColumn(0).getWidth();
this.jTableStack.getColumnModel().getColumn(0).setPreferredWidth(w);
//We have this much to go
wOthers = width[1]-w;
//Try to keep column[1] (value) the same size as the user left it
w = this.jTableStack.getColumnModel().getColumn(1).getWidth();
this.jTableStack.getColumnModel().getColumn(1).setPreferredWidth(w);
//Put all the remaining space into column[2] (expression)
this.jTableStack.getColumnModel().getColumn(2).setPreferredWidth(wOthers - w);
for (int p=0;p<getContentPane().getComponentCount();p++) {
Component c = this.getContentPane().getComponent(p);
c.setBounds(left[p],top[p],width[p],height[p]);
Good Luck -
I used 30 day trial of Acrobat XI and all the functions work perfectly. But, when I buy the program (either download or disk) my PDF that export to Excel is not working. The excel columns and data are not properly aligned as they should be. The Trial version aligns everything perfectly. What is happening? I use a MAC 10.9.5. But this shouldn't matter because the trial version works perfectly. Can anyone help?
just found out that this is posted in the wrong section.
-
Newsletter layout, aligning columns, paragraph breaks and lines of text
HI,
I have never designed a newsletter before.
It is annoying me because I am trying to be as meticulous as possible with my alignment, but I notice there are things all over the place that don't line up.
I have a paragraph style, with space before and after. I have three columns. When I look at one line of text across all three columns, they do not line up. The WOULD line up if I had all straight text and no image wraps, but the image wraps, and the start of a new paragraph in column two, throws off alignment in column three.
What is the best way to make stuff line up with the least amount of effort possible?
Are there tutorials on good newsletter layout design? Grid layout?
Thanks,
StanI just stated working with InDesign in my GA 101 class. It really was great fun but takes alot of practice. Still learning something new everyday. I will be working with grids the next class and will be checking in the forum for help.
Rhonda -
I looked over the posts on CFChart but did not find anything
that addresses my specific problem with the cfchart. So if you can
help, I'd appreciate it very much!
What I want to do is take the dynamic name of the column
derived from the first query and use that name in the Legend. E.G.
A_R1_DIS is the first dataset, A_R1_J is the second dataset, and
A_R1_PPLI is the third dataset. Then show a line graph with each
dataset based on the first query. The X Axis displays the Date/Time
value and the Y Axis displays the number of points for each record
of time for each dataset individually. I was able yesterday to get
all three datasets to display individually but when I tried to show
the legend it either displayed only the first Dataset name
"A_R1_DIS" or it displayed "NONE". Currently the code will not
display any line on the chart and the legend repeats the A_R1_DIS
as many times as there are records in the table (60+).
I use the following query to get the dynamic column name
"SelectedDatasetColName" from the MasterDataList table.
<CFQUERY name="getSelectedDatasetColName"
datasource="#getcfdbname.EventCFDBName#">
SELECT MDL_TestName + '_' + MDL_DatasetID + '_' +
MDL_MeaningfulName as SelectedDatasetColName
FROM MasterDataList
</CFQUERY>
Here is where I'm using the "SelectedDatasetColName" value:
******************************************* queries
<CFQUERY name="DatasetHistogramQry"
datasource="#getcfdbname.EventCFDBName#">
SELECT
<cfset i = 1>
<cfloop query="getSelectedDatasetColName">
#SelectedDatasetColName# as col#i#,
<cfset i = i + 1>
</cfloop>
JDay, TheHour, TheMinute,
convert(varchar(12), JDay, 114) + ' ' + convert(varchar(12),
TheHour, 114) + ':' + convert(varchar(12), TheMinute, 114) as
DateTime
FROM vPositionHistogram
ORDER BY JDay, TheHour, TheMinute
</CFQUERY>
Here is the code for the table; which works correct:
**************************** Report Code
<TABLE>
<TR>
<TH>Day</TH>
<TH>Hour</TH>
<TH>Minute</TH>
<CFOUTPUT QUERY="getSelectedDatasetColName">
<TH>#SelectedDatasetColName# Message Count</TH>
</CFOUTPUT>
</TR>
<CFOUTPUT QUERY="DatasetHistogramQry">
<TR BGCOLOR="###IIF(DatasetHistogramQry.currentrow MOD 2,
DE('DCDCDC'), DE('FFFFFF'))#">
<TD ALIGN="center">#JDay#</TD>
<TD ALIGN="center">#TheHour#</TD>
<TD ALIGN="center">#TheMinute#</TD>
<CFSET i = 1>
<CFLOOP INDEX="X" FROM="1"
TO="#getSelectedDatasetColName.recordcount#">
<TD ALIGN="center">#evaluate("col#i#")#</TD>
<CFSET i = i + 1>
</CFLOOP>
</TR>
</CFOUTPUT>
</TABLE>
Here is the output for the table; Dynamic Column Name used to
repeat counts for each dataset.
********************************* output
Day Hour Minute A_R1_DIS Message Count A_R1_J Message Count
A_R1_PPLI Message Count
37 17 36 0 2 35
37 17 37 19 6 32
37 17 38 28 30 33
37 17 39 40 27 27
37 17 40 66 64 32
Here is the problem code. I have tried several variations on
this code but currently all it does is display a blank chart.
**************************** Chart Code
<CFCHART FORMAT="flash" CHARTHEIGHT="340" CHARTWIDTH="600"
SHOWXGRIDLINES="yes" SHOWYGRIDLINES="yes" SHOWBORDER="no"
FONTBOLD="no" FONTITALIC="no" XAXISTITLE="Timeline (Day
Hour:Minute)" YAXISTITLE="Message Counts" SHOW3D="no" ROTATED="no"
SORTXAXIS="no" SHOWLEGEND="yes" TIPSTYLE="MouseOver"
SHOWMARKERS="no">
<CFOUTPUT QUERY="DatasetHistogramQry">
<CFSET i = 1>
<CFLOOP INDEX="X" FROM="1"
TO="#getSelectedDatasetColName.recordcount#">
<CFCHARTSERIES QUERY="DatasetHistogramQry" TYPE="line"
ITEMCOLUMN="#DateTime#" VALUECOLUMN="#evaluate("col#i#")#"
SERIESLABEL="#getSelectedDatasetColName.SelectedDatasetColName#">
<CFSET i = i + 1>
</CFLOOP>
</CFOUTPUT>
</CFCHART>
Please let me know if you need any additional info on my
problem and if you can help, it is greatly appreciated!!!!
- DebraDateTime is a column in the vPositionHistogram (View). Col#i#
is the variable used to loop through the column names derived from
the getSelectedDatasetColName query. The view is populated
dynamically and the columns in it vary depending on the dataset
used to populate the view. The view can have 1 to many columns.
That is why I pull the column names from the MasterDataList table
and use a variable to get the values from each column. My column
names end up being Col1, Col2, Col3, and so on. I use that variable
in the loop to get the data from vPositionHistogram for each column
in the report/chart. I made some headway on Friday before I called
it a day, but I will try the last suggestion and post my findings
in a little while. Thanks! -
Dreamweaver hangs when I attempt to center text in a column within a table. The table has 4000+ rows, after opening the file, I switch to design view, slect the column, then in the properties window click on the horizontal box and slect center. Dreamweaver then hangs and becomes non-responsive. Help!
I do believe I have found a work-around. Find and replace is our friend. Since the first column in a table is defined by the <tr><td> tags use find and replace with <tr><td align="center"> and it worked for all 4684 rows. Thanks for your assistance Murray.
-
Formula Column help please - URGENT
I'm trying to create a formula column as follows:
function NO_REPLIESFormula return Number is
NOREPLY number;
begin
SELECT COUNT(reply) INTO NOREPLY
FROM letters
WHERE reply = 'N'
GROUP BY ltrtype, batch;
RETURN (NOREPLY);
end;
This PL/SQL compiles fine, but when I run the report, I get the following messages:
REP-1401 no_repliesformula FATAL PL/SQL error occured. ORA-01422 exact fetch returns more than requested number of rows.
If I remove the GROUP BY ltrtype, batch, I don't get the error messages, but the result I get is the total no_replies instead of the total no_replies for each ltrtype/batch grouping.
Could someone please help me with this?
Thank you.Hi irish,
I think i am not sure about what you are trying to say, but let me guess, You want the values to be return on the bases of "ltrtype, batch". Which mea that you want more then one values, i mean there can be more then one Groups based on ltrtype and batch. and you want to display these values with repective record???
If i am right, then there is a fault in your code, and that is , you are not specifing in your code that which value is to be diplayed with which record in this report. For that there must be ltrtype, batch colums displayed in the report, you must add those values in your Code in the query, i.e.
function NO_REPLIESFormula return Number is
NOREPLY number;
begin
SELECT COUNT(reply) INTO NOREPLY
FROM letters
WHERE reply = 'N' and ltrtype= :V_ltrtype and batch=:v_batch;
RETURN (NOREPLY);
end;
Where :V_ltrtype and :v_batch are the run time values of each records displayed in the report.
Remember that if you don't sepecify this then your code will return as many records as many distich values of ltrtype, batch. and your variable NOREPLY can hold only one value at a time. I hope you understand both, Solution and the logic behind the error.
Please correct me if i am wrong.
Thanks.
Mohib ur Rehman -
Align Columns? using Acrobat Pro 9 to create pdf from text file(s)
Hello,
Every time that I have tried to create a PDF from a text file, the columns dont align. The default Notepad setting I use to view a text file is Courier New which shows the columns aligned. How can I set defaults in Acrobat Pro 9 to have columns align?
ThanksBy definition a plain text file has no font, so it cannot be monospaced. Acrobat converts plain text using Times, this cannot be changed.
As TSN suggests to create a PDF from a text file with a specific choice of font and formatting you must print from another application. -
Convert date value in 1 column help
Am on 10g.
I have a column: STAMP_DATE with these values:
I need to leave LEGACY as it is, but everything else, I need to convert it to: MMYYYY as in: 092010 for example.
So 9-Sep stands for Sep-2009. The digit is the year, I am trying to fix this.
Any SQL help would be appreciated, thank you!
STAMP_DATE
"LEGACY"
"9-Sep"
"9-Oct"
"9-Nov"
"9-May"
"9-Mar"
"9-Jun"
"9-Jul"
"9-Dec"
"9-Aug"
"9-Apr"
"10-May"
"10-Mar"
"10-Jan"
"10-Feb"
"10-Apr"
These values were imported from Excel using SQLLDR, so it kinda made them like that.maybe this might help.
SQL> select to_char(to_date(lg.stamp_date||'-'||to_char(sysdate,'yyyy'),'dd-mon-yyyy'),'mmyyyy') STAMP_DATE
2 from (select 'LEGACY' STAMP_DATE from dual union all
3 select '9-Sep' STAMP_DATE from dual union all
4 select '9-Oct' STAMP_DATE from dual union all
5 select '9-Nov' STAMP_DATE from dual union all
6 select '9-May' STAMP_DATE from dual union all
7 select '9-Mar' STAMP_DATE from dual union all
8 select '9-Jun' STAMP_DATE from dual union all
9 select '9-Jul' STAMP_DATE from dual union all
10 select '9-Dec' STAMP_DATE from dual union all
11 select '9-Aug' STAMP_DATE from dual union all
12 select '9-Apr' STAMP_DATE from dual union all
13 select '10-May' STAMP_DATE from dual union all
14 select '10-Mar' STAMP_DATE from dual union all
15 select '10-Jan' STAMP_DATE from dual union all
16 select '10-Feb' STAMP_DATE from dual union all
17 select '10-Apr' STAMP_DATE from dual) lg
18 where lg.stamp_date != 'LEGACY'
19 union all
20 select lg.stamp_date STAMP_DATE
21 from (select 'LEGACY' STAMP_DATE from dual union all
22 select '9-Sep' STAMP_DATE from dual union all
23 select '9-Oct' STAMP_DATE from dual union all
24 select '9-Nov' STAMP_DATE from dual union all
25 select '9-May' STAMP_DATE from dual union all
26 select '9-Mar' STAMP_DATE from dual union all
27 select '9-Jun' STAMP_DATE from dual union all
28 select '9-Jul' STAMP_DATE from dual union all
29 select '9-Dec' STAMP_DATE from dual union all
30 select '9-Aug' STAMP_DATE from dual union all
31 select '9-Apr' STAMP_DATE from dual union all
32 select '10-May' STAMP_DATE from dual union all
33 select '10-Mar' STAMP_DATE from dual union all
34 select '10-Jan' STAMP_DATE from dual union all
35 select '10-Feb' STAMP_DATE from dual union all
36 select '10-Apr' STAMP_DATE from dual) lg
37 where lg.stamp_date = 'LEGACY';
STAMP_DATE
092010
102010
112010
052010
032010
062010
072010
122010
082010
042010
052010
032010
012010
022010
042010
LEGACY
16 rows selected
SQL> -
SQL Report with 1 updatable column - help urgent
Hi,
I have a SQL report. I am using collection to store value of selected record by link column.
I have a updatable text item (NULL) in the column. I am able to store that value in the collection.
Any clue?
Code
1. Creating a collection in parent page:
apex_collection.create_or_truncate_collection
(p_collection_name => 'ORDER');
2. Query to populate item rows with option to key 'QTY' before pressing 'Add to Order' link.
select
itemcode,
description,
NULL AS qty,
'Add to Order' add_to_order
from itemtab
3. Made 'QTY' to Text item -- to allow users to key value
4. Created 'hidden & protected' items P1_ITEMCODE, P1_QTY
5. Set values of itemcode, qty in add_to_order link
6. Created a process to add values into collection:
for x in (select * from itemtab where itemcode = :P1_ITEMCODE)
loop
apex_collection.add_member(p_collection_name => 'ORDER',
p_c001 => x.ITEMCODE,
p_c002 => x.DESCRIPTION,
p_c003 => :P1_QTY
end loop;
7. Display value of itemcode, description, qty in report region
select c001, c002, c003
from apex_collections
where collection_name = 'ORDER'
Probem: The value of qty is not being stored in the collection and not appearing in the #7 report. itemcode and description values are fine.
Thanks,
DipDip,
I'm guessing here as I can't see your application, I think your missing the page process to collect the data from your QTY field.
I created a quick demo of what i think your trying to achieve on apex.oracle.com
http://apex.oracle.com/pls/apex/f?p=19923:2
I added this to the html expression on the report Field add to:
<input type="button" onclick="doSubmit(#RANDOM_ID#)" value="Add To" />
Then the page process to collect and set the page item:
DECLARE
l_qty number;
BEGIN
FOR i in 1..APEX_APPLICATION.G_F03.COUNT LOOP
l_qty := nvl(APEX_APPLICATION.G_F03(i),0);
IF l_qty > 0
THEN
:P2_QTY := l_qty;
:P2_RANDOM_ID := :REQUEST;
EXIT;
END IF;
END LOOP;
END;
Let me know if this helps
Mark
Don't forget to mark reply as helpful or correct as this may help others reading this thread in the future!
Edited by: cptbutcher on Mar 25, 2010 10:40 PM -
Export Column help, ntext data doesn't export as a usable file
Hello, I'm failing at exporting what appears to be blob data in a database. I setup a data flow task that is pretty simple,
OLEDB SOURCE
|
DERIVED COLUMN
|
EXPORT COLUMN
Source is sql server 2000 db in 2005 instance with mode (80)
Derived column is simple expression that parses a path and filename together
Export column uses the blob column (which is unicode text stream plus new filename), Truncate and BOM are checked
This process seems to work successfully, but the resulting files are garbage. For example, one is a .txt file when opened, it contains exactly the contents of the database column for this row which looks like this excerpt:
begin 660 Call # 8114 Modules for METRO1 CU.txt
M34544DaQ($-5("`-"D1!5$$N0U4Q*#$I.E)53
Obviously I would expect real text here. Can someone help me understand what I am not doing correctly?
Let me know if you need more information.I just went through the list, and tried several files, they are all garbage. a .jpg opened in paint can't open, a .doc file in word doesn't open, and .xls in excel doesn't open.
Contrast the two databases:
Adventure works Document column contains entries that look like this:
0xD0CF11E0A1B11AE1000000000000000000000000000000003E000
The magic database has entries that look like this:
begin 660 so60680.xls MT,a1X*&Q&N$`````````````````````/@`#`/[_"0`&
once exported through SSIS, the adventure works files look like this:
ÐÏࡱá > þÿ 5 7
The magic database files look like this:
begin 660 so60680.xls
MT,a1X*&Q&N$`````````````````````/@`#`/[_"0`&
I used the same 2 files for each databases both times.
From what I can tell sql server doesn't know what the magic db blob data is. So how is the magic user interface making the attachments available to the end user? -
D2445 Problem - Won't Align, Please help! Read for details..
Hello all,
thanks ahead of time for any suggestions/help. We have a D2445 Printer here at our dealership that we use to print out pictures (our designated photo printer). It's worked great for the past few years, seeing use about once or twice a week.
We usually only use the standard 22/21 cartridges, but there was an ink sale at office depot and we sprung for the Tri-Color photo cartridge. The printer has printed about 70 images with the tri-color cartridge and it finally gave out. We went to replace it with a black 21 and now it will not align to save my life. And everything that prints out is WAYY OFF. The crazy thing is, it was working fine literally minutes before we replaced the tri-coor cartridge. I've tried re-aligning numerous times, doing all levels of cartidge cleaning, unhooking the printer from the computer, unhooking the power from the printer, restarting the computer, re-seating the cartridges, everything except re-installing the drivers (which I dont think would be the issue). I'm tempted to go purchase another tri-color cartridge and see if that works, but it was printing fine for years with the 22/21 setup! And I was literally printing out perfect photos with the tri-color cartridge up until it ran out of ink, with less than 10 minutes between printing the last good photo with the tri-color cartridge and installing the 21 and having all of these issues.
Has this printer finally met its match?
Thanks,
BR
If anyone can please point me in the right direction that would be excellent. Thanks!You have three choices:
1.Go to Apple or Firedog (in Circit City) and pay to retreive your data and restore your iPod
2.If the computer can read the iPod, get Aimersoft iPod Copy Manager and save your data to a folder then open Explorer or whatever you use in Mac to save other files
3.Get a new iPod....
I hope this helps! azureVinh.webs.com -
Hi all,
i have an issue while printing in script.
my requirement is to print the line heading on left corner and price field on right coner in the same line.
ex :
total value : 700.00
am using ECC6 version.
Please help in this issue.
regards,
deepak.thanks for your replies ....
i have tried using couple of u'r suggetions....
actually i have 5 lines to be printed one under the other:
ex :
total po value 5000.00
total vat value 100.00
total insurance 0.00
am unable to align in the above order the values are getting printed in a zig zag way,
total po value 5000.00
total vat value 100.00
total insurance 0.00
any other way ?????
Thanks in advace for u'r time,....
Deepak. -
Place holder and formula columns help
Hi All
Can any one help for me.. how to create placeholder column variable, then how can i assign the variable in formula column to populate.
As report Output Requirement :
I have two columns col1 and col2 . based on report parameter (selection type )
Ex :
1. select 1 means its need to display col1 , hide the col2
2. select 2 means its need to display col2 , hide the col1
3. if they non of selection means need to display both col1 and col2
can you guide me , how to do task in oracle reports
Regards
SanjayHi Rohit,
Thanx for ur reply ..
But when i try to open that link it gives me the following error
Sorry. This page does not exist.
The URL you requested could not be found on this server. Please check the spelling in the URL or use our search to find what your are looking for. Thank you.
Can u suggest me some other place which gives me a precise explanation with some EXAMPLE too ...?
Thanx again in advance -
Hi ,
I want to re-align the columns in a matrix in the form.
for ex: i am adding one column in the existing matrix i want that column to be displayed in the first position.
How to do that?
Regards,
Kughan.Hi kughan,
Press the Form Settings button (on the icon bar its the fifth icon from the right). In the Form Settings Window, you can drag and drop the fields to the desired position in the matrix.
I don't know of any way to do this by code.
Regards,
Vítor Vieira
Maybe you are looking for
-
WEBAS Installation problem on HPUX 11.11
Hi , I am running the sapinst present in the "/usr/sap/CD/51030191_NW04_Installation_Master_Oracle/IM2/SAPINST/UNIX/HP11_64" but when i am running that i am getting this error output . [==============================] | extracting... done! iauxsysex
-
i would ideally like to not use all my macbooks memory either and we have an xbox so all the streaming for like netflix we can do on this. I guess thats why I'm wondering if it is a better idea and if it is possible for us to just utilize an externa
-
Relation between Business Partner and User
Hi everyone. Where can i found the relation between the business partnes and user in the tables of CRM application. Thanks. Mauricio N.
-
Maybe I should know this but: I'm calling a method of a webservice that returns a string. Works great. The string is essentially an XML document, but how can I use that data (the string being returned from the call) or place that data in a properly f
-
Timeout: Tuxedo kills the service but not the database connection
Hi all, I am experiencing some performance problems on my system due an efficient SQL and a Tuxedo improper timeout handling. A service is using a "problematic" SQL (we will tune it but it's not the main problem). After 60 seconds from the execution,