We're already doing this, as a "pre-view".
Here's what we're really trying to do: In our software we have a universal printer handler, and all print jobs go through it so the end-user can select either "PDF" or to a printer. With some destructive print jobs we will only allow printing to printer for auditing purposes.
For security purposes browsers are not permitted to expose local resources so the only way that we can really provide a printing solution for these print jobs is to either print to PDF and let the PDF print to the local printers or to an HTML page and provide access to the local printers. For regular print jobs (text) the browser print works as you can access via CTRL P or using a print button on the page which gives a list of local printers. What is happening is that when we use *HTML* for those printouts that use the graphic print rather than the text we render a blank page and not a graphic printout. We can get a PDF, but the logic for "previewing" will not allow for "updating" the print job. HTML is the right choice, but not for graphics.
Do I need to implement a PDF to HTML converter for these jobs?
Here's what we're really trying to do: In our software we have a universal printer handler, and all print jobs go through it so the end-user can select either "PDF" or to a printer. With some destructive print jobs we will only allow printing to printer for auditing purposes.
For security purposes browsers are not permitted to expose local resources so the only way that we can really provide a printing solution for these print jobs is to either print to PDF and let the PDF print to the local printers or to an HTML page and provide access to the local printers. For regular print jobs (text) the browser print works as you can access via CTRL P or using a print button on the page which gives a list of local printers. What is happening is that when we use *HTML* for those printouts that use the graphic print rather than the text we render a blank page and not a graphic printout. We can get a PDF, but the logic for "previewing" will not allow for "updating" the print job. HTML is the right choice, but not for graphics.
Do I need to implement a PDF to HTML converter for these jobs?