3 Replies Latest reply: Sep 8, 2011 8:41 PM by Diego-Silva RSS

    Send to Printer operation and Printer Protocol

    Diego-Silva ACP

      Hello all,


      I designed a process where it is needed to send a PDF file to 2 different printers (not at the same time). So to simplify the process I defined a XML within the server ( C:\config.xml ) with the information necessary to send the job to the printer, and contains the information that the operation sendToPrinter needs:


      - Printer Protocol

      - Server URI

      - Printer Name.


      So instead of placing the values for this operation, I read the values from the XML file. The problem is, the sendToPrinter operation expects the Printer Protocol as a specific type: PrinterProtocol (obvious heheh). And my variable is String.


      How can I convert this?