× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I forgot some good sample code if you go the .NET route with Aspose:

PdfViewer viewer = new PdfViewer();
viewer.OpenPdfFile(@"d:\test.pdf");
viewer.PrintPageDialog=false;//do not produce the page number dialog when printing
System.Drawing.Printing.PrinterSettings ps = new System.Drawing.Printing.PrinterSettings();
PrintDocument prtdoc = new PrintDocument();
ps.PrinterName = prtdoc.PrinterSettings.PrinterName;
viewer.PrintDocumentWithSettings(pgs, ps);
viewer.ClosePdfFile();

As you can see, it's pretty simple. I looked at the AFPRSC examples that Pat sent, and reading those caused my head to turn around just like in the movie the "Exorcist". I guess I'm funny like that, I like my code to be easily readable and as short as possible.

-----Original Message-----
From: Matt Olson [mailto:Matt.Olson@xxxxxxxx]
Sent: Wednesday, August 29, 2012 4:02 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Print images to network printer

FYI, .NET doesn't have native PDF printing capabilities. You must resort to "hacks" that convert the PDF file to a TIFF (using non-native libraries such as ghostscript) and then send it to the printer using the native printing libraries or do shell executes to Adobe Acrobat to print.

The more elegant solution, is to buy something like Aspose PDF for .Net. With it you can print PDF files with about 5 lines of code and it's a 100% .NET native library.

-----Original Message-----
From: Rick.Chevalier@xxxxxxxxxxxxxxx [mailto:Rick.Chevalier@xxxxxxxxxxxxxxx]
Sent: Wednesday, August 29, 2012 3:55 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Print images to network printer

The files will be either PDF or TIF. Older files are TIF and newer ones are PDF.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Dan Kimmel
Sent: Wednesday, August 29, 2012 2:47 PM
To: Midrange Systems Technical Discussion
Subject: RE: Print images to network printer

What kind of "images"? TIFF? JPEG?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Rick.Chevalier@xxxxxxxxxxxxxxx
Sent: Wednesday, August 29, 2012 10:28 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Print images to network printer

I have a requirement to be able to print images stored on our IFS on a
business group's printer. Some of these print requests can run into
the tens of thousands of pages.

Is anyone printing images to network printers from the i? If so,
would you mind sharing how you do it?

Rick Chevalier
Software Solutions Development Lead
[cid:image001.gif@01CD85D0.FAF42B10]
817-525-7178 (w)


________________________________
Privileged and Confidential. This e-mail, and any attachments there
to, is intended only for use by the addressee(s) named herein and may
contain privileged or confidential information. If you have received
this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail.
You are hereby notified that any dissemination, distribution or
copying of this e-mail and/or any attachments thereto, is strictly prohibited.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-
l.



Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.