Error Loading Printer Driver Visual Foxpro
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. 1958 error loading printer driver You’ll be auto redirected in 1 second. Reference Error Messages Error Messages A-Z Error Messages error 1958 error loading printer driver A-Z Error loading printer driver (Error 1958) Error loading printer driver (Error 1958) Error loading printer driver (Error 1958) "cursor" must be created with SELECT ... INTO TABLE (Error 1815) "field | variable" is not unique and must be qualified (Error 1832) "field" is not related to the current work area (Error 1165) "field" phrase is not found (Error 1130) "file" is not a Visual FoxPro .EXE file (Error 1196) "file" is not an object file (Error 1309) "name" band is too large to fit on page (Error 1298) "name" can only be used within a method (Error 1929) "name" cannot be closed while suspended (Error 1932) "name" cannot be enumerated (Error 1794) "name" internal consistency error (Error 1462) "name" is a method, event, or object (Error 1737) "name" is a read-only property (Error 1740) "name" is not a file variable (Error 226) "name" is not a function, procedure or program (Error 1992) "name" is not a valid resource file (Error 1294) "name" is not a variable (Error 225) "name" is not a Visual FoxPro event (Error 1745) "name" is not an array (Error 232) "name" is not an object (Error 1924) "name" objects cannot return a value (Error 1983) "OLE error" (Error 1429) ** or ^ domain error (Error 78) *bad date* *Interrupted* .DBC internal consistency error (Error 1550) .DIF file header is invalid (Error 115) .DIF type indicator is invalid (Error 117) .DIF vector is invalid - .DBF field mismatch (Error 116) .SYLK file dimension bounds are invalid (Error 120) .SYLK file format is invalid (Error 121) .SYLK file header is invalid (Error 119) A .DBF-style Help file is required (Error 1727) A Key cannot be specified when adding an item to this collection. (Error 2064) A Key must be specified when adding an item to this collection. (Error 2063) A member object with this name already exists (Error 1771) A sharing violation occurred. (Error 2024) A stored procedure is executing (Error 1538) A subdirectory or file "name" already exists (Error 1961) A table in multiple relationships can only have one child order (Error 1889) Access to system Registry denied (Error 1640) ADODB.Command is already opened. (Error 2081) ADOD
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Error loading printer driver (1958) Visual FoxPro > Visual FoxPro General Question 0 https://msdn.microsoft.com/en-us/library/aa976467(v=vs.71).aspx Sign in to vote Hi, I have an application, which have a lot of printing forms. Till now I executes printings with REPORTBEHAVIOR=80. But now I'm trying to use REPORTBEHAVIOR=90. What I did: 1. In my main.prg: SET REPORTBEHAVIOR 90
IF FILE("reportpreview.app") _reportpreview=ALLTRIM(FULLPATH(CURDIR()))+"reportpreview.app" ELSE _reportpreview=HOME()+"reportpreview.app" ENDIF IF FILE("reportoutput.app") _reportoutput=ALLTRIM(FULLPATH(CURDIR()))+"reportoutput.app" ELSE _reportoutput=HOME()+"reportoutput.app" ENDIF https://social.msdn.microsoft.com/Forums/en-US/fa9cd981-c54a-4cbd-83ec-13ecaf3c5fb0/error-loading-printer-driver-1958?forum=visualfoxprogeneral All my reports (are excluded from project) are executes with: REPORT FORM ..\reports\frx.... TO PRINTER PROMPT PREVIEW Both *.APP are installed (copied to) in main folder of application My application is installed on MS Server 2000 to which users connects via MS TerminalServer. There is no VFP copy on server. Only necessary libraries. The problem occurs when I'm executing report (from app). I have an error: Error loading printer driver. Code 1958 DO (_REPORTPREVIEW) with __ReturnObject It's strange but after few times of unsuccsefull executions of any report, application starts to works and print normally (just like with REPORTBEHAVIOR=80). But when new Server user starts to use my app those errors appears again. What am I doing wrong? Andy. Monday, September 29, 2008 6:53 AM Reply | Quote Answers 1 Sign in to vote At least in my case it was a permission issue, my application couldn't write to the temp folder FoxPro was using. My IT guy "lower" the permissions in those folders anhere for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the http://stackoverflow.com/questions/418071/how-can-you-fix-an-error-1958-when-using-set-printer-to-on-vista-64bit-in-vfp-8 company Business Learn more about hiring developers or posting ads with us Stack Overflow http://computer-programming-forum.com/2-vfp/a5579d4d8d8603ce.htm Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How can you fix an error 1958 when using SET PRINTER TO on Vista 64bit in VFP 8 up error loading vote 0 down vote favorite Our VFP 8 application is returning error 1958, which is "Error loading printer driver" when executing the following line of code SET PRINTER TO HP1200 on a customers Vista Business 64bit laptop. The HP1200 is a HP business ink jet model 1200. The customer removed and reinstalled the printer using the latest 64bit driver from HP. We've also tried added a new Generic / Text Only printer on error loading printer the FILE: port and using it instead, and we get the same error. So it's not specific to the HP printer driver. We've also tried removing the SET PRINTER TO line and just executing the a REPORT FORM command so it will go to the default printer, but we get no output. The customer has a desktop machine, 64 Vista Business as well, with the same printer and driver installed, and we do not see the same error. They do run Avast antivirus on both machines. foxpro visual-foxpro share|improve this question asked Jan 6 '09 at 20:48 Chris Vesper 549415 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted We have at least one client who is using Vista with a FoxPro application, but we are using FoxPro 9, and have had no printing problems. From everything I have read, if you are going to use Vista and FoxPro together, FoxPro 9 is the way to go. http://www.promatrix.com/mall/vfp-vista-compatibility.asp We switched our app from Foxpro 8 to Foxpro 9, specifically for Vista compatibility... and although I was not directly involved, I don't think the change-over was hard to do. share|improve this answer answered Jan 9 '09 at 20:13 Clinemi 49451427 add a comment| Your Answer draft saved draft discarded Sig
also supports PC application. Recently, our internal programmer has developed an application using Visual FoxPro Ver 5.0 and it is a client-server application. The application prints to 2 kind of printers, one is a HPLJ6P (network printer) and the other is the local printer which is a dot-matrix (OKI). The default has been set to HPLJ6P. My question is that why when we send a specific print job, it still goes to the OKI printer, when the default is HPLJ6P? But at some other reports, I can choose to print to the HPLJ6P? Another problem is that sometimes when the users try to print to the OKI printer, an error will occur saying "Error loading printer driver". Why is it so? I know I should not be the one asking for help, but the programmer hasn't been able to solve the problem and if it still continues, I guess I would be expecting to be f**ked by my director. Any help rendered would be greatly appreciated. Thank you. Regards, Song WS Tue, 10 Oct 2000 03:00:00 GMT F. Spiesse#2 / 2 Why "Error loading printer driver"? Hi, VFP ignores the default printer of windows if another valid printer exist and match the printer recorded in the report. Two solutions : - erase the reference to printer in each report : open report as DBF : USE myreport.frx , browse and clear the Tag, Tag2 and (may be) Expr Field in the first row of your report - check in your app all the calls to a report to add the command word PROMPT (i.e. REPORT FORM myreport TO PRINTER PROMPT) to be sure to be asked for the printer each time) HTH Francis P.S. : if your internal programmer ins not able to correct this kind of problems, tell your director that there somebody better to f** than you... Quote:>Hello all, >I am a Windows NT Network Administrator that also supports PC >application. Recently, our internal programmer has developed an >application using Visual FoxPro Ver 5.0 and it is a client-server >application. >The application prints to 2 kind of printers, one is a HPLJ6P (network >printer) and the other is the local printer which is a dot-matrix >(OKI). The default has been set to HPLJ6P. My question is that why >when we send a specific print job, it still goes to the OKI printer, >when the default is HPLJ6P? But at some other reports, I can choose >to print to the HPLJ6P? >Another problem is that sometimes when the users t