devxlogo

Possible to use predefined global variables to print reports?

Possible to use predefined global variables to print reports?

Question:
Is it possible to have predefined (dynamically changeable) global variables that can hold reference to the printer name, copies, paper format, etc. and use a PrintReport() action that will print a report to that printer?

My goal is to have a process for printing bills and other reports quickly, without having users answer questions like “which printer,” “number of copies,” “paper format” etc.

Answer:
There are properties you can change in the Crystal Reports OCX controlthat set the number of copies and the printer name. Iwould start by trying to set these properties programmatically.

devx-admin

Share the Post: