Re: [OT] visualbasic more?
- Posted by David Cuny <dcuny at LANSET.COM> Apr 15, 2003
- 429 views
Pete Lomax wrote: > If OpenPrinter(sPrinterName, more lPrinter, NULLPTR) Then Try searching for "openprinter". Here's one of many references: http://www.merrioncomputing.com/Programming/PrintStatus.htm The proper VB declaration is: Private Declare Function OpenPrinter Lib "winspool.drv" _ Alias "OpenPrinterA" (ByVal pPrinterName As String, _ phPrinter As Long, pDefault As PRINTER_DEFAULTS) As Long I have no idea what 'more' might be referring to. That paremeter expects is a pointer to the printer that's being used. -- David Cuny