[plug] printing html files from batch, html2ps

Peter Sutter sutterp at sopac.com.au
Wed Jul 16 10:19:05 WST 2008


I have a web application to input data. The process should be the following: 

The application runs as a batch job and prints out an empty form. The form is 
then sent away to be filled in (handwriting). The completed form is then 
returned to the office and the data entered interactively. The input screen 
should look identical to the printed form.

How do I print out the rendered html file produced in the batch phase? I tried 
to use html2ps, but this appears not to work. The input form consists of a 
graphical image (png file of a cad like drawing). Overlaid on that are the 
input boxes (input type text) positioned with css position:absolute, top and 
left specified. It looks good on the screen and validates with w3c validator.  
It appears that html2ps can't handle the positioning of the boxes or is 
ignoring the css altogether.

Any clues how to force this? Any other ways or tool of doing this? 

Printing the form out of konqueror or firefox, is OK and looks fine, but I 
can't do that out of the batch process.

Thanks

Peter
 



More information about the plug mailing list