This might seem an odd request, but we need a way to print PDF files from
within an application (.Net C#) silently to a printer of the user's
choosing. That is, no popup dialog to be shown, preferably not even the
printer dialog (we will tell 'it' where to print to.
There appear to be a couple ways:
1) command line run AcroRd32.exe with the filename.
But this leaves AcroRd sitting in memory gobbling up a HUGE number of Mbs,
and it appears in the Taskbar for the user.
2) run it inside a browser. But that seems like a kludge.
Requirements are:
- small foot print as it will need to work inside a Citrix environment.
- the usual, fast, reliable, cheap.
- a print server would be acceptable, but prefer a client-only solution.
A search on Google has found few tools - can anyone introduce me to more??
Silently print PDF from within a browser:
http://cwashington.netreach.net/depo/view.asp?Index=793&ScriptType=jscript
Print PDF in batch mode from command line:
http://www.pdfzone.com/toolbox/pdprint.html
Two products that MIGHT do the trick here:
http://www.activepdf.com/en/Products
Any hints appreciated.
Thanks, Roger.
|
|
0
|
|
|
|
Reply
|
Roger
|
7/17/2003 8:50:01 PM |
|
Roger Douglas wrote:
> This might seem an odd request, but we need a way to print PDF files from
> within an application (.Net C#) silently to a printer of the user's
> choosing.
Consider Ghostscript. http://www.artifex.com
> - small foot print as it will need to work inside a Citrix environment.
About 5MB for the interpreter + VM used by PS program
+ raster buffer if any
> - the usual, fast, reliable, cheap.
Transparency still need some work, the rest is fine.
Ghostscript is available as free software and as OEM product.
> - a print server would be acceptable, but prefer a client-only solution.
It can be run on the client or on the server.
|
|
0
|
|
|
|
Reply
|
Alex
|
7/17/2003 10:12:23 PM
|
|
Thanks for this, I have found answers elsewhere - although with
side-effects.
AcroRd32.exe filename - Executes the Reader and displays a file.
Other options for the command line are:
AcroRd32.exe /p filename - Executes the Reader and prints a file.
/n Launch a separate instance of the Acrobat application, even if one is
currently open.
/s Open Acrobat, suppressing the splash screen.
/o Open Acrobat, suppressing the open file dialog.
/h Open Acrobat in hidden mode.
AcroRd32.exe /t path printername drivername portname - Initiates
Acrobat Reader, prints a file while suppressing the Acrobat print dialog
box, then terminates Reader.
The four parameters of the /t option evaluate to path, printername,
drivername, and portname (all strings).
printername - The name of your printer.
drivername - Your printer driver's name. Whatever appears in the Driver Used
box when you view your printer's properties.
portname - The printer's port. portname cannot contain any "/" characters;
if it does, output is routed to the default port for that printer.
You get at these quite easily in .Net programmatically.
If using Acrobat, substitute Acrobat.exe in place of AcroRd32.exe in the
command lines.
However, this does NOT seem to close the reader after it has finished...
Chow.
"Alex Cherepanov" <alexcher@quadnet.net> wrote in message
news:bbFRa.22610$kI5.6455@nwrddc02.gnilink.net...
> Roger Douglas wrote:
>
> > This might seem an odd request, but we need a way to print PDF files
from
> > within an application (.Net C#) silently to a printer of the user's
> > choosing.
> Consider Ghostscript. http://www.artifex.com
>
> > - small foot print as it will need to work inside a Citrix environment.
> About 5MB for the interpreter + VM used by PS program
> + raster buffer if any
>
> > - the usual, fast, reliable, cheap.
> Transparency still need some work, the rest is fine.
> Ghostscript is available as free software and as OEM product.
>
> > - a print server would be acceptable, but prefer a client-only solution.
> It can be run on the client or on the server.
>
>
|
|
0
|
|
|
|
Reply
|
Roger
|
7/18/2003 4:25:15 AM
|
|
|
2 Replies
1169 Views
(page loaded in 0.06 seconds)
Similiar Articles: How to print PDF silently - comp.text.pdfThis might seem an odd request, but we need a way to print PDF files from within an application (.Net C#) silently to a printer of the user's choosing... Silent Print of PDF - comp.text.pdfIs there a way to silent print a pdf file from VB or C# .NET? I need to be able to pass it the name of the printer. Sample code would be great! Tha... Silent printing with Adobe Reader 6.0 from VB - comp.text.pdf ...Hi, I'm using the DDE LinkExecute method to try and silently print a bunch of PDF files. I use ShellExecute to open the PDF in Reader 6.0 because not... Printing PDF with AcroRd32 /h /p "MyDocument.pdf" - comp.text.pdf ...Hi, I use the AcroRd32 /h /p "MyDocument.pdf" syntax to silently print pdf files on my developpement server. Because this is undocumented by Adobe, I... how to print oversize PDF ??? - comp.text.pdfHow to print PDF silently - comp.text.pdf how to print oversize PDF ??? - comp.text.pdf How to print PDF silently - comp.text.pdf This might seem an odd request, but we ... printing a pdf file from vb.net - comp.text.pdfSilent Print of PDF - comp.text.pdf Is there a way to silent print a pdf file from VB or C# .NET? I need to be able to pass it the name of the printer. print a pdf file from within a MS Access report - comp.text.pdf ...How to print PDF silently - comp.text.pdf PDF print from VB - comp.text.pdf How to print PDF silently - comp.text.pdf print a pdf file from within a MS Access report ... Acrobat6 Pro, "Failed to Print", suddenly can't print to pdf ...How to print PDF silently - comp.text.pdf Acrobat6 Pro, "Failed to Print", suddenly can't print to pdf Follow How to print PDF silently - comp.text.pdf Acrobat6 Pro ... Print PDF file with Acrord32.exe /t command - comp.text.pdf ...How to print PDF silently - comp.text.pdf Print PDF file with Acrord32.exe /t command - comp.text.pdf ... How to print PDF silently - comp.text.pdf Print PDF file with ... How to search indexed pdf-files in browser - comp.text.pdf ...How to print PDF silently - comp.text.pdf How to search indexed pdf-files in browser - comp.text.pdf ... How to print PDF silently - comp.text.pdf... request, but we need ... C# - How to BULK Print PDF files in SilentMode.Please NOTE : I have managed to find a way to print PDF files in SILENT MODE using ACROBAT COMPONENT/TYPE LIBRARY. But it seems like that code does NEED FULL ... Silent Print a PDF !! Print PDF programmatically…. | Experientia ...Update: Please do not forget to check the other PDF and print related links in the sidebar. If you have come to this page after a Google search on the ... 7/21/2012 7:20:06 PM
|