printing a pdf file from vb.net

  • Follow


how can i print a subset of the pages of a pdf file,
i.e. to print from page x to page y?

i tried to use pdf.ocx but it doesn't work.

any suggestions?
0
Reply liork555 1/23/2005 8:48:23 PM

liork wrote:
> how can i print a subset of the pages of a pdf file,
> i.e. to print from page x to page y?
> 
> i tried to use pdf.ocx but it doesn't work.

You can try one of the following two libraries to generate a new PDF 
that just contains the pages you want.

DirectPDF - COM component (free, but not open source) 	 
http://directpdf.free.fr

iText.NET
http://www.ujihara.jp/iTextdotNET/en/

I am not a programmer, but I guess they kind of work with VB.net. I 
guess, they won't allow to render and print a PDF (you still have to use 
pdf.ocx) but they can created new PDF files from existing ones with 
selected page ranges.

Ralf
0
Reply Ralf 1/23/2005 11:53:03 PM


Versions of Adobe Reader earlier than version 7 didn't support the use
of pdf.ocx. However, with the release of version 7, it is now
supported.

Additionally you could look at XpdfPrint.

- Chris.
___________________________________

Chris Dahl - Chief Technology Officer
ARTS PDF Global Services
chris.dahl@artspdf.com
http://www.artspdf.com/globalservices
Official PDFlib Global Integrators

0
Reply chris 1/24/2005 10:16:53 AM

chris.dahl@gmail.com wrote:

>Versions of Adobe Reader earlier than version 7 didn't support the use
>of pdf.ocx. However, with the release of version 7, it is now
>supported.

In a sense, yes, though I believe it is no longer called pdf.ocx.
----------------------------------------
Aandi Inston  quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

0
Reply quite 1/24/2005 11:03:51 AM

3 Replies
608 Views

(page loaded in 0.054 seconds)

Similiar Articles:













7/21/2012 8:56:33 PM


Reply: