Spools, or sends, a text file or a print/plot file to a Windows printer.
Rhino.SpoolToPrinter (strFile, strPrinter)
strFile |
Required. String. The full path to the file to spool |
strPrinter |
Required. String. The name of a Windows printer as returned by either the CurrentPrinter or by the PrinterNames method. |
String |
The name of the spooled file if successful. |
Null |
If not successful, or on error. |
Dim strFilename
strFilename = Rhino.OpenFileName("File to Spool", "RhinoScript Files (*.rvb)|*.rvb||")
If Not IsNull(strFilename) Then
Rhino.SpoolToPrinter strFilename, Rhino.CurrentPrinter
End If