Change of the position of the origin of the coordinates

21 views
Skip to first unread message

dr. Jiří Fíla

unread,
Aug 13, 2024, 12:14:38 AM8/13/24
to JSignPdf
Pane Cacku,

Is there any way to change the origin of the coordinate system from the lower left corner to the lower right corner? I need this because I am a civil engineer and need to authorize a lot of drawings in several different formats. And each of these drawings has a table of information in the lower right corner, so it's better for me to set the coordinates from that point so that the stamp is in the same place on each drawing.

Where does the program save the data I set in the GUI? Where does the program read the information from when using the -lp command?

Předem děkuji za odpověď

Jiří Fíla

Josef Cacek

unread,
Aug 15, 2024, 1:43:04 PM8/15/24
to jsig...@googlegroups.com
Hi Jiří,

I've added the possibility to subtract values from the the page width
and height when you use a negative value for LLX, URX (width) & LLY,
URY (height) positions of the visible signature. You can try the
updated version SNAPSHOT version:
https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/kwart/jsign/jsignpdf-distribution/2.3.0-SNAPSHOT/jsignpdf-distribution-2.3.0-20240815.171606-63.zip

As for your second question. The property file is stored in your
user's home directory and has name ".JSignPdf" (e.g.
/home/jfila/.JSignPdf or C:\Users\jfila\.JSignPdf).

Regards,
-- Josef

út 13. 8. 2024 v 6:14 odesílatel dr. Jiří Fíla <jirij...@gmail.com> napsal:
> --
> You received this message because you are subscribed to the Google Groups "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jsignpdf+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jsignpdf/557a05d4-4eba-415a-a0f2-b97b4dd2a88bn%40googlegroups.com.

dr. Jiří Fíla

unread,
Aug 16, 2024, 1:38:07 AM8/16/24
to JSignPdf
Great, thank you. I tried the updated version. I entered negative values ​​when setting in the GUI. In the preview, the signature area appears outside of the paper and an error occurs when signing and the signature is not created. When I work in the command line, the signature is created correctly. The only error occurs if the dimensions are not of the same sign, for example llx=-100 urx=0. If both signs are negative llx=-100 urx=-1 the image will be placed correctly. It works well for different formats. Ideal for batch processing.

J.F.

Dne čtvrtek 15. srpna 2024 v 19:43:04 UTC+2 uživatel Josef Cacek napsal:
Reply all
Reply to author
Forward
0 new messages