Hi
Do you mean embed a logo into the print dialog window - if so easy - look at
the bottom of the print.xml for the  <printdlg> tag and add your own content
(you may need to change the dialog width/height etc  - may have to change
dimensions in javascript/pm_cjs.js - search for printdlg). Or do you mean
let the user select their own logo to upload and then embed into the final
print PDF (I think that is what you mean)? Not sure on that one - Will still
need to modify print.xml to add new user fields. I guess you could let them
upload an image (and maybe put some control on size/dimensions/image type)
to a temp folder, create a variable that holds the image name (or just
always overwrite a predefined image - could have unwanted results for the
next user that doesn't upload a logo) then modify the code in
print/pdfprint.php to embed that variable (ie. build image path to user logo
or hardwire a known logo path if image always overwritten) instead of the
default one (code for that is around line 200) or create a new position
where you need it in the PDF layout (more work on layout needed).  I guess
you may want to modify the HTML template too to do the same thing.... Sorry
I can't be much more help.
Chris

On 26 August 2010 14:47, Kalafateli Efstratia <e.kalafat...@aratos.gr>wrote:

>  First of all
>
> I really want to thank you about your immediate answer!
> I think that Print.xml has the settings for printing in pdf format.
>
> I want to put a logo in the pdf which is created when a user chooses a
> layer with the select tool. When a user selects the data he wants with this
> tool, a table is displayed with some radio buttons. One radio button is
> "Export to pdf". Here I want to add a logo.
>
> Excuse if I haven't explained this very well
>
> Thank you again
>
> Stratoula
>
>
> Chris Jackson wrote:
>
> Hi
>
> From my minimal delvings into this, a quick win (ie. switch the default logo
> out) is to edit config/common/print.xml and point to a new logo/change bg
> colour (PDF and HTML).
> I think there are some CSS settings in templates/print/print.css for the
> HTML layout look and more key print PDF/HTML processing tasks done by the
> code files in incphp/print.
>
> Chris
>
> On 26 August 2010 13:21, Kalafateli Efstratia <e.kalafat...@aratos.gr> 
> <e.kalafat...@aratos.gr>wrote:
>
>
>
>    Hi,
>   I would like to ask a question about the pdf export plugin. It works
> great
>   but I would like to add a logo at the pdf which is created. Is there any
>   way?
>   Thanks in advance!
>   Best Regards,
>   Stratoula
> --
> Καλαφατέλη Î•Ï…ÏƒÏ„Ï Î±Ï„Î¯Î±
> Î†Ï Î±Ï„Î¿Ï‚ Τεχνολογίες Α.Ε.
> Τμήμα Ανάπτυξης
> Patras Port Business Center
> Ευμήλου 30, 262 22, Î Î¬Ï„Ï Î±
> Tηλ: +30 2610 242670
> Fax: +30 2610 242671
> e-mail: [1]e.kalafat...@aratos.gr
> Web: [2]www.aratos.gr
>
> References
>
>   1. mailto:e.kalafat...@aratos.gr <e.kalafat...@aratos.gr>
>   2. http://www.aratos.gr/
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your 
> future.http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> pmapper-users mailing 
> listpmapper-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>      
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your 
> future.http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> pmapper-users mailing 
> listpmapper-us...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
> --
> Καλαφατέλη Ευστρατία
> Άρατος Τεχνολογίες Α.Ε.
> Τμήμα Ανάπτυξης
> Patras Port Business Center
> Ευμήλου 30, 262 22, Πάτρα
> Tηλ: +30 2610 242670
> Fax: +30 2610 242671
> e-mail: e.kalafat...@aratos.gr
> Web: www.aratos.gr
>
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to