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.

See also  Does It Make Sense to Splurge on a Laptop?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist