Yes, I am using Win forms with Ghostscript.

 

Rick

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan
Richard
Sent: Friday, April 11, 2008 3:02 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] silent print setpagesize problems

 

Hi Rick

Indeed, it would not be wise to use a deprecated / removed feature to
achieve what I want to do and will definitely fall into installed version
problems in the future. I looked at Adobe 8.1.2 and they did remove the
silent print functionality. Now, the this.print() method prompts the user
for a confirmation before printing. This is not good since I based my web
application print functionality on Adobe Reader since it gave my full
control on he page size and layout (I need to print on 4x6 inch paper with
headers/footers).

Since printing HTML pages is not an elegant way to print what I need to
print... and it will not give me the liberty of design, page size, layout,
etc... I will need to find something else.

I guess you are using Ghostscript in a non web enviroment right? I don't see
how you could generate your printing content server side and call the
Ghostscript executable client side using the browser. Unless you use an
exploit... what is your setup?

Anyone has worked something out to print from a server side generated web
page to the client printer silently? And that, using firefox or ie?

Jonathan

>Jonathan,

>Just let me put in my two cents here.

>Acrobat Reader goes through frequent updates. Many clients have it set for
auto update, so you have little control of their >version.  

>If you are trying to do something that Leonard says is no longer supported,
you could save yourself a lot of time by trying >to figure out another way
around the problem.  I have used in the past many "unsupported" command line
switches in >AR and always been stung later with a version change that no
longer supports that particular switch.  The silent print >option is one
that I think everyone would like to have, but for reasons explained by
Leonard in a post in the last month, >Adobe no longer supports this
(security risk?).

>I fail to understand this reasoning by Adobe since the possibility of a
malicious bit of code printing reams of paper is not >really much of a
"threat" in my book. But I am not Adobe and they may have many other
considerations that I am not >aware of. I'm just happy they offer a free
Adobe Reader which makes my programming life easier in many other ways.

>Personally, I went to using Ghostscript (free) that does officially support
its command line switches and where you can >print silently to any printer.
So far, this has worked out well for my users who only have the extra hassle
of installing >Ghostscript one time.

 

>Rick

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to