Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting printers in Windows XP
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Selecting printers in Windows XP
Miscellaneous
Thread ID:
00652962
Message ID:
00652962
Views:
60
I have an application that has been printing fine in Windows 95/98. Well along comes XP and messes that all up. Actually I can print from my app in Windows XP, however it doesn't care if I select a printer other than the Windows default printer. My VFP 6.0 code is this:
*---Report Destination Selection
IF RECCOUNT() > 0
	DO CASE    
		CASE ThisForm.opgPrintSelect.Value=1
			REPORT FORM (ReportType) NOCONSOLE TO PRINTER PROMPT PREVIEW
			
		CASE ThisForm.opgPrintSelect.Value=2
			REPORT FORM (ReportType) NOCONSOLE TO PRINTER PROMPT
	ENDCASE
ENDIF
I didn't test Case #1, however, within CASE #2, if the user selects another printer other than the Windows Default printer, XP doesn't care, it still prints to whatever printer was the default printer at the time you start the application. What's the deal? Is there another command I should use?

Thanks
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Next
Reply
Map
View

Click here to load this message in the networking platform