Showing posts with label print. Show all posts
Showing posts with label print. Show all posts

Wednesday, March 28, 2012

Modelling Tool Help

Hello,

For management that doesn't have the software I do, I've been using a PDF postscript utility to print the model and give it to them. However, I have to fit the model for the specific page (which is really small, and you have to zoom in), or you have to view it on multiple pages. Well multiple pages can be a pain, because the table you are looking at is on page 1, but the relationships are on page 12, 22, or 50, for example. So I was looking for a tool that is cheap enough to implement that we could look at the entire model on one "surface" (not necessary to print), that the model could be viewed in.

Thanks,

BrianHow about visio?|||Yes, we have that too, and I did find the Meta Information Model Bridge that converts to different formats, but we are looking for a general viewer without the data modelling need. It may just have to be Visio.

Thanks,

Briansql

Wednesday, March 21, 2012

Mixed Portrait and Landscape

I want to print the first page of the report in the Portrait mode and the
subsequent pages in the Landscape mode. I don't know if it is doable in
RS2005. Any idear?
Thanks,It is not doable.
I've done something similar to this. What I did was, using data driven
subscriptions I created two sets of pdf documents (a set of portrait
and a set of landscape) and named them very similar to each other. For
example, sample_ltr.pdf and sample_rpt.pdf. Using a batch pdf printing
software, I was able to print the portrait which was the _ltr.pdf first
followed by the landscape document (_rpt.pdf).
Good luck
Isa Terzi * Senior Developer Analyst
Business Intelligence Team
Tower Group Companies
iterzi@.twrgrp.com

Monday, March 19, 2012

Missing: Have you seen me? Reportviewer toolbar button

Hi all,

I've implemented some reports with the asp.net2 reportviewer component. But it seems that the Print button has gone missing... The ShowPrintButton property is set to true on the control, but it's nowhere to be found on the component when rendered... and it's not shown in design mode too...

How do I enable it, I've put all the dll's I would need in my bin folder of my project, but doesn't the print feature need the active x component to work too? Where would I find that control, and how do I set it up?

Thanks

See these links, hope they're useful:
http://forums.asp.net/thread/1058375.aspx
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=22277&SiteID=1

Wednesday, March 7, 2012

Missing parameter values error

I am using a CR viewer in VS 2005 (VB 2005). I am using the ReportDocument class to print the report. I get a "Missing parameter values" error when the code gets to the "PrintToPrinter" method. Here's my code:

Dim rpt2 As New CrystalDecisions.CrystalReports.Engine.ReportDocument

Dim param1Fields As New CrystalDecisions.Shared.ParameterFields

Dim param1Field As New CrystalDecisions.Shared.ParameterField()

Dim param1Range As New CrystalDecisions.Shared.ParameterDiscreteValue()

param1Field.ParameterFieldName = "CaseIDin" ' Parameter Name In Crystal Report

param1Range.Value = strCaseID.ToString ' value For Parameter Field

param1Field.CurrentValues.Add(param1Range)

param1Fields.Add(param1Field) ' To add parameter in parameterslist

rpt2.Load("C:\CaseHistory.rpt")

rpt2.DataDefinition.ParameterFields("CaseIDin").CurrentValues.Clear()

rpt2.DataDefinition.ParameterFields("CaseIDin").CurrentValues.Add(param1Range)

rpt2.PrintToPrinter(1, False, 0, 0)

What's wrong with this code? How do I get the parameters correct.

TIA,

SteveOne of the parameters is not given value. Make sure you supplied values for all the parameters

Monday, February 20, 2012

Missing DLL for Crystl32.ocx 6.1

Hi,

I'm using MS Access 2000 and VB in conjuction with crystal ActiveX control
Crystl32.ocx (v. 6.1) to preview and print from SQL 2000 database. All this worked fine under Windows 2000 OS. However, when I try to do the same under Windows XP OS I'm getting the error "Can not find Database DLL".

I tried re-registering the Crystl32.ocx control, which was not a problem, however, this did not correct the preview and print problem. The following are the DLLs that I copied from the Windows 2000 pc to Windows XP;

CRPE32.dll - Interface to the Crystal Report engine
CRPAIG32.dll - Crystal Reports text object suport
IMPLODE.dll - compression library

The remaining DLLs that I know of are;

MFC42.dll - MS Foundation Class libraries
MSVCIRT.dll - runtime lib
MSVCP60.dll - runtime lib
OLEPRO32.dll - OLE Property Support DLL

Thank you for your help,

Danielhi
i don't know is this going to help, but i had kind of same problem when started to use XP instead of 2K:
i was getting a message: "missing crystl32.ocx" all the time...tried to register it, but it didn't work..
what i had to do was to install an older version of crystal reports, 8.0 or 8.5, because i was told that newer versions do not support ocx controls...|||This is a really crappy message that Crystal are too lazy to fix by putting proper granular error-handler is their code.
It could be caused by a number of problems, including a missing DLL. It could be caused by having a subreport, and failing to programmatically send the logon information to the subreport by iterating through the collection of subreports and setting the logon infop for each one.
This occurs on some ODBC connections, but not on others depending on how the OS implements its security.
On our connection to an AS400, for example, we don't get this error because the connection is configurable and you can (in essence) set it to store its logon info for that session.
If you have subreports, try sending logoninfo to each one.

dave