Setting default session printer
Author: gianni.sandigliano@unifacesolutions.com (gianni)
Hi, when a UAnywhere session is started is remapping local printers to the current session when configured to do so; in our current development/testing environment a UAnywhere session is seeing the following printers: CutePDF Writer (from SCA-K3S-BKP) Microsoft XPS Document Writer PDFCreator Preview PDF (from SCA-K3S-BKP) SCA-K3S-BK is the client machine while the other two printers are hosted on the UAnywhere server machine. This session should use as default printer "PDFCreator", being one of the printers hosted on the UAnywhere server. In our current C/S environment to set default printer in a Uniface session we are using this command: activate "OS".commandout('wmic printer where name='%%DefPrinter%%%' call setdefaultprinter', vOut) but using the same command in a UAnywhere environment to set default printer to a server one is giving back an error. How to set default printer in a UAnywhere session to a printer hosted on UAnywhere server? Any tips/trick/hint is welcome here... Gianni



