We are being told that crystal cannot change trays mid-print - is that true??
Printable View
We are being told that crystal cannot change trays mid-print - is that true??
I wasn't aware that there were any report engines that could change trays in the middle of a print job.
If I needed to switch to legal, I always put my legals in a separate print job.
My report engine switches trays mid-print - that's how we do letterhead for page 1 and plain paper for page 2 :cool:
I want to know why crystal can't do that - it's easy enough from VB to change the PAPERBIN property as long as you are on a fresh page.
Is this question really not possible to get an answer to?
I think it depends on the printer, not the print job submitted.
I have a HP Laserjet 1020 and it has two 8.5x11 trays. If tray 1 runs out of paper then it automatically pulls paper from tray 2 keeping the print job continuously printing without error.
Is this the type of action you are looking for or is it switching between paper sized trays or ???
Not really...Quote:
Originally Posted by RobDog888
Town hall has beach stickers in tray 1 and lake stickers in tray 2.
Some people buy both.
So it's a single crystal report that needs to print page 1 from tray 1, switch to tray 2 and then print page 2.
I know this is possible with any print driver from VB.
Does crystal have this level of sophistication?
You could use the PrintOut method. I only have CR version 8.5 so I don't know what is available in other versions.
Code:
Dim app As CRAXDRT.Application
Dim rep As CRAXDRT.Report
Set app = New CRAXDRT.Application
Set rep = app.OpenReport("C:\report1.rpt")
rep.PaperSource = crPRBinMiddle
rep.PrintOut False, , , 1, 1
rep.PaperSource = crPRBinUpper
rep.PrintOut False, , , 2
I dont have the newer versions either but 8.5 standalone and 9.0 in .NET. Havent tried it but I would assume you can use whatever the new method is in CR similarily.