Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer default IN CR 8.5
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00779102
Message ID:
00779134
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform