Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports
Message
From
05/12/2001 11:55:53
 
 
To
04/12/2001 02:54:38
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00585988
Message ID:
00589940
Views:
32
Thanks a lot Walter, I realize that you have a lot of experience using Crystal Reports with VFP.

Luis


>
>To be honest, I don't know. Anyways the version I've got was freeware as I remember. I'll send it to you by E-mail
>
>The code I use to set the printer is:
>	LPARAMETER cPrintername
>		DECLARE _fpreset IN msvcrt20.dll
>		
>		* This method set the printer where the report is going to be printed on.
>		* It also retrieves printertype, location and remarks which can be showed in a print dialog.
>		* For more information about the functions used in this method I refer to the Focus.fll
>		* Documentation
>
>		=_fpreset()
>		cToken= PRN_GetPrnData(ALLTRIM(cPrintername),5001)
>		=_fpreset()
>
>		.Selectprinter(STR_ntoken(6,cToken), STR_ntoken(3,cToken), STR_ntoken(5,cToken))
>		=_fpreset()
>
>The fPreset is used to avoid C00005 Errors due to some HP printer drivers.
>
>
>Walter,
>
>
Previous
Reply
Map
View

Click here to load this message in the networking platform