Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Printer name is invalid

$
0
0

Hi,

I'm trying to use this component, but keep getting the following error:

An exception occurred while creating the PrintServer object. Win32 error: The printer name is invalid.


These are the inputs I'm passing:

PathOnDiskToCreatePDF: a valid path, because I have access to it and managed to write a file to it (so probably not relevant for this error)

PrinterServerName: my local IP address at home (also tried prefixing it with "\\", but to no avail)

PrinterName: the share name of the printer as it appears in my local network at home

PDFFileData: some random PDF file (probably not relevant for this error)


Am I using the wrong inputs for the PrinterServerName or PrinterName? 


Any insight would be much appreciated.

Kind regards,

Artuur


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>