Printing Resource Name Form View
Hi there,
I am using Project 2013 Professional on SP1 with all the updates applied.
I am trying to print the resource name form so I can give all the business users involved in the project a list of thier tasks, when they are due, and how much effort is expected of them.
I get the view fine.
I then go +File +Print and get the print page but there is a message saying "Print is not currently available". I tried printing anyway, but as expected nothing happens.
I can print some views but not others so it is not a generic printing issue, but seems to be related to not being able to print particular views.
Has anyone experienced the same issue? Is there a fix? Am I doing something wrong?
Thanks in advance
Tony
Backwardsit --
Yup, I am experienced the same problem as you. I cannot print the Resource Name Form view in Microsoft Project 2013, SP1. If it were me, I would customize the Resource Usage view with the columns you want to print (such as Start, Finish, and
Work) and then print the Resource Usage view. Just a thought. Hope this helps.
Dale A. Howard [MVP]
Similar Messages
-
Hi All,
I need some information in web dynpro. not in portal.
I have code here
IWDClientUser user = WDClientUser.getCurrentUser();
IWDAbstractButton button;
button = (IWDAbstractButton)view.getElement("User");
i want to print user information on button in a View.
I tryied my best to print but i don't find any printing elements .
thanks
RaviHi Ravi,
This is just for some fun but I am sure I answer your question completely and your problem must have got solved 100% and if I am right then there is a option to allot 10 points for the solved queries
Ok its fine atleast mark the question as answered.
Regards
Sid -
Print program name for the dunning form F150_FR_DUNN_01 in sapscript
Hi,
I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
Kindly help me.
Thanking you.
Pujarini PatraHi,
Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP 0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
The corresponding SAP sample Forms are:
- F150_DUNN_SF for Smartform; and
- F150_DUNN_SF for pdf Form (don't let the name confuse you )
I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
- FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
- FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for view Cluster VC_T047_F... That would save the whole effort to try to detect the type for form assigned...
Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
The selected entry is the one you are looking for to assing your custom forms, I believe.
cheers
Janis -
ActiveSync Input Form -- To take AD Resource name from Database column
Hi All,
My authorative source is a database table called dbTable.
I am using an input form to provision into Active Directory. The Active Directory resource name is stored in a dbTable column. I first tried to hardcode the name of AD and do the provisioning, it worked. But wen I tried to take the name of the AD from my dbTable column using
<Field name='waveset.resources'>
<Comments>Add the AD account user inducted.</Comments>
<Expansion>
<block trace='true'>
<filterdup>
<appendAll>
<ref>waveset.resources</ref>
<list>
<ref>activeSync.resourceNm</ref>
</list>
</appendAll>
</filterdup>
</block>
</Expansion>
<Disable>
<block trace='true'>
<neq>
<ref>feedOp</ref>
<s>create</s>
</neq>
</block>
</Disable>
</Field>
It didnt work.
Plz, can anyone tell me how to bring the name of the AD resource in my input form for provisioning into that AD.
I need help. Plz treat it as urgent coz i can't move further without this being solved.Hello, first try to trace the value, using <ref>activeSync.resourceName</ref> should work,
also read the example in Identity Manager documentation (PDFs) called: "Example: Disabling Accounts through ActiveSync Capable Adapters"
Regards,
Edgar Torres -
How to find output type givenSapscript form name and print program name
Hi Experts,
Can anyone tell me how to find the output type of a sapscript form if the print program name and sapscript form name is
known.Hi,
There are two ways:
1. Use table TNAPR .. Here is table give PGNAM as your print program name and FONAM as form name.. Now the field KSCHL will be the output type assigned to your script.
2. You can also check the NACE t-code.. In that select a application(Corresponds to your area) -> click on Output types tab -> Here you get list of output type.. You need click on Processing Routine folder to get all other info.. -
How find print program and form name from the spool list
Hi,
I have a requirement to find print program and form name from the spool list.
I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
Cheers
SamHi
Try TSP01-Suffix2
Regards
Raj -
Sort Resource Names in Gantt Chart view
Hi,
In Gantt Chart view I'm displaying resource names to the right of task bars but the order seems to be random by task. Is there any way to re-order or define an order for resource name in the Gantt Chart view.
The defualt order seems to be the order in which they were assigned.Hi Pete,
To the best of my knowledge, no. You can sort and renumber resources but it does not change the order. You are correct, they show in assignment order. -
HP photosmart 2610 printing forms on IBM Lotus Form Viewer 3.5
I have an HP photosmart 2610 printer that will not print forms from the IBM Lotus Form Viewer 3.5. I've tried on 2 different computers (one w/ Windows Vista and one w/ Windows 7) and neither will work. I get the following error message:
Sun Jan 29 15:34:42 2012 0 Viewer : Printer Driver's EndPage() Failed
at PRINT ERROR(.\src\FormViewer\PrintEngine\CPrintEngine.cpp:1960 Fri Mar 27 10:34:52 2009):12880:8
Is there a fix for this? Thank you!Hi there ptspaid,
To eliminate and potential software problem lets try downloading and running the print and scan doctor located here:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
It can fix a lot on its own and if not give a better idea of what is going on.
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
At the end of live storage migration in SCVMM 2012 R2 RU3 getting error:
Error (12711)
VMM cannot complete the WMI operation on the server (hypervhost1.domain.local) because of an error: [MSCluster_Resource.Name="SCVMM test-vm"] The cluster resource could not be found.
The cluster resource could not be found (0x138F)
Recommended Action
Resolve the issue and then try the operation again.
Storage migration actually succeeds and after Repair/Ignore and Refresh, the VM shows up ok in VMM, with the VHD in new location.
If VM is offline, storage migration always succeeds. Live (non-storage) migration always succeeds.
I noticed in the error message that it searches for cluster resource name "SCVMM test-vm" and for some VMs I've got different cluster resource names.
Like for this VM cluster resource names are:
Virtual Machine test-vm
Virtual Machine Configuration test-vm
Furthermore, those resource names are showing up correctly in [VirtualManagerDB].[dbo].[tbl_WLC_VMInstance] table, columns VMResource and VMConfigResource.
Anyone knows why SCVMM keeps searching for "SCVMM test-vm" and how to fix this without recreating cluster resources?Ok, you have the same problem and same configuration that this post:
https://social.technet.microsoft.com/Forums/systemcenter/en-US/853c021f-dd0a-4d88-a7c1-72bb8d4d0591/hyperv-cluster-live-migration-does-not-work-anymore-after-ur5-installation?forum=virtualmachingmgrhyperv#b5ae914f-7b52-4cea-86ef-a64ce4b32bb0
This problem occurs will old and new vm? -
Screen Print and report print in 11g Forms
Hi,
I have created a popup menu in forms 11g which has a label print screen.
When user clicks on it, it is supposed to bring up the list of printers that user has on his PC, so that they can choose the printer where they want to print to.
Do I need to use webutil for it? or is there any other way?.
Thanks
MunishIf you plan on printing from the client your only options are to use WebUtil or write your own java bean.
That said, if you are generating the labels using Reports, why not generate to a pdf file? If you coded your form properly, the pdf will open on the client side in something like Acrobat Viewer. If they want to print it they can click on the "Print" button in PDF viewer.
If you really want to make it complicated and present a list of printers and allow them to pick one then send the job to the printer, this will take some effort. Here are some starter tips assuming the client will always be Windows based:
You can get the current default printer like this:
-- More registry info for printing can be found here: http://support.microsoft.com/kb/102966
Declare
rtn_Registry varchar2(255);
rtn_defaultPrinter varchar2(255);
Begin
rtn_Registry := CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows','Device');
rtn_defaultPrinter := substr(rtn_Registry,1,instr(rtn_Registry,',',1)-1);
message (rtn_defaultPrinter); -- This is the name of the default printer
End;Some printer properties and preferences can be called with something like this:
-- More details here: http://support.microsoft.com/kb/q189105/
Declare
my_cmd varchar2(255);
rtn_Registry varchar2(255);
rtn_defaultPrinter varchar2(255);
Begin
-- Get default printer
rtn_Registry := CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows','Device');
rtn_defaultPrinter := substr(rtn_Registry,1,instr(rtn_Registry,',',1)-1);
-- Printer default preferences
my_cmd := 'rundll32 printui.dll,PrintUIEntry /e /n "'|| rtn_defaultPrinter ||'"';
-- Printer properties
-- my_cmd := 'rundll32 printui.dll,PrintUIEntry /p /n "'|| rtn_defaultPrinter ||'"';
-- Printer queue
-- my_cmd := 'rundll32 printui.dll,PrintUIEntry /o /n "'|| rtn_defaultPrinter ||'"';
If rtn_defaultPrinter IS NULL Then
Message('Default printer not detected.');
Message('Default printer not detected.');
RAISE Form_Trigger_Failure;
End if;
SYNCHRONIZE;
CLIENT_HOST(my_cmd);
End;The complete list of installed printers can be found in the Registry here:
<blockquote>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers</blockquote>
Take a look at this java bean example used to help print to the local printer from Forms.
<blockquote>http://forms.pjc.bean.over-blog.com/article-6621538.html</blockquote> -
How to fetch Print program name of a SAP script?
Hi abapers,
Could you please tell me how to fetch the name of a script's print program with the help of the script's name?
I have tried with table TNAPR and T-code NACE,it didnt help.
Is there any function module that returns the print program's name.
Please reply.
Thanks,
Suchi.hi ,
GOTO SE71 Txn
Enter standard script name.
Click on Display.
"in menu bar
"form------>Check--->text ----->press enter
Now you can view the standard print program name
Thanks & Regards -
I'm very confusing about the resource name when using vi in LabVIEW, sometimes, the resource name is in form of PXI1Slot15, sometimes it's in the form of DAQ::5::INSTR and others just a number. I don't know what's their differences.Also, I don't know the meaning of PXI1Slot15, what's meaning of 1 and 15 here?
Hi,
With visa, can communicate with different device through different interfaces using the same API, so when you open a session to a device you have to specify, not only the device address but also the interface.
general syntax is <interface><board>::<device address>::INSTR
If you have more than one interface of the same type in your system then you have to provide this information. the first card/board/interface is usually 0 (zero).
The actual device address, will vary depending on the interface ie for a GPIB interface you will have a primary address but you may have a secondary address as well.
In your case, you must have more than one pxi interface in your system and you want to communicate with the device in the second PXI system and the device (DAQ) in the 15 slot of the PXI rack.
You can find more information by view the help of the viOpen VI.
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer -
Crystal report print directly without crystal viewer
HI !
In my addon i use Crystal Report. What would be the code i need to add if i want to print directly instead of having to go thru the crystal viewer.
The crystal viewer gives me lots of problems with painting the screen when i move the form and it allways opens in the task bar. I cant seem to control the window sizes of the viewer either so unless it's easyer to fix those problem i need help to go and print direct without the viewer....
Thanks for your timeHi John !
I finnaly made it work...
here's what i used
Dim objAppl As New CRAXDRT.Application
Dim objReport As CRAXDRT.Report
objReport = objAppl.OpenReport("C:Program FilesSAPSAP Business OneAddOnsDutiesresultat.rpt")
objReport.PrintOut(True, 1)
Thanks alot for your time.
p.s.: I can i get the print window open on the screen instead of the task bar ??? it did that with the viewer too...
Thanks again -
Error in Preview and Print in Crystal Report Viewer 2.0.0.7 in Workstation
Hi Guys,
I am encountering a problem when clicking preview and print in Crystal Report Viewer 2.0.0.7. It returns an error
Unhandled exception has occurred in your application. If you click Continue the application will ignore and attempt to continue. If you click quit, the application will close immediately. Load report failed.
I already install the runtime crruntime_120_mlb, . net framework 3.5 sp1 and the add-on itself. The viewer is working properly in SAP Server. My version of SAP is SBO 2007 A SP00 PL10.
Regards,
Michaelhere's the detailed error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
CrystalDecisions.Shared.CrystalReportsException Load report failed. --- System.Runtime.InteropServices.COMException (0x80004005) The device is not ready.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()
at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()
at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies
mscorlib
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3620 (GDR.050727-3600)
CodeBase fileCWINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll
SAP_CR
Assembly Version 2.0.0.7
Win32 Version 2.0.0.7
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRSAP_CR.exe
Interop.SAPbouiCOM
Assembly Version 8.0.0.0
Win32 Version 8.0.0.0
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.SAPbouiCOM.DLL
System.Windows.Forms
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll
System
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3614 (GDR.050727-3600)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll
System.Drawing
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll
CustomMarshalers
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll
Interop.CR_Crypto
Assembly Version 6.0.0.0
Win32 Version 6.0.0.0
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.CR_Crypto.DLL
System.Data
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll
System.Configuration
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll
System.Xml
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3082 (QFE.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll
System.Transactions
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.Transactions2.0.0.0__b77a5c561934e089System.Transactions.dll
System.EnterpriseServices
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll
CrystalDecisions.Windows.Forms
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Windows.Forms12.0.2000.0__692fbea5521e1304CrystalDecisions.Windows.Forms.dll
CrystalDecisions.Shared
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Shared12.0.2000.0__692fbea5521e1304CrystalDecisions.Shared.dll
CrystalDecisions.ReportSource
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportSource12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportSource.dll
CrystalDecisions.CrystalReports.Engine
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.CrystalReports.Engine12.0.2000.0__692fbea5521e1304CrystalDecisions.CrystalReports.Engine.dll
System.Web
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3618 (GDR.050727-3600)
CodeBase fileCWINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CommLayer12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CommLayer.dll
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ClientDoc12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ClientDoc.dll
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportAppServer.DataSetConversion12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataSetConversion.dll
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.DataDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataDefModel.dll
CrystalDecisions.ReportAppServer.Controllers
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.Controllers12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.Controllers.dll
CrystalDecisions.ReportAppServer.CubeDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CubeDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CubeDefModel.dll
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ReportDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ReportDefModel.dll
BusinessObjects.Licensing.KeycodeDecoder
Assembly Version 12.0.1100.0
Win32 Version 12.0.0.840
CodeBase fileCWINDOWSassemblyGACBusinessObjects.Licensing.KeycodeDecoder12.0.1100.0__692fbea5521e1304BusinessObjects.Licensing.KeycodeDecoder.dll
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example
configuration
system.windows.forms jitDebugging=true
configuration
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. -
How to print directly to Printer from Crystal Report Viewer ?
Hi All,
We are integrating our Java Web Application with Crystal report XI, currently using JRC and export to PDF for user to preview and print to local printer.
Now there is new requirement :
Some clients is using thin client terminal (no harddisk, only has OS +Browser in ROM), so I cannot install Acrobat Reader for them to preview&print the report.
So I am looking at Crystal Report Viewer, the question is : Can I print from Crystal Report Viewer directly to local printer without first converting it to PDF (because I can't have acrobat reader installed) ??
Thank you very much,
Krist
IndonesiaHi,
It can't be achieved through XI.
JRCXI R2 SDK offers the ability to print the report server side
using the PrintOutputController using printReport(PrintReportOptions printReportOptions) method.
Here is the code(for XIR2):
import="com.crystaldecisions.reports.sdk.*"
import="com.crystaldecisions.sdk.occa.report.lib.*"
import="com.crystaldecisions.sdk.occa.report.document.*"
try {
final String REPORT_NAME = "Inventory.rpt";
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(REPORT_NAME, 0);
//Create and set print options.
PrintReportOptions printOptions = new PrintReportOptions();
//Note: Printer with the 'printer name' below must already be configured.
printOptions.setPrinterName("
10.10.45.220
BOBJ 2C");
printOptions.setJobTitle("Sample Print Job from JRC.");
printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
printOptions.setPaperSource(PaperSource.auto);
printOptions.setPaperSize(PaperSize.paperLetter);
printOptions.setNumberOfCopies(1);
printOptions.setCollated(false);
PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
printOptions.addPrinterPageRange(printPageRange);
//NOTE: If parameters or database login credentials are required, they need to be set before.
//calling the printReport() method of the PrintOutputController.
reportClientDoc.getPrintOutputController().printReport(printOptions);
reportClientDoc.close();
out.println("Successfully sent report to the printer.");
catch(ReportSDKException ex) {
out.println(ex);
Please revert in case you have any query.
Thanks,
Neeraj
Maybe you are looking for
-
Crystal XI R2 ActiveX Viewer Hang
Hi all, I am hoping somebody may be able to help with a problem that has been driving me mad for a couple of weeks! We have a report which is very old and has not been modified since July this year. We have never had any problems with it until about
-
CS6 Design&Web Premium Change Language
Mine is Adobe Creative Suite 6 Design & Web Premium And my language is Chinese How I change to English ?? thank you
-
Creating many pdf into individual pdf's.
hi FRNDS. iam COnverting SAPSCRIPT TO PDF. here iam using STD PROG NAMED AS RSTXPDFT4. BUT IAM GETTING ALL EMPLOYEE'S PDF FILE IN 1 PDF ONLY , HERE I WANT O/P OF EACH EMPLOYEE INDIVIUALLY, I.E I need to split and download a spool file into PDF, but b
-
I have a 2nd generation Apple TV and it doesn't show an available update. Is says 5.3 is up to date. Was 5.4 also released today?
-
Can't see installed file in Digital Editions 2.0
I was reading an ebook from Netgalley. I added another ebook. The Netgalley book no longer shows in my library. I removed the additional book. The Netgalley book did not reappear. I tried to add the Netgalley ebook to the library but got a message sa