Printing dimensional accuracy
How accurate are printed dimensions supposed to be?
I encountered a problem printing a page of labels from WORD 2011. Printer is C4280 all in one. Using an iMac running 10.8.5 with all the latest updates.
By the time I get to the bottom of the sheet of labels (1" high each) the printing has slowly shifted upwards so that the first line of the label is starting to fall on the previous label. I'm using the right Avery template for the label.
Looking at the print layout of the WORD label document being printed it seems OK - i.e it's laid out on the page correctly against the ruler on the screen.
I tried printing, from Graphic Converter, a vertical line 10" long and low and behold it prints out 9 and 7/8",! Thisis similar to what is happening with the labels.
I then tried to use the copy function on the printer/scanner and a 10 inch long dimension is rendered about a 1/8 inch short!
So.. it looks like there's no inherent problem in the Mac/HP interface but is a problem in teh accuracy in the drive on the printer. Is this a degredation in the printer? I was not aware of this problem before, but it could have been ther all along I suppose.
Do I neeed a new printer or is this what I shoud expect?
Hi MrKenny,
Welcome to the HP forums!
I see you have some questions about your Photosmart C4280 and the possible limitations it has on your printing. I will certainly do my best to work through these questions with you
I will start off by saying, I believe this may be a hardware limitation (as it happened on a Copy as well) but I am more than willing to make some suggestions to see if we can find anything different!
If the printer isn't already, I'd like you to plug it directly to a wall outlet for it's power source. Even the best surge protector can limit the power a machine gets so we just want to make sure the printer is getting all the power it needs to function as it should.
If that doesn't seem to change anything, please make sure you have the latest printer driver update from Apple/HP and then, if you have the HP Utility (I believe it should come with the update but if not, that's fine just let me know) I'd like you to Align the printer through the Utility.
Please let me know how things go if you can
Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
**MissTeriLynn**
I work on behalf of HP
Similar Messages
-
OfficeJet 4500 will not print two sided over network
I'm running on Windows 7 with an OfficeJet 4500 G510n-z over WiFi. Printer works great except that it will not print two sided. We've used a non-WiFi 4500 to print two sided before. With the new printer the first pages print and the pop-up shows on the laptop (prompt to flip paper over) but nothing happens. The second pages never print.
I've run all of the HP print and network diagnostics. Everything appears to be OK.The solution below was found on the sticky post at the top of this board "Fixes and Workarounds from HP"
I think the patch below only applies if you have the original printer software installed, I assume this issue was fixed in later versions of the printer software, Read the patch information carefully.
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-69847-2&lc=en&dlc=en&cc=us&...
This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
Microsoft Office 2007
Duplex printing via network
Printing from Intuit applications
Print margin accuracy
Thai language font -
How do you print multiple photos per page in LANDSCAPE using iPhoto ?
I am very experienced using iPhoto and like it but it has a very limited print program that I find frustrating.
The simple task of turning the paper to landscape mode does not appear to be one of the options when you wish to print more than one photo per page.
Even with a single photo selected there is no "landscape" mode, but rather you have to define the print dimensionally to be 11" wide x 8" tall.
Even that option however, goes away when you select the "custom picture arrangement" to get more than one picture per page.
Has anyone figured this out - I love apples products but this omission is a pain - HELPFirst send a feature request to Apple via http://www.apple.com/feedback/.
A workaround, if you have the iWork suite of apps, is to create a landscape canvas in Pages or any image editor that supports layers, drag the two photos onto it, resize as needed and print.
OT -
How to improve or get the right colours for my printer
Hey guys, I have just used an EyeOne to configurate the right colours of my screen. Just that when I use Photoshop or I watch at the pictures, I want to see them as they really are. I've done it, but now I have the second problem. It works for sending pictures, for sending them to print... But my printer(an Epson) prints them too dark and too redish.... But my screen is just perfect.
Do you know how can I manage to configurate the way to change the colours of my printer with some app or some configurator??
Thank you very much for your answers.Your EyeOne has calibrated the display, but you will also need print profiles.
First, without a printer profile, you will get the most accurate print by using the printer manufacturers, in you case Epson, inks and papers.
You can use alternative, but quality inks, and alternative quality papers. Wether using these or Epsons, you will need a print profile.
The print profile will usually make a much larger difference than just calibrating your display.You will need a different profile for each paper and ink combination you use. Some paper manufacturers supply downloadable profiles, but these will only be accurate if all of the Epson printers of your model have identical characteristics, this is rare, hence the need for custom profiles. Some paper manufacturers will supply you with a custom profile free, or you simply download the target image, print following their instructions precisley and post the printed target to them for a custom profile. They then email the profile back to you. There are also commercial companies that do this to. Another option is to purchase a calibrator that profiles your display and printer, but that tends to be expensive. Look here at various options here from just one of many suppliers http://spyder.datacolor.com/products.php.
Look here for options available from a typical paper supplier in the UK. http://www.permajet.com/30/ICC_Profiles.html. Then read these sections relating to the previous link.
What are ICC Profiles and why do I need them? CLICK HERE
What is the difference between a GENERIC and a CUSTOM ICC Profile? CLICK HERE
That should give you and idea of what needs undertaking for print colour accuracy. -
Officejet 4500 skips pages or parts of pages.
My Officejet 4500 worked great for about 6 months, but in the last few days it has started to only print the first few lines or at random portions of pages. Fiddling with the default printer setting helps sometimes for a while, but then it acts up again. Fooling with spooler settings also works (or seems to work) temporarily. Wasting paper, ink and time! I wonder if it might be a java update problem -- I work with finicky niche software that doesn't like Java updates, so I skip them.
sellenThe solution below was found on the sticky post at the top of this board "Fixes and Workarounds from HP"
I think the patch below only applies if you have the original printer software installed, I assume this issue was fixed in later versions of the printer software, Read the patch information carefully.
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-69847-2&lc=en&dlc=en&cc=us&...
This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
Microsoft Office 2007
Duplex printing via network
Printing from Intuit applications
Print margin accuracy
Thai language font -
The best way to get the latest software and fixes from HP is to run HP Update.
This can be found on the Start menu under HP. This program can be setup to run automatically. For more information about HP Update and how it works please visit this web site.
For more information about HP Update please click here
Listed below are some of the patches that have been released to fix various HP software issues.
All the fixes listed below cover various versions of HP Software, if you download and install an update and the update gives a message that it is not needed, this means that your installed version of the HP software already has the fix installed or it is not needed.
1) Solution Center Upgrade (Needed for HP Software versions 10 thru 12)
This update corrects two issues:
1) Solution Center prompting for disk when launched or during a pc reboot and
2) Prevents an application error with hpqgpc01.exe when PC is shut down
2) HP Core Software Patch (Needed for HP Software versions 8 thru 10)
Corrects an issue that causes the network connected printer to disappear from the system and/or the USB connected printer to repeatedly attempt to reinstall, and improves system responsiveness while spooling and printing documents.
3) HP Printer Communication Patch (Needed for HP Software versions 8 thru 10)
This update corrects an issue that can cause your computer to lose the connection with your printer, which may result in incomplete print jobs and loss of printer status messaging.
4) Printer Driver Patch
This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
Microsoft Office 2007
Duplex printing via network
Printing from Intuit applications
Print margin accuracy
Thai language font
5) Double sided Printer Patches and Work around
How to setup duplex printing in the printer driver
Xp and Win 2k Windows Vista Windows 7
Duplex Printing Second Page comes out upside down
Reverse Side of Two-sided Printout is Upside Down in Vista
Second Page Prints Upside Down When Using the Automatic Two-Sided Printing Accessory (Duplexer) in W...
6) Latest Version of HP Smart Web Printing Application (Fixes crashing in IE 8)
Download from Here
7) HP Solution Center displays a Blank Screen on startup.
For more information about this problem read this document
JonW
I work for HPThis is some really good information. Thanks for taking the time to post !
If I helped you at all it would be great if you clicked the blue kudos star!
If I solved your post please mark it as solved to help others.
I'm a printer tech with HP. -
Printing a double to accuracy of 2 decimal places
Hi,
I have a double value and I want to print it to an accuracy of 2 decimal places. Is there any way to do this. I tried using the DecimalFormat by
doing the following
String str = Double.toString(value);
DecimalFormat dec = new DecimalFormat(str);
dec.setMaximumFractionDigits(2);
String res = dec.toString();But this doesn't seem to work. I am using java 1.4.
ThanksYou can use DecimalFormat but like this:
double value = 1.345678d;
System.out.println(value);
DecimalFormat dec = new DecimalFormat("0.00");
String result = dec.format(value);
System.out.println(result);Or you can use a BigDecimal where you can specify the most appropriate rounding method:
BigDecimal bd = new BigDecimal(value);
bd = bd.setScale(2, BigDecimal.ROUND_HALF_UP);
System.out.println(bd.toString());HTH,
Christian -
Accuracy of drawLine location on the printer
As I understand it, Graphics2D uses floating point line widths and one can control the width quite accurately making accuracy in line width as good as the resolution a modern printer.
Also as I understand it, when one draws a line from one point to another, the endpoints are located as accurately as integers of 72nds of an inch. It seems to me that this less accuracy would make for an accuracy inconsistency. Also there would be two integerizations, one to 72nds, and another to printer resolution, say 300ths of an inch. Or to screen resolution of 96ths of an inch. I hope I am wrong, and that I can place the endpoints of a line more accurately that the integer arguments of drawLine in 72nds of an inch on the printer. Please educate me. What am I missing?You can't change it within your computer's iTunes itself, that will use your main drive. You could see if turingtest2's instuctions on this post work : https://discussions.apple.com/message/22265640#22265640
-
A little background first, I've printed 1000's of pictures on many different printers, calibrated monitors and worked with PS for years. So I have a lot of experience. When I have a issue I usually work it by googling and trial and error. However, when it comes to ICC profiles, color space, etc., I'm still not as good as I should be........
I created a painting in Sketchbook Pro. I moved it to PS6 to print it. ( it looked good in Photoshop ) The printed image didn't match my painting as viewed in Sketchbook or PS6 and they both looked the same. It was harsh, colors didn't blend together and looked very crude. I was at a complete loss. I'm using an Epson 4880 with Enhanced Matte Paper and letting Photoshop manage the colors. I did a soft proof using the paper's profile, calibrated my monitor, changed printer cartridges and still after each adjustment it looked harsh. I then decided to print it to my Epson 4880 directly from Sketchbook instead, with all the same settings as in PS6 and it came out perfect, just has I hoped. My question is what I'm I missing in Photoshop that I still need to learn so I don't have to stumble around trying to match my image to print. Obviously my printer is working fine when paired with Sketchbook but the communication between my printer and PS6 is screwed up somewhere. I would appreciate any and all advice. ThanksThanks for your reply. The site was down in my area last night or I would have responded earlier. At any rate, here are the two screens I go through to print my image. I didn't want to offend anyone so I strategically blurred the image. However I still think you can tell how smoothly the colors blend and that the transitions in her back are not obvious. For some reason PS6 is distorting the transitions. The settings you see below are the same for printing out of PS6 or Sketchbook Pro.
Update: I've noticed that the printed images from PS6 have gotten better as I have reacted to the other post here and kept trying to make sure everything was set correctly, but still my best effort isn't as smooth as the one printed from Sketchbook Pro.
Thanks -
V10 does not PRINT at all....
I just want to scream, really.....
I'm in the process of creating new components in Ultiboard and need to verify that sizing and orientation. I did the usual by selecting all the mech layers, drill layer, and the top silk, when I click preview, the image looks exactly as it should.....I hit print, it send the data to my printer.....and what comes out is a nice clean white sheet of paper.......thats it.....nothing else.
I try several times...no dice
I try to add every single layer.....still nice virgin white sheet of paper comes out.
I immediately run a "print test page" from windows xp....it comes out exactly as Microsoft coded it.....nothing wrong with the printer.
Try to do a direct print from the icon ribbon....still same output.......NOTHING.
I would classify this as a critical to severe error.
Anyone seeing this?
Chris
Signature: Looking for a footprint, component, model? Might be here > http://ni.kittmaster.comI export as .DXF format files and open and print them from my CAD software, so I never had occasion to try a direct print. So, as an experiment, I did an electronic print of the silkscreen layer on a small board design of mine, using Acrobat's PDF printer. I got a result, but noticed it took a long, long time. It was also missing the arcs I have in the outline of a selector switch. Not cool.
I will speculate the lengthy generating time results from something I noticed with the .DXF format files. That is, arcs are piece-wise approximations made up of line segments, while solids, including round pads, are clusters of filled polygons. Normally, .DXF, as currently exported from a number of CAD programs, makes arcs and circles by employing center point location and radius commands, and will fill a defined closed circle. That the exported board files are not done this way clutters the result with large numbers of little elements, making them large for their content and slow to render in CAD software. It is an area where a little sophistication would go a long way toward improving the portability of the output.
It may be that your printer is having trouble with the bulk of the clutter? If it has a driver that doesn't play nicely with the spooler, that could also explain it?
As to checking dimensions, I would use the tools in Ultiboard. Set the working layer to silkscreen and use the Place|Dimensions command. Just don't set the dimension down on the layout after you have it; cancel it instead. Otherwise, you can place the dimension, then use Undo to get rid of it. I've have had no problems with the accuracy of the sizes being as dimensioned. I have, however, seen printers that are a bit off when it comes to keeping X and Y well matched, so I consider them a less reliable check of dimensions. Incidentally, to do this, you will probably want to right click in the board window with nothing selected, then pick Properties from the flyout menu. Click on the Grid & units tab and set the visible grid and also the component, copper, and via grid steps to a small size, like 0.001" or even 0.0005" to make it easier to zoom in and pick out small dimensional differences.
Message Edited by Unclenick on 08-08-2007 07:30 PM
Message Edited by Unclenick on 08-08-2007 07:30 PM -
How do I get rid of the two A A on my screen/printed documents?
Please see:
@: Math calculators » Number conversion
ADVERTISEMENT
Antilog Calculator
Antilog Calculator commonly called as Anti Log or Inverse Log calculator, is an online tool used to calculate Inverse Log values with respect to the base values
AntiLog or Inverse Logarithm
The anti-log is simply the inverse log calculation. Namely, if you know the logarithm of a number, you can compute the value of the number itself by taking the antilog. The anti logarithm is defined as
y = antilog x = 10x
For example, if you want to compute the antilogarithm of 3.5. Clearly, since 3.5 is a number between 3 and 4, the antilogarithm will result in some number between 1000 and 10,000. If more accuracy is required, this online anti-log calculator can help you out find out the exact value of the given input. Since Log and antilog are inverse functions, then this means that
10Log x = x, and Log 10x = x
You can use this information to modify a formula to solve for different desired quantities. As a general rule, logarithm or anti log functions operate on numbers that are unit less
Similar Resource
Worksheet for how to Calculate Antilog
Antilog Calculation
Find Anti Log for
Enter Logarithm Base
Eg: e, 10, 2
Also Try: Log Calculator
Print
Advertisement
Ad Info
Advertisement
Logarithm Calculator
Binary to Decimal, Hexa, Octal Converter
Decimal to Binary, Hexa, Octal Converter
Hexa to Decimal, Binary, Octal Converter
Octal to Binary, Hexa, Decimal Converter
GCD or HCF Calculator
LCM Calculator
Number to Word Converter
Percentage Calculator
Prime Number Calculator
Pythagoras Theorem Calculator
Square Root Calculator
Online Financial Calculators, Math Calculations
Home
$ Currency Converter
Math Worksheets
Finance Calculators
Mortgage Calculators
Loan Calculators
Interest Calculators
Investment Calculators
Credit & Debt Calculators
Profit & Loss Calculators
Tax Calculators
Insurance Calculators
Math Calculators
Statistics Calculators
Number Conversions
Matrix Calculators
Algebra Calculators
Geometry Calculators
Addition Table
Multiplication Table
Multiplication Worksheet
Area & Volume Calculators
Unit Conversions
Time & Date Calculators
Electronics Calculators
Electrical Calculators
Digital Computations
nCalculators.com © 2013
Privacy policy
Terms of Use
Disclaimers
Contact us
Weapons
Machine Gun
Missile Launch
Sound
On/Off
Game
Quit
Reload
Restart
Play/Pause
Stop
Scores
High Scores list
press ctrl+alt+a to play/stop
5
Menu
0
Ad InfoI solved the problem...it was a websteroids virus. I used a series of debugging programs, but needed to remove folders and files from my hard drive manually. Searched for websteroids. Google searches were helpful for most of the steps, but the last one you'll need to do yourself.
-
Have a very recent Lenovo Ideapad Laptop running Windows 8.1. Connected via USB port to HP LaserJet Pro CM1415 frw Color MFP Printer. Was able to print fine nearly 2 weeks ago, but something recently happened - either a new windows or office 2013 update
or perhaps I blew away a certain file by mistake. I can see the printer installed but cannot print to it from anything (Word, Notepad, IE, Firefox etc.). The one thing to note is that usually when I plug or unplug a USB related device, Windows 8.1 recognizes
this and makes a certain chime noise, but with the printer USB cable it never makes that noise - making me think that it never fully recognizes the printer. Also when I select the printer (from within the control panel) and right click for properties (via
admin rights) It never lets me fully connect to it.
I have tried all the usual remedies - remove, install all drivers, reinstall printer, Windows update, start/stop print spooler and all other printer related services, etc. Its really annoying because this printer was working fine nearly 2
weeks ago. Looking for any advice now. Thanks.
-ChrisHi Chris,
à
I have tried all the usual remedies - remove, install all drivers, reinstall printer, Windows update, start/stop print spooler and all other printer related services, etc.
I noticed that you had reinstalled the printer. Just a confirmation, when un-install this printer, please check
if this printer still exist in registry. For more details, please refer to following KB.
Registry entries for printing
If printer entry still exist in registry, please delete that printer entry and re-install this printer again,
then check if this issue still exists. (Please backup registry entries before operating registry. It will help us to avoid unexpected issue.)
àand now see
message Active Directory Domain Services is not available
By the way, would you please let me know where/when get this
Active Directory Domain Services is not available error message? Or provide a screenshot of it?
(Please hide all protected or private information) Please check if all services are running correctly on the computer. Meanwhile, please refer to following article and check if can help you.
Printer
Problem: Active Directory Domain Services is currently unavailable – Why does windows say no printers are installed?
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
does not guarantee the accuracy of this information.
If any update, please feel free to let me know.
Hope this helps.
Best regards,
Justin Gu -
How can I print address labels from numbers spread sheet
How can I print address labels from numbers spread sheet
CAB,
The 5163 template has the following dimensional specs:
Dimensions & Info
Length: 4.00000" Height: 2.00000"
Top Margin: 0.50000" Bottom Margin: 0.50000"
Left Margin: 0.18000" Right Margin: 0.18000"
Hor. Spacing (gutter): 0.14000" Vert. Spacing (gutter): 0.00000"
Intended Use: Mailing Labels, Shipping Labels, Address Labels
There's a great vendor site with this data readily available, better than the Avery site in my opinion. But, you can get the same info in the Contacts Print dialog pane.
You can grab a template matching these dimensions from that vendor site, Copy the table after opening the Word Template in Pages and drop the into a blank Numbers Sheet.
I found that Sheet side margins of 0.15" worked better than 0.18. For some reason the table wanted to flow to the next page to the right with 0.18". Turning off the Headers and Footers and setting Top and Bottom Margins to 0.5" worked well. These adjustments are made in the Sheets Inspector.
So, that will put the template you specified into a Numbers document and you can print labels properly aligned from there. Since your problem statement is a bit lacking in detail, that's all I can offer you at this point.
Jerry -
Few Questions 'bout Printing in Lab Color
I'm a little confused about how LAB color works. I have a document thats currently in CYMK color mode, and I'm having difficulty finding satisfactory colors. I was advised elsewhere to abandon CYMK. I therefore want to convert my image into to LAB color mode. I've read that converting from one color mode to another can cause layers to look funny, however I need to retain some of my layers... Do you guys typically have problems with this? In retrospect I should have STARTED in Lab... Seems that converting from CYMK to LAB wouldn't be as problematic as converting from LAB to CYMK...
The key question is this: will my printer (Epson R800) even be able to print in LAB mode? I thought yes, or at least closely... because it has much more than CYMK to work with... it has these cartridges:
#1 Blue UltraChrome Hi-Gloss Ink Cartridge T054920
#2 Cyan UltraChrome Hi-Gloss Ink Cartridge T054220
#3 Gloss Optimizer UltraChrome Hi-Gloss Cartridge T054020
#4 Magenta UltraChrome Hi-Gloss Ink Cartridge T054320
#5 Matte Black UltraChrome Hi-Gloss Ink Cartridge T054820
#6 Photo Black UltraChrome Hi-Gloss Ink Cartridge T054120
#7 Red UltraChrome Hi-Gloss Ink Cartridge T054720
#8 Yellow UltraChrome Hi-Gloss Ink Cartridge
Finally, in the print screen menu should I be
"letting photoshop manage colors" or letting "printer manage colors"? Do you guys have any other tips on how to tweak printer/photoshop settings/preferences to maximize the accuracy of my colors? Would I possibly be better off just using RGB?
I know my questions are conveyed in a slightly confusing manner, so thank you for your patience reading through them. I really appreciate any insight you guys can give me.
Thanks,
RichYou can't actually print in Lab mode, although it can be great for certain corrective moves. You have to print in either RGB or CMYK. If you are using the Epson driver for your printer, the print is seen as if it were an RGB device, even though it uses CcMmY and black inks.
To get better color accuracy, you need both a hardware calibrated monitor - so you know that what you see is accurate - and good custom printer profiles, so that the colors are properly converted to the color space of the printer. There is a lot of information both in these Adobe forums and on the web in general about color management and the proper use of profiles, and how to go about it. -
Lots of blank space when printing array with only last element printed
I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it.
I am trying to print out my 2 dimensional array outdie my try block. Inside the trying block I have two for loops in for the arrays. Within the second for loop I have a while to put token from Stringtokeniser into my 2 arrays. When I print my arrays in this while bit it prints fine however when I print outside the try block it only print the last element and lots of blank space before the element.
Below is the code, hope you guys can see the problem. Thank you in advance
import java.io.*;
import java.net.*;
import java.lang.*;
import java.util.*;
import javax.swing.*;
public class javaflights4
public static final String MESSAGE_SEPERATOR = "#";
public static final String MESSAGE_SEPERATOR1 = "*";
public static void main(String[] args) throws IOException
String data = null;
File file;
BufferedReader reader = null;
file = new File("datafile.txt");
String flights[] [];
//String flightdata[];
flights = new String[21][7];
int x = 0;
//flightdata = new String[7];
int y = 0;
try
reader = new BufferedReader(new FileReader(file));
//data = reader.readLine();
while((data = reader.readLine())!= null)
data.trim();
StringTokenizer tokenised = new StringTokenizer(data, MESSAGE_SEPERATOR1);
for(x = 0; x<=flights.length; x++)
for(y = 0; y<=flights.length; y++)
while(tokenised.hasMoreTokens())
//System.out.println(tokenised.nextToken());
flights [x] [y] = tokenised.nextToken();
//System.out.print("*"+ flights [x] [y]+"&");
System.out.println();
catch(ArrayIndexOutOfBoundsException e1)
System.out.println("error at " + e1);
catch(Exception e)
finally
try
reader.close();
catch(Exception e)
int i = 0;
int j = 0;
System.out.print(flights [j]);
//System.out.println();A number of problems.
First, I bet you see a lot of "error at" messages, don't you? You create a 21x7 array, then go through the first array up to 21, going through the second one all the way to 21 as well.
your second for loop should go to flights[x].length, not flights.length. That will eliminate the need for ArrayIndexOutOfBounds checking, which should have been an indication that you were doing something wrong.
Second, when you get to flights[0][0] (the very first iteration of the inner loop) you are taking every element from the StringTokenizer and setting flights[0][0] to each, thereby overwriting the previous one. There will be nothing in the StringTokenizer left for any of the other (21x7)-1=146 array elements. At the end of all the loops, the very first element in the array (flights[0][0]) should contain the last token in the file.
At the end, you only print the first element (i=0, j=0, println(flight[ i][j])) which explains why you see the last element from the file.
I'm assuming you have a file with 21 lines, each of which has 7 items on the line. Here is some pseudo-code to help you out:
count the lines
reset the file
create a 2d array with the first dimension set to the number of lines.
int i = 0;
while (read a line) {
Tokenize the line;
count the tokens;
create an array whose size is the number of tokens;
stuff the tokens into the array;
set flights[i++] to this array;
}
Maybe you are looking for
-
Problems with my Airport Snow. Please someone help!
I had an airport snow base station for a couple of years. I bought it used, and after some initial difficulty, I manage to set it up and it worked fine for a little while. At some point it started failing to connect and started giving me a message th
-
Acrobat Reader 9.2 Bug! Maybe!?
Hey all!First of all I am new to the forum and i'd like to take the chance to say Hello to averyone in this usefull forum! HELLO! I have just installed Acrobat reader 9.2 downloading from the website adobe.com. All went great and it worked fine. Tha
-
I can't decide if I want/need my own web site to sell my photos. Has anyone had experiences in having their own web site? I need good as well as bad experiences. How were photos paid for? Thanx, trishebear
-
I want to insert one row in update mode and update the table. i Wrote some code. but its give error ->The entry already exit in the following table( table name). pls give soluation
-
Trigger an Email on Changing Accounts
Hi All, My requirement is to trigger an email with attachment (Smartform) when the User changes the Account details in Account Overview screen in Interaction center. And the user should be able to see the preview of the Smartform. how can we achieve