What is the difference between -raster and -raster2 parameters?


there - we purchased PDFPrinter from you several months ago (I think it was September or October 2012), and so far it was working OK.

But recently we experienced strange-looking printout of one of our instruction sheets - There is a drawing in this sheet and it is corrupted when printed via PDFPrinter (but looks and prints correctly from normal Acrobat Reader) - such printout is unusable to us and we have to start printing it manually from Acrobat.

I could send you this instruction sheet PDF so you could test/fix PDFPrinter - please give me some email address to you.

Do you have any reports of similar issues from other users?
If possible, I would like to know how quickly you can fix it.

Thank you.

b.t.w. We use PDFPrinter v2.5 in our production environment, but I just loaded and tested with your recent version, and the issue remains the same.

Hi again,

As I mentioned in my ticket, attached to this email is the PDF that is not printing correctly.

To see what I am talking about, just please open this PDF with Acrobat Reader and have it printed.

Later try printing it with PDFPrinter (we use quite complex parameters in production, but it does not work even with the simplest syntax such as this: pdfprinter.exe 69-9756B.pdf )

Please let me know when you could have it looked at and resolved.

Please run following command lines to print your PDF file again,

pdfprint.exe -shell C:\test.pdf
pdfprint.exe -shell2 C:\test.pdf
pdfprint.exe -raster2 C:\test.pdf
pdfprint.exe -printermargins -raster2 C:\test.pdf
pdfprint.exe -raster2 -rasterbwtext -rasterbitcount 1 -xres 150 -yres 150 C:\input.pdf
pdfprint.exe -useembedfont C:\test.pdf

To get color printing, please use the following:

pdfprint.exe -raster2 -rasterbitcount 16 -xres 150 -yres 150

Can you print your PDF file properly with one of above command lines?

Hi there, I tested all those options and some of them do work correctly.

However I have a question about -raster vs. -raster2 options.
In PDFPRINTER's description both options are described as: "render PDF page to image before printing".

My testing showed that adding -raster or -raster2 both created valid print for the drawing in question. But -raster seems to work much faster than -raster2 (and you suggested -raster2)

What is the difference between the two? (so I could make educated decision which one I should choose)

I am not sure if it matters, but in our production full command line will look for example as follows:
PDFPRINT.EXE -quiet -silent -copies 20 -setcopyto [-raster OR -raster2] C:\test.pdf

I also have another question, this time related to -nochgprinter option.

With larger batched prints that are quickly sent to various printers one by one, sometimes we experience problems with printers being "mixed", i.e. that document1 that was supposed to be printed on printer1 got printed on printer2, because next document2 was printed on printer2. It looks to me like "default printers" are switching too quickly... And I "invented" some ways to deal with those scenarios, but now I started to think about -nochgprinter option. Wouldn't it help here?

If PDFPrinter does not change default printer (because -nochgprinter option disables default printer change),

will it always print to the printerX specified by -printer option? (so that prints called quickly one after another will not mix printers, because they will not be sent to "default printer", but explicitly to the printer specified in command line?)

Thank you.
-raster and -raster2 parameters all can render PDF pages to Image data before printing, they are using two different arithmetic to render PDF pages to image data, for example, -raster parameter is using Windows GDI functions to render text, graphics (filling, line, circle, etc.), image, etc. objects to image data, but -raster2 parameter is render everything based on ourselves’ Cross-platform graphics engine, it is more stable than -raster parameter.

However, you can test them carefully, you can use either one of them, they are all work great.

-nochgprinter option will disable printer switching during printing, you can always use this parameter, the PDF file will be printed to the printer name which specified by "-printer" parameter and without change the default printer.


VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!