Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS Win Plugin:WindowsPrint:
Partly Console safe, 209 entry points.
- class Graphics
- class WindowsAddPrintJobMBS
- method AddJob as boolean
- method WriteJob(data as string) as integer
- method ScheduleJob as boolean
- method OpenPrinter(PrinterName as string) as boolean
- method ClosePrinter
- method StartPagePrinter as boolean
- method WritePrinter(data as string) as integer
- method EndDocPrinter as boolean
- method EndPagePrinter as boolean
- method StartDocPrinter(DocName as string, OutputFilePath as string, Datatype as string) as boolean
- method StartDocPrinter(DocName as string, OutputFile as folderitem, Datatype as string) as boolean
- method StartDocPrinter(DocName as string, Datatype as string) as boolean
- property PrinterHandle as Integer
- property JobID as Integer
- property lastError as Integer
- property lastErrorMessage as String
- property JobPath as String
- class WindowsDeviceModeMBS
- method ApplyToSetupString(SetupString as String) as string
- method SetupString(Margin as Integer = 2500) as string
- method SetupString(ActualHorizontalResolution as integer, ActualVerticalResolution as integer, MaxHorizontalResolution as integer, MaxVerticalResolution as integer, MarginLeft as integer = 2500, MarginRight as integer = 2500, MarginTop as integer = 2500, MarginBottom as integer = 2500, MinMarginLeft as integer = 0, MinMarginRight as integer = 0, MinMarginTop as integer = 0, MinMarginBottom as integer = 0, PageSetupFlags as integer = 8) as string
- method Constructor
- method RawData(Unicode as boolean = true) as memoryblock
- property Data as Integer
- property DeviceName as String
- property FormName as String
- property SpecVersion as Integer
- property DriverVersion as Integer
- property Size as Integer
- property DriverExtra as Integer
- property Fields as Integer
- property Orientation as Integer
- property PaperSize as Integer
- property PaperLength as Integer
- property PaperWidth as Integer
- property Scale as Integer
- property Copies as Integer
- property DefaultSource as Integer
- property PrintQuality as Integer
- property Color as Integer
- property Duplex as Integer
- property YResolution as Integer
- property TTOption as Integer
- property Collate as Integer
- property LogPixels as Integer
- property Nup as Integer
- property ICMMethod as Integer
- property ICMIntent as Integer
- property MediaType as Integer
- property DitherType as Integer
- shared method FromSetupString(SetupString as String) as WindowsDeviceModeMBS
- shared method FromRawData(data as memoryblock, Unicode as boolean = true) as WindowsDeviceModeMBS
- shared method FromRawData(data as string, Unicode as boolean = true) as WindowsDeviceModeMBS
- class WindowsGraphicsDeviceContextMBS
- class WindowsGraphicsInfoMBS
- method Constructor(g as graphics)
- method Constructor(p as Picture)
- method Constructor(w as Window)
- method Constructor(c as Control)
- method Constructor
- method Constructor(w as DesktopWindow)
- method Constructor(c as DesktopControl)
- property DriverVersion as Integer
- property Technology as Integer
- property SizeX as Integer
- property SizeY as Integer
- property ResolutionX as Integer
- property ResolutionY as Integer
- property BitsPerPixel as Integer
- property Planes as Integer
- property BrushesCount as Integer
- property PenCount as Integer
- property MakersCount as Integer
- property FontCount as Integer
- property ColorCount as Integer
- property AspectX as Integer
- property AspectY as Integer
- property AspectXY as Integer
- property LogPixelsX as Integer
- property LogPixelsY as Integer
- property PhysicalWidth as Integer
- property PhysicalHeight as Integer
- property PhysicalOffsetX as Integer
- property PhysicalOffsetY as Integer
- property ScalingFactorX as Integer
- property ScalingFactorY as Integer
- property VRefresh as Integer
- property DesktopResolutionX as Integer
- property DesktopResolutionY as Integer
- class WindowsPageFormatMBS
- property Name as String
- property Mode as Integer
- property Flags as Integer
- property SizeWidth as Integer
- property SizeHeight as Integer
- property ImageableAreaLeft as Integer
- property ImageableAreaTop as Integer
- property ImageableAreaWidth as Integer
- property ImageableAreaHeight as Integer
- property ImageableAreaRight as Integer
- property ImageableAreaBottom as Integer
- property Keyword as String
- property MuiDll as String
- property DisplayName as String
- property ResourceId as Integer
- property StringType as Integer
- property LangId as Integer
- class WindowsPageSetupDialogMBS
- method Constructor
- method PageSetupDialog as boolean
- method GetDevNames(byref DriverName as string, byref DeviceName as string, byref OutputName as string, byref flags as integer) as boolean
- method SetDevNames(DriverName as string, DeviceName as string, OutputName as string, flags as integer) as boolean
- property Lasterror as Integer
- property Parent as Variant
- property Flags as Integer
- property PaperSizeY as Integer
- property PaperSizeX as Integer
- property MinMarginTop as Integer
- property MinMarginLeft as Integer
- property MinMarginRight as Integer
- property MinMarginBottom as Integer
- property MarginTop as Integer
- property MarginLeft as Integer
- property MarginRight as Integer
- property MarginBottom as Integer
- property DevMode as WindowsDeviceModeMBS
- class WindowsPrintDialogMBS
- method Constructor
- method PrintDialog as boolean
- method PrintDialogEx as Integer
- method GetDevNames(byref DriverName as string, byref DeviceName as string, byref OutputName as string, byref flags as integer) as boolean
- method SetDevNames(DriverName as string, DeviceName as string, OutputName as string, flags as integer) as boolean
- method getPageRange(index as integer, byref fromPage as integer, byref toPage as integer)
- method setPageRange(index as integer, fromPage as integer, toPage as integer)
- property ToPage as Integer
- property FromPage as Integer
- property Lasterror as Integer
- property Parent as Variant
- property Flags as Integer
- property ExclusionFlags as Integer
- property PageRanges as Integer
- property MaxPageRanges as Integer
- property MinPage as Integer
- property MaxPage as Integer
- property Copies as Integer
- property DC as Integer
- property DevMode as WindowsDeviceModeMBS
- property StartPanel as Integer
- property ResultAction as Integer
- class WindowsPrinterInfoMBS
- method OpenPrinter(admin as boolean = false) as WindowsPrinterMBS
- method Constructor
- property ServerName as String
- property PrinterName as String
- property ShareName as String
- property PortName as String
- property DriverName as String
- property Comment as String
- property Location as String
- property SeparatorPageFile as String
- property PrintProcessor as String
- property Datatype as String
- property Parameters as String
- property DevMode as WindowsDeviceModeMBS
- property AttributeFlags as Integer
- property Priority as Integer
- property DefaultPriority as Integer
- property StartTime as Integer
- property UntilTime as Integer
- property Status as Integer
- property CountJobs as Integer
- property AveragePPM as Integer
- shared method Printers(flags as Integer, Name as Variant = nil) as WindowsPrinterInfoMBS()
- shared method LocalPrinters as WindowsPrinterInfoMBS()
- class WindowsPrinterJobMBS
- property PrinterName as String
- property MachineName as String
- property UserName as String
- property Document as String
- property NotifyName as String
- property Datatype as String
- property PrintProcessor as String
- property Parameters as String
- property DriverName as String
- property StatusString as String
- property DevMode as WindowsDeviceModeMBS
- property Submitted as Date
- property JobID as Integer
- property Status as Integer
- property Priority as Integer
- property Position as Integer
- property StartTime as Integer
- property UntilTime as Integer
- property TotalPages as Integer
- property Size as Int64
- property Time as Integer
- property PagesPrinted as Integer
- class WindowsPrinterMBS
- method SetJob(JobID as Integer, job as WindowsPrinterJobMBS) as boolean
- method DeletePrinter as boolean
- method ConfigurePort(name as string = "", parent as window = nil, PortName as string = "") as boolean
- method AdvancedDocumentProperties(InputDevMode as WindowsDeviceModeMBS, byref OutputDevMode as WindowsDeviceModeMBS, parent as window = nil) as integer
- method DocumentProperties(InputDevMode as WindowsDeviceModeMBS, byref OutputDevMode as WindowsDeviceModeMBS, Prompt as boolean = false, parent as window = nil) as integer
- method ConnectToPrinterDialog(parent as window = nil) as boolean
- method PrinterProperties(parent as window = nil) as boolean
- method AllJobs as WindowsPrinterJobMBS()
- method GetJob(JobID as Integer) as WindowsPrinterJobMBS
- method PauseJob(JobID as integer) as boolean
- method ResumeJob(JobID as integer) as boolean
- method DeleteJob(JobID as integer) as boolean
- method AddForm(form as WindowsPageFormatMBS) as boolean
- method DeleteForm(name as string) as boolean
- method GetForm(name as string) as WindowsPageFormatMBS
- method SetForm(name as string, form as WindowsPageFormatMBS) as boolean
- method GetPrinterTechnology as string
- method CanPrinterPassThroughPostScript as boolean
- method GetPrinterFormats as WindowsPageFormatMBS()
- method ChangePrinterSettings(value as WindowsDeviceModeMBS, Mode as integer=2) as boolean
- method GetPrinterSettings(Mode as integer=2) as WindowsDeviceModeMBS
- method SetPrinterSettings(value as WindowsDeviceModeMBS, Mode as integer=2) as boolean
- method PausePrinter as boolean
- method PurgePrinter as boolean
- method ResumePrinter as boolean
- method Constructor(PrinterName as string, admin as boolean = false)
- method ConfigurePort(name as string, parent as DesktopWindow, PortName as string) as boolean
- method AdvancedDocumentProperties(InputDevMode as WindowsDeviceModeMBS, byref OutputDevMode as WindowsDeviceModeMBS, parent as DesktopWindow) as integer
- method DocumentProperties(InputDevMode as WindowsDeviceModeMBS, byref OutputDevMode as WindowsDeviceModeMBS, Prompt as boolean, parent as DesktopWindow) as integer
- method ConnectToPrinterDialog(parent as DesktopWindow) as boolean
- method PrinterProperties(parent as DesktopWindow) as boolean
- property PrinterName as String
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- shared method OpenPrinter(PrinterName as string, admin as boolean = false) as WindowsPrinterMBS
- shared method SetDefaultPrinter(PrinterName as string) as integer
- shared method GetDefaultPrinter as string
- shared method DeletePrinterConnection(name as string) as boolean
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.3
- MBS Xojo Plugins 18.3
- Detect PrinterSetup data format
- Print to Printer in Xojo on Windows
- [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.3
- Updating PrinterSetup.SetupString on Windows
- MonkeyBread Software releases MBS Real Studio plug-ins in version 12.1
- More on printing on Windows
- MBS REALbasic Plugins Version 10.4 release notes
- MBS Plugins 10.3 Release Notes