Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: muthuivs
  • Order by date
  1. muthuivs

    Printing an exinsting tiff file from VB6

    Hi AccessGuruCarl, What I did was buy a twain contro lfrom the web that supports multipage tiff's and used the pic box to display the picture. The Twain control was only about $100 bucks (I didn't want to program a huge program since I was short for time). It worked well. MuthuIVS
  2. muthuivs

    Printing an exinsting tiff file from VB6

    Not really, I haven't had a chance to look at GDI+ functioanlity, I need to have a version 1 of this project done ASAP and since I am working with Twain controls that easily set it up as bmp and TIFF, i will use bmp for display and tiff for the actual purpose that will come later. After...
  3. muthuivs

    Printing an exinsting tiff file from VB6

    Thsnks for the feedback, I guess I will save the documents as bitmaps for dispaly and printing. Any Idea how to send it to the printer though? MuthuIVS
  4. muthuivs

    Printing an exinsting tiff file from VB6

    Hi Guys/Gals, I am trying to print a tiff image using vb6, any Idea how to do this by using somekind of print function and calling the tiff file that needs to be printed. EG: I have 101.tiff saved in c:\Scans, and I need vb code to send this to the printer by clicking a button on my form. Any...
  5. muthuivs

    Trying to scan (using scanner) with VB6 or .net

    Hi Guys/Gals, I am writing a program that needs the user to scan in documents using either adobe or the software provided by the scanner makers (such as travelscan pro, etc). My program needs to have have button that says "SCAN DOCUMENT", and when it is pressed I need the program to...
  6. muthuivs

    Using a USB printer for output

    I was trying to print to a usb printer but I didn't know how so I out put the results to a rtf then get the user to print from there. I gave up trying to print sirectly :( MuthuIVS
  7. muthuivs

    String array

    I am not sure what you are trying to do but if you want to add numbers to a string, try stringstream, EG; char somechars[10]; stringstream strNew; int counter = 55; string str1 ="Hello"; : : : strNew<<somechars<<str1<<"/"<<counter<<str2
  8. muthuivs

    Using a USB printer for output

    I am printing to a RTF then maually printing the file. It seems to be easier especially porting it to a different compiler may be hell down the road. Thanks. MuthuIVS
  9. muthuivs

    Porting WIN32 to Linux

    I am using Visual C and I get an error with that code also. Just thought you might want to know that cpjust isn't the only one. I haven't tried his code yet though. MuthuIVS
  10. muthuivs

    Output to RTF, Format is being deleted by C++

    Thanks Salem...it works now. I thought it was the same as writing to a text file!! I guess not. have a great weekend. MuthuIVS
  11. muthuivs

    Output to RTF, Format is being deleted by C++

    Its strting to work, this is what I am doing, I am first trying to just read the template and print it to another file: The only question now is do I need to clear the char variable everytime I read a charachter? If so would char buffer = ' ' , work? Code ifstream fin("c:/Program...
  12. muthuivs

    Output to RTF, Format is being deleted by C++

    How do you read a template though? Aren't templates page margins, tab distances and so on. How do you read stuff like that and write it to another file?
  13. muthuivs

    Output to RTF, Format is being deleted by C++

    But how do I transfer the data to my template file to print? As for code: Here is the code where I call to opent the rtf file, then attempt to write to it. It writes to the file but my formatting in the file is gone. ofstream fout("c:/Program Files/MyRenamer/LabelTemplate.rtf"); for(int...
  14. muthuivs

    Output to RTF, Format is being deleted by C++

    I am now trying to print the output to a RTF template that will defintely work since I have my formatting saved in the template but once my program writes to it , the formatting in the RTF is all deleted. Any Idea how to get around that? It doesn't even save the page setup for printing. MuthuIVS
  15. muthuivs

    Using a USB printer for output

    Does anyone know how to get a c++ program to output to a usb printer or at the very least an acrobat distiller? I am trying to use the following: ofstream print; print.open("lpt1:", ios::out); print<<"blah blah blah"; but I guess I have a usb printer and not a lpt1 printer. PLease help...I...
  16. muthuivs

    Controlling the output size

    Great, that fixes the issue! Thanks MuthuIVS
  17. muthuivs

    Controlling the output size

    Hi Guys/Gals, Is there a way to control the output size in c++, in other words, the font size. I am making a label making program, but the problem I am running into, is the fact that A is a different size that M so depending on the letter being typed the output is starting at slightly...
  18. muthuivs

    get only one char from input with cin

    OK...Here is what I am trying to do #include.... int main() { char response; string strfilename; cout<<"Do you want to run another batch (Y/N) : "; cin>>response; response = toupper(response); if ((response != 'Y') && (response != 'N')) { do{ cin>>response; response =...
  19. muthuivs

    get only one char from input with cin

    Cool...Then I am done!! Thanks Everyone!! I love this forum, the educational values are boundless!!
  20. muthuivs

    get only one char from input with cin

    How do I use the cin.ignore in my example ? I am doing something wrong and it is still reading the extra charachters. AM

Part and Inventory Search

Back
Top