Hi,
In a page I have 20 fields including image field, And I have 4 buttons like, submit, preview,send Email, cancel.

If i click the print button it has to show what are the fields I have entered with values after that it has to take in printout, for this I am using .xps document.
How to do that?

Member Avatar for diafol

So you are targetting the specific MS XPS, not the Open XPS file format? You will most likely need a third party sript for this. There are many PDF apps, like FPDF, but I've not come across a free one for XPS. Perhaps they exist, try searching.

OK thank you for your kind information

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.