pdfprint.exe can not move bottom watermark when printing with multiple watermarks

Hello VeryPDF support.

I am trying to print a pdf with multiple watermarks, 3 different watermark at the top and one at the bottom.

I created an ini file for the watermarks, I added it at the end of this message. When I print only the first watermark TYPE 1, top of the page and the last watermark type 2, bottom of page are printed.

The last watermark printed at the bottom is only showing the top half of the letters, i tried to change the x and y but nothing changes.

I would also like to know how to calculate the x & Y in the ini file , what is the max X & Y for a 8,5 X 11?

My printer is a Ricoh Aficio Sp9100DN PCL6 , it is using the PCL6 Driver for Universal print.

here is the debug of my test:

pdfprint.exe -lastpage 1 -printer "webclaims" -winfont -winfont2 -scalex 95 -scaley 95 -pdforient 4 -printermargins -watermarkfile %CD%\test.ini -debug header.pdf

pdfprint.exe -lastpage 1 -printer "webclaims" -winfont -winfont2 -scalex 95 -scaley 95 -pdforient 4 -printermargins -watermarkfile %CD%\GIWCMPDF01_527477.ini -debug test.pdf

Thank you for choosing 'VeryPDF PDFPrint Command Line' product.
Version Build Date: Aug 2 2013
Try to load 'WINSPOOL.DRV' file...
Load 'WINSPOOL.DRV' file OK.
Current default printer is 'webclaims'.
SetDefaultPrinter to 'webclaims' printer, return code = 1.
Retrieve paper size from 'test.pdf' file.
Paper size of 'test.pdf' is: 2159x2794 mm
Retrieve paper orientation from PDF file.
Change settings to 'webclaims' printer.
[OK] Change settings to 'webclaims' printer OK.
Your input file = 'test.pdf'.
Printing 'test.pdf' file...
Print "test.pdf" file.
Try to open 'test.pdf' file...
Open "test.pdf" file OK.
MyPrint(0x3691B8,0,0,1,0)...
MyPrint, DevString = 'webclaims,winspool,Ne01:'
CreateDC prior to MyCreatePrinterDC, use default printer first
MyPrint, CreateDC("winspool", "webclaims", ...), return DC = 0x4B21056A
MyPrint, Page Range (1 ==> 1)...
MyPrint, Prepare to scale PDF file before printing...
Printer paper size = 4960x7014 pixel
MyPrint, Prepare to call StartDoc() function...
printer_margin_left=100, printer_margin_top=100
SetWorldTransform(0.950000,0.000000,0.000000,0.950000,95.000000,95.000000)
MyPrint, Check printing method...
MyPrint, Prepare print this PDF file...
MyPrintDC, fr=1, to=1, ...
ShouldChangeOrientation...
Printing 1 page...
printer_margin_left=100, printer_margin_top=100
GetWorldTransform(0.950000,0.000000,0.000000,0.950000,95.000000,95.000000)
S_InterpretPage, page=1, scale(0.950000,0.950000), pgsz.x=4960, pgsz.y=7014, xdp
i=600, ydpi=600
S_InterpretPage return code = 0
MyPrint, Return Code = 1 (Error Code = 0)
Close "test.pdf" file.
MyPrint Error Code = 0
[Time] Total Time of printing is: 484ms(0.48s)
Restore to original default printer(webclaims).
Exit Code = 0

--------------------------------------
Here is my ini file
[watermark1]
type=1
text="*527477*"
fontname="Free 3 of 9 Extended"
x=700
y=200
opacity=100
angle=0
width=200
height=100
firstpage=1
lastpage=1
color=000000
[watermark2]
type=1
text=Claim 4/5
fontname=Lucida Fax
x=400
y=400
opacity=100
angle=0
width=50
height=50
firstpage=1
lastpage=1
color=000000
[watermark3]
type=1
text=527477
fontname=Lucida Fax
x=50
y=200
opacity=100
angle=0
width=50
height=50
firstpage=1
lastpage=1
color=000000
[watermark4]
type=2
fontname=Lucida Fax
x=5000
y=400
opacity=100
angle=0
width=55
height=55
firstpage=1
lastpage=1
color=000000
fontbold=0
fontitalic=0
text=GIWCMPDF01_527477.pdf Printed on Tue May 20 15:50:16 EDT 2014

Customer
-------------------------------------------------------

image

Thanks for your message, we have fixed this problem to you, please download new version from following URL to try again,

https://www.verypdf.com/pdfprint/pdfprint_cmd.zip

Now you can use "y" value to move the watermark up or down when you use place watermark at bottom with "type=2", for example,

[watermark1]
type=1
text=*527477*
fontname=Free 3 of 9
x=700
y=2000
opacity=100
angle=0
width=0
height=100
firstpage=1
lastpage=1
color=0000FF

[watermark2]
type=1
text=Claim 4/5
fontname=Lucida Fax
x=400
y=3000
opacity=100
angle=0
width=0
height=100
firstpage=1
lastpage=1
color=00FF00

[watermark3]
type=1
text=527477
fontname=Lucida Fax
x=50
y=4000
opacity=100
angle=0
width=0
height=50
firstpage=1
lastpage=1
color=FF0000

[watermark4]
type=2
fontname=Lucida Fax
x=100
y=500
opacity=100
angle=0
width=0
height=55
firstpage=1
lastpage=1
color=FFFF00
fontbold=0
fontitalic=0
text=GIWCMPDF01_527477.pdf Printed on Tue May 20 15:50:16 EDT 2014

In the new version of pdfprint_cmd.zip package, I have created a "test-watermark.bat" test file for you, you can run it to print a PDF file with multiple watermarks properly.

>>I would also like to know how to calculate the x & Y in the ini file , what is the max X & Y for a 8,5 X 11?

The unit of X & Y is pixel, in your log message, it contain following log message,

---------------------------
Printer paper size = 4960x7014 pixel
---------------------------

It is indicate the paper size of target printer in pixel is 4960x7014, so you can define X, Y position according 4960x7014 paper size.

VeryPDF

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!