devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  How Seasoned Architects Evaluate New Tech

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.