Change "document" to report title in print queue
Post Author: mroy
CA Forum: .NET
When printing from Crystal Reports to a printer, in the print queue, the Document Name is "Crystal Reports - " and the report title.
When printing using ReportDocument in Visual Basic .NET program to a printer, the Document name is "document".
Is there a way to change "document" to the report title in code?
Post Author: Argan
CA Forum: .NET
You can only do it using RAS I believe by using the PrintReportOptions objects JobTitle property.
This is only available using Enterprise or CR XI R2 SP2.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_com_doc/doc/rassdk_com_doc/Crystal_Reports_Controllers_Library101.html
Jason
Similar Messages
-
Printing multiple copies of a document on a remote network printer queue
Hello,
We have migrated our main production instance (ECC6) from HP-UX to AIX 6.1, went live on monday.
Printers are defined like this:
SAP prints to the local operating system (C)
Local print queues are defined which point to remote printers still currently located on a HP UX server. Nothing was changed on this one.
Now since the migration on AIX, the parameter for multiple copies of a document is ignored, if we select for example 4 copies on the SAP print screen, only 1 copy is printed. It worked perfectly fine when the instance was on HP UX.
Seems that the lp command on AIX does not pass the optional parameters when printing on a remote printer (was acknowledged by AIX support), and if we issue manually on AIX a lp command with parameter -n2 for example, only one copy is indeed printed.
I wonder if there is a simple workaround to this problem since it must be quite common? I didn't find anything here or in the Sap notes.
Thanks.Thanks, but the idea is to get it to work without additional products since it worked fine under HP UX.
Seems the AIX administrator has found a workaround with modifying the queue definitions in qconfig, to be BSD style... tests in progress -
GR55 Report - Title Page printing
HI,
We wanted to remove the Title page printing that prints with every cost centre and summaryin GR55 Report. Is there any way to remove this from Printing? Kindly advice.
Regards
SankarHi
see the below link
https://unebapps01.nebraska.edu/slugo/faq.nsf/50b3ab1ea706e0f886256798005a7505/c77b2fe1c079454886256fc8005456c0?OpenDocument
with regards,
ramanuja chary -
I'm unable to print wirelessly or connected via USB with my Epson XP-400. The computer continues to say it's searching for the printer even though the printer is set up on the computer, the printer is connected to the wireless network and the USB is plugged into the computer.
Try resetting your Mac's printing system as shown here:
http://support.apple.com/kb/PH14141 -
How to keep file name in print queue when printing crystal report
We are using VB .Net 2003 + Crystal Report 2008 SP2 up to Fix Pack 2.6
When the VB program spools crystal report files to print queue, the print queue only shows "Crystal Report" for each document. How to keep the original file name? In the past when we were using Crystal Report 11, the original file name can be shown in the print queue.
Please help because it's so important for operation to see which report is failed in printing when reports are printed in batch.
ThanksHello,
Set the PrintOption.JobTitle value for the print job. Here's C# code on how to:
System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
rasPROpts.PrinterName = cboCurrentPrinters.Text;
rasPROpts.PaperSize = (CrPaperSizeEnum)
pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
// this sets the name of the print job
rasPROpts.JobTitle = "MYPrintJob";
rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
Thank you
Don -
Dear all expert,
My user request me to change the BW report title. I changed the description at Query Properties, but when i run the report, the title still remain as old title, but if i refresh the query, it will only update the query title to the new title.
Can i know how to solve this problem.
Thank for help.Hi Mate,
You better dont disturb that query which you want to changes the desc. better you copy the query to a new name in query designer. and execute the new one.Assign points if it is useful.
good day.
Thanks and regards
Arun -
Print Job visibility on shared print queues
Hello all,
Quick scenario, where print server has a print queue shared with several clients. Each user is sending jobs using this shared queue. Is it possible that users only see their print jobs when opening the print queue, instead of all jobs, from other users,
being sent to that print queue.
I am aware that you can mask the job title and job owner, from the driver prespective. Nevertheless I am wondering if there is something from a service or policy prespective that can be applied globally to all printer, independely of the print driver in
use.
ThanksYes. The client will not matter. The driver version or Type will not matter.
The documentation is extremely limited. Most of the 2012 What's new in..... was overwritten with the What's new in 2012R2.
But what the heck. I always go the extra mile for people wishing to deploy print servers. There has been a patch release where you can add the true document name in the print event logged. There are ways to determine the queue view
true document name but code would need to be written and compiled.
https://technet.microsoft.com/en-us/library/jj134163.aspx
When printing to a Windows Server 2012 print queue, only users with administrator permissions on the print queue (full system administrator or delegated print administrator, see
Assign Delegated Print Administrator and Printer Permission Settings in Windows Server 2012) will see readable document names when viewing the print queue. Users can still view the
queue from their client computer and will see their own document name in full, but for other user’s print jobs they will see
Print Document for the document name.
Additionally, in most cases in the event log on the server, the document name will also appear as
Print Document. However, in some job failure cases, the document name will be listed in the failure event.
Alan Morris formerly with Windows Printing Team -
We are looking for a change document history report which can list all the accounting documents which have been changed for a period of time. I know we can retrieve the change documents for both parked and posted documents from the change history from the document itself.
I checked in the system but couldn't find any report whch can give me all the changes for all documents in one place. Does anyone have any idea on this issue.> Hi,
>
> use report <b>RFBABL00</b>
>
>
> pls reward useful answers
> thank you!
>
> A.
>
>
> Message was edited by: Andreas Mann
Andreas
Thanks for that. I've learnt something today!!!
Regards
Barry -
Display Report Title line in Printer Queue Again
Post Author: ShowMeTheName
CA Forum: General
Hello, this is my question:
How can I get our Crystal Reports XI printed from our VB application to show again the line u201CCrystal Reports + The Report Titleu201D in the printer queue?
We first started generating reports with Visual Studio 2003 and Crystal Reports for VB.Net. Months later, we upgraded to Crystal Reports XI Developers Edition.
When we built our application in VB and CR for VB.Net (v.9?) and printed reports from it, they showed the Crystal Reports line with the report title in the printer spooler. Now that we upgraded to CR XI DE and compiled our program, the reports only show the line u2018Documentu2019 in the printer spooler. The report title is gone.
Does anyone know how to get that report title back? If we open a report in the Crystal Reports program and we print it from there, we do get that line u201CCrystal Reports u201C and the Report Title in the printer spooler. However, when we print the same reports from our VB application (and whatever upgrades installed by CR XI), the report title is replaced by a very annoying u2018documentu2019 word.
We need the report title to show in the printer queue to distinguish our reports.
In our VB app, we open the reports as a new ReportDocument and then we print them with the PrintToPrinter code.
Has anyone else had the same problem? Do you guys think that if we replaced the new report references with the original version will do the trick?
We donu2019t want to change or eliminate the u201CCrystal Reportsu201D words because I know we canu2019t. What we want is that line back so it can show the report title. I certainly like that line better than the u201Cdocumentu201D one we get now.
Thanks for your help!Post Author: emoreau
CA Forum: General
as per http://technicalsupport.businessobjects.com/cs/forums/3054/ShowThread.aspx, it doesn't seem to be possible. -
Changeing preferences on network printer queue with Powershell
Hi,
I found a script on this page - http://gallery.technet.microsoft.com/scriptcenter/878e6bac-e2a1-4502-9333-5b1420f8b957 - that I am trying to adapt to work on my users computers and not only on servers. But I can't seem to figure out how to get a reference
to the network attached printers and change their preferences on the computer, the script only get the local ones.
The goal is to use only a portion of the script as a logon script for some users that need onesided printing as default.
param ($ChangeProp)
$host.Runspace.ThreadOptions = "ReuseThread"
Add-Type -AssemblyName System.Printing
$permissions = [System.Printing.PrintSystemDesiredAccess]::AdministrateServer
$queueperms = [System.Printing.PrintSystemDesiredAccess]::AdministratePrinter
$server = new-object System.Printing.PrintServer -argumentList $permissions
$queues = $server.GetPrintQueues()
function SetProp($capability, $property, $enumeration)
if ($PrintCaps.$capability.Contains($property))
$q2.DefaultPrintTicket.$enumeration = $property
$q2.commit()
write-host ($q.Name +" is now configured for " + $property)
write-host (" ")
else
write-host ($q.Name +" does not support " + $property)
write-host (" ")
try {
foreach ($q in $queues)
#Get edit Permissions on the Queue
$q2 = new-object System.Printing.PrintQueue -argumentList $server,$q.Name,1,$queueperms
# Get Capabilities Object for the Print Queue
$PrintCaps = $q2.GetPrintCapabilities()
switch ($ChangeProp)
{$_ -eq "twosided"}
SetProp DuplexingCapability TwoSidedLongEdge Duplexing
break
{$_ -eq "onesided"}
SetProp DuplexingCapability onesided Duplexing
break
{$_ -eq "mono"}
SetProp OutputColorCapability monochrome OutputColor
break
{$_ -eq "color"}
SetProp OutputColorCapability color OutputColor
break
{$_ -eq "staple"}
SetProp StaplingCapability StapleTopLeft Stapling
break
{$_ -eq "show"}
$DefaultTicket = $q2.DefaultPrintTicket
$TicketProps = $DefaultTicket | Get-Member -MemberType Property
write-host (" ")
write-host ($q.name)
foreach ($p in $TicketProps)
$PName = $p.name
$PropValue = $DefaultTicket.$PName
write-host ($p.name + " = " + $PropValue)
default
Write-Host ("$_ is not a valid parameter")
exit
catch [System.Management.Automation.RuntimeException]
write-host ("Exception: " + $_.Exception.GetType().FullName)
write-host $_.Exception.MessageOk, I want to run this (some...) script on a users computer, not on a server, to be able to change their printer preferences. In this case, a network attached printer with duplex default from the server would get simplex as default.
We don't want to set up different queues on the server for different default settings. That's why we are trying with a script.
Running your script against my computer gets me (trimmed down a bit):
Get-ServerQueues -server it228d
InPartialTrust : False
ClientPrintSchemaVersion : 1
IsXpsDevice :
IsPublished : False
IsRawOnlyEnabled : False
IsBidiEnabled : False
ScheduleCompletedJobsFirst : True
KeepPrintedJobs : False
IsDevQueryEnabled : False
IsHidden : False
IsShared : False
IsDirect : False
IsQueued : False
QueueAttributes : 528
QueueStatus :
FullName : \\it228d\Skicka till OneNote 2010
HostingPrintServer : System.Printing.PrintServer
QueuePrintProcessor : System.Printing.PrintProcessor
QueuePort : System.Printing.PrintPort
QueueDriver : System.Printing.PrintDriver
DefaultPrintTicket :
UserPrintTicket :
SeparatorFile :
Description : \\it228d\Skicka till OneNote 2010,Send To Microsoft OneNote 2010 Driv
er,
Location :
Comment :
ShareName :
NumberOfJobs :
AveragePagesPerMinute :
UntilTimeOfDay : 60
StartTimeOfDay : 60
DefaultPriority :
Name : Skicka till OneNote 2010
Priority : 1
CurrentJobSettings :
PrintingIsCancelled : False
Parent :
PropertiesCollection : {UserPrintTicket, IsXpsEnabled, Description, Name...}
InPartialTrust : False
ClientPrintSchemaVersion : 1
IsXpsDevice : False
IsPublished : False
HasToner : True
IsTonerLow : False
IsWarmingUp : False
IsInitializing : False
IsProcessing : False
IsWaiting : False
IsNotAvailable : False
IsOutputBinFull : False
IsPrinting : False
IsBusy : False
IsIOActive : False
IsOffline : False
HasPaperProblem : False
IsManualFeedRequired : False
IsOutOfPaper : False
IsPaperJammed : False
IsPendingDeletion : False
IsInError : False
IsPaused : False
QueueAttributes : 16
QueueStatus : None
FullName : \\it228d\PDFCreator
HostingPrintServer : System.Printing.PrintServer
QueuePrintProcessor : System.Printing.PrintProcessor
QueuePort : System.Printing.PrintPort
QueueDriver : System.Printing.PrintDriver
DefaultPrintTicket : System.Printing.PrintTicket
UserPrintTicket : System.Printing.PrintTicket
SeparatorFile :
Description : \\it228d\PDFCreator,PDFCreator,
Location :
Comment : eDoc Printer
ShareName : PDFCreator
NumberOfJobs : 0
AveragePagesPerMinute : 0
UntilTimeOfDay : 60
StartTimeOfDay : 60
DefaultPriority : 1
Name : PDFCreator
Priority : 1
CurrentJobSettings : System.Printing.PrintJobSettings
PrintingIsCancelled : False
Parent :
PropertiesCollection : {UserPrintTicket, IsXpsEnabled, Description, Name...}
InPartialTrust : False
ClientPrintSchemaVersion : 1
IsXpsDevice : False
IsPublished : False
IsRawOnlyEnabled : False
IsBidiEnabled : False
ScheduleCompletedJobsFirst : True
KeepPrintedJobs : False
IsDevQueryEnabled : False
IsPendingDeletion : False
IsInError : False
IsPaused : False
QueueAttributes : 528
QueueStatus : None
FullName : \\it228d\Microsoft XPS Document Writer
HostingPrintServer : System.Printing.PrintServer
QueuePrintProcessor : System.Printing.PrintProcessor
QueuePort : System.Printing.PrintPort
QueueDriver : System.Printing.PrintDriver
DefaultPrintTicket : System.Printing.PrintTicket
UserPrintTicket : System.Printing.PrintTicket
SeparatorFile :
Description : \\it228d\Microsoft XPS Document Writer,Microsoft XPS Document Writer,
Location :
Comment :
ShareName :
NumberOfJobs : 0
AveragePagesPerMinute : 0
UntilTimeOfDay : 60
StartTimeOfDay : 60
DefaultPriority : 0
Name : Microsoft XPS Document Writer
Priority : 1
CurrentJobSettings : System.Printing.PrintJobSettings
PrintingIsCancelled : False
Parent :
PropertiesCollection : {UserPrintTicket, IsXpsEnabled, Description, Name...}
But on my computer I have four network printers that is not listed. And those are the ones I want to change the preferences on. Is there a way to do this? -
Hi all,
I am changing some settings on my print queues. The snmp community names is one of them (for bi-di purposes).
I would to run a report/audit or simply display it somewhere.. on all print queues to show what community names they are configured with. this way I would able to check if changes have been applied to all or any has been forgotten.
Servers are 2k3 and 2k8 OS.
Thank youYou can use powershell to get a list of WMI print class objects, then loop through the list to get the port name, and determine the SNMP information. The WMI interface will only enumerate Standard TCP/IP ports. For any other port types
you would need to use the spooler API's
powershell link
http://technet.microsoft.com/en-us/library/dd347648.aspx
Alan Morris Windows Printing Team -
Report Title Displaying in Multiple Lines on PDF Format when i Print in PDF
Report Title Displaying in Multiple Lines on PDF Format when i tried to print in PDF Format, is there any limit for Report Title Characters
Displaying Like -
LRDP
Open
Label
Paradigm
Forecast
Report
Any Info Appreciated
~SrixGot It .. Just need to chnage the Width Parameter.......!
-
Change the Report Title for XML Publisher, depending on the field value.
I want to change the Report Title as below.
if the field_A='B' then the report title as it is defined in report defination
else the report title is 'XXX"
Please let me know whether it is possible, if yes please guide me. how can we do it.
Thanks
VenkatTim covered the inline if statement, though not specifically regarding a title, in his blog recently:
http://blogs.oracle.com/xmlpublisher/2007/12/18#a723
The syntax is:
xdoxslt:ifelse(.//WM_FLAG='C’,'Canceled','Approved') -
My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue. How can I stop printing the document?
Soution: Delete the printer and add the same printer back in, therefore creating a new print queue.
-
Report for Change documents in Solution Manager.
Dear Masters,
In Solution manager, we are monitoring the inbound support messages through the Transaction code CRM_DNO_MONITOR.
Here i can veiw the status of support message as of now, but i am not able to see the changes done throughout the process.
Is there any report where i can find the data for changes done on the support messages for the given period?
I can find the change documents where by entering into the support message in Menu bar under Extras > Change documents.
But my requirement is i required this report for the some number of support messages for the given period.
Your help will be much more appreciated.
Thanks,
Panneerhi
is this te one are you looking for
[http://help.sap.com/saphelp_smehp1/helpdata/en/43/2f40b6853e0d23e10000000a1553f7/frameset.htm|http://help.sap.com/saphelp_smehp1/helpdata/en/43/2f40b6853e0d23e10000000a1553f7/frameset.htm]
jansi
Maybe you are looking for
-
How To Consume UME services in Web Dynpro applications
Dear Friends, I am developing a new web dynpro application in which i want to get the user related information in my dynpro code. I have used com.sap.secuirty.jar file in class path -> lib of my project. I have written code sth like this. IUser user
-
How to make choices in a drop down box change a value in another box
Hi, I am fairly new to the world of creating forms in Adobe so please bear with my question if it seems simple. I have seen where a lot of people are using code and I am very confused. I am creating an order form and have created a drop down box (
-
I just purchased Adobe Illustrator and I cant find the serial number. When I try to download using Cloud it says it does not support my computer system. Just yesterday I finished my trial. What shall i do?
-
Java.Lang.OutofmemeoryError
Hi All, I am using JDeveloper 9.0.3(Preview) to develop a XML file against the data in Oracle Databse. I am using a XSQL file and a XSLT file to do this process, and it works fine ONLY when Oracle Table has few rows of data.( say about 1000 rows ) Bu
-
I am trying to modificate the net price in VOFM for a purchase order, but i need to know the position of the purchase requisition order that i put in the table control of me21n and when i make a get parameter of BAP parameter i don´t find the data, a