I have searched for this but cant find anything to help.
I have a WordprocessingDocument - using DocumentFormat.OpenXml.Wordprocessing.
Is there a way to print this straight off to a printer, I dont want to save it at all?
Thanks
No, you'll need some sort of program to take the Open XML and translate into how it should be displayed for the printer. In its raw form its just XML and without the translation the printer won't print it how you would expect.
Related
I have requirement to create virtual printer which used to register my printer in the printer drive ,Whenever my printer invoked it should generate PDF file for respective page . I had created and invoked my printer functionality,here comes the problem,i could not find how to convert temp file(.PS) to PDF file or any image file.Please let me know if anyway I cld achieve this....
Thanks in advance,
Vinod
You need to find a library that will convert from PS to PDF for you. A quick Google shows that there are libraries available, but they may not be free. It's up to you to go and look for yourself now to see if any suit your requirements.
I am creating a program that, at the moment, is using locationtextextractionstrategy() from iTextSharp to retrieve the text inside a pdf. This works great except for how long it takes for some of the pdfs I have to run through the program. So I was curious if there was a way to only pull a certain amount of text from a pdf instead of pulling it all. Maybe use coordinates to specify a region and then extract the text from the specified area. Any input would be much appreciated, thank you!
I have PDF document data with table structure format and I would like to convert that PDF file into a text file with the same structure with margin and spaces between text in pdf
You need to write your own PDF tool then. Which is not exactly an easy task. Honestly, 3rd party tools make your job much easier, why don't you want to use one?
If you change your mind, I can suggest iTextSharp. I've used it in the past with great success. Here are some example to get you going:
http://www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-C
ps. there are 3 tools used in there.
Help me please with the easiest answer. I want to print text from my notepad and i don't know how. I've tried using print document, but my printer gives me empty sheet of paper. It working good normal.
can someone tell me if AcrobatAccessLib (Acrobat Access 3.0 Type Library) in com references can be used for text searching in pdf document?
It contains class PDDom, but I dont know if I can load document into it or, how to work with it.
(I dont wanna use iTextSharp, and others, I tryied it but not works as I wanted - pdf has corrupted number paging + contains tables, that are across 2 pages - iTextSharp finds me searching text on both pages - instead of 1, but if I use Acrobat Reader - it works well)
EDIT: Or another question, Can I use acrobat reader and its searching module in my application?
I am working in c#
Thanks a lot!
Try to use PDFLIBNET.DLL
in that dll have pdfwrapper class, this class provides lots methods to get text from pdf. The FindText method used to get a text from a particular position, and exportToText method gives content of pdf page
from that content u will search the pdf content..
am using tat DLL and searching the pdf content with out any issue..
try it and let me know..
If money is not an issue, I would by the Aspose PDF components. They work pretty well and are built for server usage.