Platforms to show: All Mac Windows Linux Cross-Platform

Back to CPMPrinterMBS class.

CPMPrinterMBS.CreateFromPrinterID(PrinterID as String) as CPMPrinterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Printing MBS MacCG Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Create a PMPrinter instance from the supplied printerID.
Example
dim p as CPMPrinterMBS = CPMPrinterMBS.CreateFromPrinterID("Brother_DCP_8085DN")
MsgBox p.name

CPMPrinterMBS.CreateGenericPrinter as CPMPrinterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Printing MBS MacCG Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a generic PMPrinter.

CPMPrinterMBS.CreateLocalPrinterList as CPMPrinterMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Printing MBS MacCG Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Queries list of local printers.
Example
dim a() as CPMPrinterMBS = CPMPrinterMBS.CreateLocalPrinterList
for each p as CPMPrinterMBS in a
MsgBox p.Name
next

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...