Questions tagged [princexml]

Prince is software for converting XML and HTML documents to PDF files.

Prince (formerly PrinceXML) is software for converting XML and HTML documents into PDF files.

The Prince library is developed by YesLogic Pty. Ltd. Versions for Windows, Mac OS X and Linux are available.

This is a commercial product. A free version is available, but PDF files generated from this free version have a watermark.

74 questions
0
votes
1 answer

How to display a table row once per page only?

I am trying to display every odd instance of a table row, however there is another table intervening. The (simplified) structure is:
mwiik
  • 329
  • 1
  • 4
  • 12
0
votes
2 answers

Sorting a structured text file

I'm migrating from LaTeX to PrinceXML. One of the things I need to do is to convert the bibliography. I've converted my .bib file to HTML. However, since LaTeX took care of sorting the entries for me, I haven't taken care to put them into the…
user66554
  • 558
  • 2
  • 14
0
votes
1 answer

Do I need to load staticfiles in included HTML in Django?

I'm in DEBUG state and I want to render an HTML page to PDF with PrinceXML. In my main HTML I have : {% extends "base.html" %} {% load staticfiles %} {% load url from future %} {% block title %}Title{% endblock %} {% block style %} {% include…
Laurent
  • 1,710
  • 4
  • 25
  • 46
0
votes
1 answer

Prince xml trouble generating test file w/ php

I'm having problems getting started with Princexml. I am trying to create my first test PDF. Here's my code: require_once dirname(__FILE__).'/prince.php'; $prince = new…
TH1981
  • 3,105
  • 7
  • 42
  • 78
0
votes
1 answer

How to update footer with with dynamic content on each page?

In each page inside our PrinceXML pdf we need the content in the footer to change based on a php dynamic variable. Is there a way to update the content in the footer for each page? (Below is the css code and the div) css: @page{ size: US-letter…
no1uknow
  • 549
  • 1
  • 7
  • 18
0
votes
1 answer

how to convert with princeXML and PHP

I followed the directions on the readme file but I didn't get any errors nor any output or anything written to the log file. so, what is the right way of converting and HTML file to PDF with prince, thank you in advance. ini_set('display_errors',…
Ahmad Khan
  • 529
  • 1
  • 7
  • 24
0
votes
3 answers

Prince xml doesnt seem to work

Ive created a test page to test using Prince xml but this code doesn't seem to work. index.php require_once("prince.php"); $prince = new Prince('www1.must.edu.ph/tts/prince/Engine/bin/prince.exe'); $prince->setHTML(true); $html =…
jim
  • 1
  • 1
  • 3
0
votes
1 answer

How to write PrinceXML file to server using PHP

Trying to fwrite the pdf results from PrinceXML to the server (in a new pdf file) instead of exporting via headers to acrobat. The below code displays the results on the browser. require_once("../library/Prince/prince.php"); $princeSettings =…
no1uknow
  • 549
  • 1
  • 7
  • 18
0
votes
1 answer

How to create Prince PDF without page breaks?

Is it possible to direct Prince XML to convert from HTML and create an output file with no page breaks at all, a PDF file that is just one continuous page?
incandescentman
  • 6,168
  • 3
  • 46
  • 86
0
votes
1 answer

How do I increase the dimensions of pages in PDFs that I have created using the program Prince?

Prince uses a CSS file to set the properties of the PDFs it generates. I have tried adding the commands body {height: 1536; width: 1024} to the CSS file for which I received the prince error: prince: /home/brentonhorne/Drugs/CHM/Goodman and…
Josh Pinto
  • 1,453
  • 4
  • 20
  • 37
0
votes
1 answer

Using PrinceXML in Symfony 1.4

I'm trying to use PrinceXML in my project to generate a PDF to document, I tried to make a simple PDF file with it but does not appear to create a PDF file. So I did a little bit of debugging and tried to run the exe of PrinceXML. public function…
Durty
  • 457
  • 1
  • 7
  • 14
0
votes
1 answer

princexml not working with python?

i'm using windows and want to subprocess princexml with python. The docu says (http://www.princexml.com/doc/8.1/python/): import subprocess subprocess.call(["prince","foo.xml","bar.pdf"]); I replaced "prince" with the path to my binary exe...and i…
Jurudocs
  • 8,595
  • 19
  • 64
  • 88
0
votes
0 answers

PDF overlay using PrinceXML in the Zend Framework

I'd like to overlay output from PrinceXML onto pages from a PDF in the file system. I'm going to build the solution in our Zend framework environment and I think I'd prefer if the solution used Zend_Pdf if that's possible. Any suggestions? I…
-1
votes
2 answers

Using princexml tool from application server on AIX

Java based Web application I'm working on is deployed on IBM Websphere (WAS 8.5) running on AIX server. Wep app is dependent on using PrinceXML tool for generating PDFs out of html and css. Prince does not have AIX binaries. Any suggestions to…
Aragorn
  • 5,021
  • 5
  • 26
  • 37
1 2 3 4
5