|
-
Jan 15th, 2008, 11:16 AM
#1
Can crystal change trays in a single report
We are being told that crystal cannot change trays mid-print - is that true??
-
Jan 15th, 2008, 11:21 AM
#2
Re: Can crystal change trays in a single report
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.
-
Jan 15th, 2008, 11:24 AM
#3
Re: Can crystal change trays in a single report
My report engine switches trays mid-print - that's how we do letterhead for page 1 and plain paper for page 2
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.
-
Jan 16th, 2008, 12:33 PM
#4
Re: Can crystal change trays in a single report
Is this question really not possible to get an answer to?
-
Jan 16th, 2008, 12:45 PM
#5
Re: Can crystal change trays in a single report
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 ???
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 16th, 2008, 01:33 PM
#6
Re: Can crystal change trays in a single report
 Originally Posted by RobDog888
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...
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?
-
Jan 16th, 2008, 01:58 PM
#7
Re: Can crystal change trays in a single report
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
-
Jan 16th, 2008, 02:02 PM
#8
Re: Can crystal change trays in a single report
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|