Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer default IN CR 8.5
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00779102
Message ID:
00779134
Vues:
20
This message has been marked as the solution to the initial question of the thread.
If this is a stand-alone application, and you want to hard-code the printer, and the user will never change printer...You need to find out the port also. You can use ASCAN() to locate the printer you want to use, then determine the port.
APRINTERS(p_printers)
LOCAL lcPrinter,lcPort
lcPrinter=p_printer[1,1]
lcPort=p_printers[1,2]
orep.SelectPrinter(lcPrinter,lcPrinter,lcPort)

? oRep.PrinterName && Now you have set that property.
>Mike,
>
>I want change the PrinterName Property.
>
>Local cDef_printer
>cDef_printer = SET("PRINTER",2) && Or SET("PRINTER",3)
>ocrreport.PrinterName=cDef_printer
>
>I don't Want Dialog Popup before. && SET PRINTER TO NAME GETPRINTER()
>
>How can i do It ?
>
>bernhart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform