Q: how can a service in windows generate both pdfs and tiffs in a safe way ?
until now the service can create PDF’s with the standard- Profile.
a user can create a tif-File whith a printer with a second profile,
but ist’s not possible to create both, a pdf-File using one installed printer Pdfcreator with the first profile and a tiff-File using the other installed printer TifCreator with the joined profile for tif - generation.
How can I do it ?
Hi,
you can do this by setting up a print action in the profile of the PDF printer which points to the tif printer, so anything which gets converted via the PDF printer will automatically be printed to the tif printer afterwards.
Best regards,
Hi Berni,
I am afraid running PDFCreator as service isn’t directly supported (e.g. it might work, but was never tested and might cause unexpected behaviour). A possible problem could be that the service isn’t allowed to display any kind of dialog, but the print action uses ghostscript which will always display a dialog for printing. You could try to configure a script action instead and use SumatraPDF to print the output silently (SumatraPDF is the only reader I know of which supports a parameter for truly silent command line printing.) Basically just use the sumatraPDF.exe as script file and add the parameters required for silent printing (you can look them up on the sumatraPDF website) homepage.
best regards,
Hi Robin,
I made this with the automatically generating the pdf-File.
in a second profile, which I congured for the “TIFF-Creator”-Printer, i also configured the autmatically generating of the Tiff-File.
If i login with the service-account and then make the prints, it works,
but if I want to make the service printing both, the Pdf-File and the Tiff-File, I only get pdf-Files. it seem the service only uses the default profile, where pdf-Files are configured.
What shall I do ?
TIA Berni