Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Report Printer name value passing through label

$
0
0
Instead of hard coding printer name directly in program. I would like to pass label value.

This is the code:-

reportDocument.PrintOptions.PrinterName = “HP LaserJet 1020”;

Instead of above printer name, I would like o pass label value like below

reportDocument.PrintOptions.PrinterName = LblPrinter.Text;


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>