on 09-20-2008 11:06 AM
I have crystal reports 10 report file, in which I edited the printer settings... collate and number of copies(2) and saved it.
now i want to print it from VB6. I am using a customized print dialog form (not using the common dialog control)
I want to get the collate and number of copies settings from the rpt file. how can I get those details. any API available?
Need more info,
What report engine are you using, .NET, RDC, etc.?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samkar,
It will look something like this:
crReport.SelectPrinter "pscript5.dll", "HP LaserJet 8150 Series PS", "LPT1"
crReport.PaperOrientation = crPO
crReport.PaperSize = crPSS
crReport.PaperSource = crPSR
crReport.PrinterDuplex = crPRDPDefault
crReport.PaperSource = crPRBinEnvelope
Depending on the version you have depends on if the function is available. It may be that 10 did not h ave the Papersource member.
Thanks again
Don
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.