Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ordy2
  • Order by date
  1. ordy2

    ERROR 453 cant find DLL entry point

    In my program I have the following API Private Declare Function SetDefaultPrinter Lib "winspool.drv" Alias "SetDefaultPrinterA" (ByVal PrinterName As String) As Boolean which is called within a loop by SetDefaultPrinter (Y.DeviceName) But having finished the coding and...
  2. ordy2

    Error 454 can't find DLL entry point

    In my program I have the following API Private Declare Function SetDefaultPrinter Lib "winspool.drv" Alias "SetDefaultPrinterA" (ByVal PrinterName As String) As Boolean which is called within a loop by SetDefaultPrinter (Y.DeviceName) Sorry to raise this subject...
  3. ordy2

    printing to multiple printers

    Sorry to raise this subject again. But having finished the coding and rolling it out to the target machines I find the code fails with the following error " run-time error 453" Can't find dll entry point SetDefaultPrinterA in winspool drv." A search on Microsofts TechNet infers...
  4. ordy2

    printing to multiple printers

    vb5prgmr You solution was perfect. I don't know how much time I have spent on this but I'm glad that, with your help, I now have a solution. Many thanks for your help Ian
  5. ordy2

    printing to multiple printers

    Hi Jason Thanks for your suggestion, I have have tried [see code below], but unless I add the line &quot;cdlPrinter.ShowPrinter&quot; it still outputs to the default printer. Set OriginalPrinter = Printer For Each Y In Printers If UCase(Y.DeviceName) <> UCase(&quot;LaserJet 2200...
  6. ordy2

    printing to multiple printers

    I want to print a report to all but one of the workstations printers The code I have used is : For Each Y In Printers If UCase(Y.DeviceName) <> UCase(&quot;LaserJet 2200 DN&quot;) Then set printer = Y Set CrxReport = crxApplication.OpenReport (App.Path &quot;\Preport.Rpt&quot;)...

Part and Inventory Search

Back
Top