How convert PCL generated by HP LaserJet 5 into PDF in C#? - c#

I need to retire 15 years old system and preserve all data. It can only print documents into specific printer HP LaserJet 5. I can print documents into PCL files and looking for ways to convert all this files into PDFs programmatically. Preferably in C#. Can anybody recommend good library or command line tool? Preferably free ;-)

The commandline tool GhostPCL (part of GhostPDL), by the same developers as Ghostscript, can convert PCL to PDF. Recent changes in their public source code repository provide a fully integrated source tree encompassing Ghostscript, GhostPCL and GhostXPS. This includes MS Visual Studio *.sln and *.vcproj files to build all or part of their products. License is GPL or commercial (commercial licenses to be obtained from Artifex):

The simplest solution I found is VeryPDF PCL Converter http://www.verypdf.com/pcltools/index.html. It has command line mode, GUI (for command line), batch mode and only cost $125. My company has been pay for it. Hope this will help somebody too.

I've used Visual Softwares pcl2pdf on several projects, it worked well for me.

We are currently using Lincoln's PCL to PDF converter. It was simple to call and provides embed into our C# application. It also provides good feedback in terms of Events when a page has been converted etc so you can even add progress bars etc.
Lincoln PCL to PDF Converter

I've used PCL to PDF for Windows and OS X which is based on GhostPCL.

Related

.NET Core PDF and RTF document generation

Looking for suggestions for libraries that can generate PDF and RTF documents from stored data (not "HTML to PDF" or "URL to PDF"). With all functionality for adding images, encryption etc. We are currently looking for an alternative to PDFSharp-MigraDoc-GDI, which, although works with .NET Core, does not fully support it and we see compiler warnings - "This package may not be compatible with your project". We have also been getting issues on the IIS tier regarding GDI+. We've decided to play it safe and find an alternative. Does anyone have a solution that they would recommend? Thanks
As far as I know, you can write whole new documents using the Microsoft.Office.Interop library, here is this post that's talk about it (be careful about deploying things like these, you might need an office instalation running on the server):
https://www.c-sharpcorner.com/UploadFile/muralidharan.d/how-to-create-word-document-using-C-Sharp/
And I've found this post about using the library to print PDFs:
How do I convert Word files to PDF programmatically?
It's not much but hope that it helps, regards!

How to Add and update the comments for the PDF file using c#

Now I am working in the process of Insert and Update the comment for the pdf file using c# code. I want to Know the any possible way to insert a comment inside the pdf file. Anyone Know about this, Please reply and some reference for this process.
Microsoft does have very limited support for PDF in operating system APIs and it has come only recently in Windows 8 for modern applications (now called UWP) and that support doesn't go as far as updating comments.
So you need to use the 3rd party library. As far as I can tell SharpPDF is the only free library worth something, but I failed to open many PDFs in it so I can't recommend it. So I think you would need to search for some commercial library, I am aware of several of them that can do the job (e.g XfiniumPDF, iTextSharp etc) and you'll get the documentation when you license them.

What's the best way to convert docx/pptx documents to PDF from a Windows Universal App?

Usually, I would use the Microsoft Office Interop library, but it requires the use of COM objects, which (as far as I know) isn't possible if I'm developing a Windows Universal app. What are some alternative methods I could use to convert Word and PowerPoint files to PDF from a Windows Universal App? Thanks!
There are a number of 3rd party libraries that will do this for you pretty easily, I have used Synfusion (there's a free version) for a similar workflow with Word, Excel and PDF (not PowerPoint) and while not a huge fan overall of the Syncfusion library (version 11), the Office/PDF stuff has done its job well.
Alternatively, if you're sure you will only be using the latest version of Office docs (extensions ends in X) you should be able to use any of the open office libraries to open the file to read it and use something like itext to export back to PDF. That might be trickier for more complicated documents (like PowerPoint slides).
The Syncfusion seems to be a good set of components even if in my projet i only wanted to print/convert office (.doc and .docx) documents.
Did you try this ? and what do you think of :
the speed of converting
the quality printing pdf files
the quality of converting Word file to pdf
Did you use the free "Community Edition", because i can really image we can use theses library with no cost ! What is the drawback ofusing it from free

C# System.Drawing.Printing.PrintDocument to PDF Recommendation?

We are developing a C# Application that supports printing multiple views and we would like to add printing to PDF. This application has several 3rd party controls that handle the printing on their own so adding something like SharpPDf will not work for us we don't believe.
Either we need a 3rd party component that takes a Print document as source and produces a PDF from that, or we need a good 3rd party print driver.
I was surprised that Adobe does not offer a Distributable version of the PDF printer they bundle with Acrobat as that would be ideal. Anyone have recommendations as to what is the best path for us on this?
Thanks in Advance,
Jeff
UPDATE: So after all the suggestions and a ton of research here is what I ended up doing. We are buying a license to Novapdf sdk for our product (http://www.novapdf.com/en/pdf-sdk.html). I looked at over 15 different products and we went with nova because of the ease of which we could implement this in our code and the cost was right ($899 for novaPDF SDK Single Application v7.) The code could not have been simpler and you can start developing before you actually have the license. Thanks again to everyone for their suggestions.
as a PDF printer, you can use PDF Creator, that it's free:
http://www.pdfcreator.com/
However, i'm using SharpPDF and works fine.
The best free tool I found is ITextSharp. It's very easy to use, and has a lot of examples online.
You can find it information at http://itextsharp.com/
we are using Billzip http://www.bullzip.com/products/pdf/info.php. There is also a COM interface to define how you want the output file handled. Here is the COM object info http://www.biopdf.com/guide/.

Reading Guitar Pro files

I was wondering if anybody had heard of a library, preferably a .NET assembly, but Java will do as wel, that allows you to read the data in a Guitar Pro file (.gp3-gp4-gp5)
I have this gigantor of a folder with about 50.000 song files, and would really love to write something that can actually archive all these files, for easier searching. And basic information like the tuning of the instruments in the song would be very useful parameters to retrieve from the file and add to the database.
I have searched the web but have yet to find anything like this, or a file definition for writing my own parser.
Thank you in advance for any information on the subject.
TuxGuitar is an open source Java application that includes classes that read Guitar Pro files. If should be probably more that sufficient for reading basic metadata.
Your other option is using reverse-engineered file format documentation - there's one from DGuitar project.
Your third option is trying to re-use some code from KGuitar project, that also include Guitar Pro 3/4/5 files importing clasess, but it's in C++ and Qt.
Please look through my open source project that is written in C# for Windows Phone7:
http://phoneguitartab.codeplex.com/
This is tablature viewer for Windows Phone 7. It can open guitar pro (.gp3, .gp4, .gp5) and text based files (I've used open source projects in Java to create guitar pro parser in .NET). Unfortunately it isn't finish yet but I hope you find something useful in this project.
Update: GuitarPro functionality was moved into branch

Categories

Resources