Hello, to print my documents, I receive a spool file where the printer name is specified as part of the text.
I was able to parse the incoming spool file and assign the printer name (which matches a server’s local printer name) to a local variable.
At the end of the workflow processing, I’d like to send the output to a WinPrint or LPR printer queue, and use my local variable %{printer} to select the actual queue name.
As I won’t use the Connect’s output_preset printer definition, my Create Output step in the workflow reads “Output Management = Through PlanetPress Workflow”, so that my PDF output produced in that step is taken back from the server for further processing in the following steps, instead of being sent directly to the printer (I cannot select a dynamic printer name on the Create Output step).
So, after the Create Output step as explained above, I next have a Print Using Windows Driver step, where I can use my variable to specify the final printer destination.
The printer selection works with WinPrint, but I cannot get the right results from all the printers, as some of them cannot natively interpret the PDF document being sent, which is printed as text, like “%PDF 1.5…”.
So I tried to use the Printer Queue Output step instead. In this case I have to select a Printer Queue defined in the workflow. No issue to configure this step as a passthrough step.
The Printer Queue definition was defined with Server Address=localhost and Queue Name = ${printer}. In fact, my printers are all shared with their own name, so they should be accessible from localhost.
The fact is that all this doesn’t work, so I am forced to produce my PDF file, send it to a folder and than use a separate process to print it to the printer, even if I have to use part of the filename to pass the printer information to the printing process.
I’d like to use a more elegant approach, which I suppose it’s possible with PlanetPress, and also because I need it for another process which is supposed to print plain text file without any template definition (pure “LinePrinter mode”) on a dynamicly named printer.
Thanks for any info/suggestion,
Marco