PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Apr 25, 2024 8:22 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Apr 01, 2008 8:48 pm 
Offline

Joined: Wed Jan 24, 2007 5:24 pm
Posts: 2
Is it possible to open a PDF document from disk into Migradoc? We would like to use the printing capabilities of MigraDoc to concatenate multiple PDF files together and send them to the printer. We do not need to modify the documents, but PDF Sharp does not have the capabilities of printing directly to the printer.

I understand that Migradoc works with a different model than PDF Sharp, so this might not be possible? I was trying to copy pages from the PdfDocument into the Document but was unable to do that also.

Any suggestions appreciated!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Apr 02, 2008 7:28 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
From MigraDoc to PDF is a one way street ...

However you can create a MigraDoc file and add the pages from the PDF files page by page as images.
But I'm afraid the PDF pages won't print unless you create an intermediate PDF file from MigraDoc.

I'd probably use PDFsharp to concatenate the files.
You can call Adobe Reader with command line options to print the file without having the reader showing up.
I'm not sure if Ghostscript can be used to print PDF files - maybe you can use the Ghostscript API instead of the Reader.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 306 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group