How to print cproject Graph?
hello frnds,
i want to print graph in the cproject. here print button is given but from there i can only print the details of project. i m not able to print graph. will anybody tell me that is there any badi given to print that or not? if yes then which badi? plz reply as soon as possible. i have to urgently complete this. i also want to find out that how the details are printed. smartform is used there but which badi is called to print it? plz tell me.
Thank you very much.
waiting for ur reply.
Hi Hetal,
within cPro 3.1 the GANNT Chart can be printed out only with sorry, MS Project
But with cPro 4.0 there exists a really cool solution to print, zoom etc the Chart.
Regards
Björn
Similar Messages
-
How to print a graph in which internal table has more than 32 entries?
hiii experts
i am trying to make a line graph using 'gfw_pres_show' function module.
but in report internal table has more than 32 entries
so how can i print a graph having more than 32 entries?Hi ricky_lv,
According to your description, there is main report and subreport in it, when the subreport spans across multiple pages, you want to show column headers on each page. If that is the case, we can set column headers visible while scrolling in main report.
For detail information, please refer to the following steps:
In design mode, click the small drop down arrow next to Column Groups and select Advanced Mode.
Go to your Row Groups pane, click on the first static member.
In properties grid, set FixData to True.
Set RepeatOnNextPage to True.
Here is a relevant thread you can reference:
https://social.technet.microsoft.com/Forums/en-US/e1f67cec-8fa3-4c5d-86ba-28b57fc4a211/keep-header-rows-visible-while-scrolling?forum=sqlreportingservi
The following screenshots are for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
How to print a graph in LV7.0
I have a waveform graph,how to print it?
thanks a lot!there are a couple of ways to do this ... if you want the entire panel you can do it manually by ctrl-p (windows at least)... you can also use the VI Server method get image along with the Open Vi Reference.vi and Print VI to printer method to print the whole panel programatically...
you can also use Append Control Image to report.VI in conjunction with the print report.vi to print your control...
Dan -
How can I chose a printer to print my graph?
hi,
how can I chose a printer to print my graph? At the moment I can print only with the standard printer, but I want to chose different printers, because I have three printers. How can I solve this in Labview? Is there a property in the property node or a VI?If you have the Report Generation Toolkit you can use the Qurey Available Printers.vi to get a list of printers configured for your PC, write a vi to select from this list, and pass that printer to the Print Report.vi.
If you don't have the toolkit, you can use the property node (located under the Application Control palette), Printing:Available Printers property to obtain a list of printer names programmatically, then write a vi to select from the list, and pass that printer to the Printingefault Printer property to set the default printer in LabVIEW programmatically. -
How to print a componentworks graph in Labview?
Can anyone give me an example of how to print a CWGraph3D object in labview please?
Try this one out. I just modified the example found here
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=C4380ADE4A6960DBE034080020E74861&p_node=%20DZ52085&p_submitted=N&p_rank=&p_answer=&p_source=Internal
Attachments:
Print_ActiveX.vi 17 KB -
How to print the dialog screen result
Experts,
Iam using dynpro and as a result a graph is printed on the screen container. This is my final screen and I want to take a print of that container with graph. so I have activated the print button in the functional keys by selecting the normal application function type.
my screen output is graph as i said.
My program code is like below
PROGRAM Z_GRP_PRT.
TYPE-POOLS: GFW.
DATA PARAMS LIKE PRI_PARAMS.
DATA: OK_CODE TYPE SY-UCOMM,SAVE_OK LIKE OK_CODE,
VALUES TYPE TABLE OF GPRVAL WITH HEADER LINE,
COLUMN_TEXTS TYPE TABLE OF GPRTXT WITH HEADER LINE.
DATA: DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
MODULE STATUS_1000 OUTPUT
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'YUSR1'.
REFRESH VALUES.
REFRESH COLUMN_TEXTS.
VALUES-ROWTXT = 'Prod1 '.
VALUES-VAL1 = 1.
VALUES-VAL2 = 5.
VALUES-VAL3 = 6.
VALUES-VAL4 = 7.
APPEND VALUES.
VALUES-ROWTXT = 'Prod2 '.
VALUES-VAL1 = 0.
VALUES-VAL2 = 5.
VALUES-VAL3 = 2.
VALUES-VAL4 = 5.
APPEND VALUES.
COLUMN_TEXTS-COLTXT = 'time1'.
APPEND COLUMN_TEXTS.
COLUMN_TEXTS-COLTXT = 'time2'.
APPEND COLUMN_TEXTS.
COLUMN_TEXTS-COLTXT = 'time3'.
APPEND COLUMN_TEXTS.
COLUMN_TEXTS-COLTXT = 'time4'.
APPEND COLUMN_TEXTS.
CALL FUNCTION 'GFW_PRES_SHOW'
EXPORTING
CONTAINER = 'CONTAINER'
PRESENTATION_TYPE = GFW_PRESTYPE_LINES
TABLES
VALUES = VALUES
COLUMN_TEXTS = COLUMN_TEXTS
EXCEPTIONS
ERROR_OCCURRED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " STATUS_1000 OUTPUT
MODULE USER_COMMAND_1000 INPUT
MODULE USER_COMMAND_1000 INPUT.
OK_CODE = SY-UCOMM.
SAVE_OK = OK_CODE.
CASE SAVE_OK.
WHEN 'EXIT' OR 'BACK'.
LEAVE PROGRAM.
WHEN 'PRINT'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
DESTINATION = 'LOCA'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'Test NEW-PAGE PRINT ON'
IMMEDIATELY = 'X'
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = ' '
IMPORTING
OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID = 'X'.
NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
WRITE / 'First line'.
ENDIF.
NOTE : Following code is tried and not printing anything so commented **********
WHEN 'PRINT'.
data : lv_program type sy-repid,
lv_dynnr type sy-dynnr.
lv_program = sy-repid.
lv_dynnr = sy-dynnr.
CALL FUNCTION 'RS_SCRP_PRINT_IN_LIST'
EXPORTING
dynnr = lv_dynnr
Progname = lv_program
fullscr = 'X'
EXCEPTIONS
cancelled = 1
not_found = 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
Now, Iam getting a print out like
SAP logo printed with stars and with all the parameters I have passed to the function module
Iam not getting the graph as my output. I have tried another code calling 'RS_SCRP_PRINT_IN_LIST'. It is not even giving me any reply. The screen just blinks one time when I press the print button on the screen when I use the commented code function module.
I just want to print a graph in the screen container. Should I have to convert the screen graph as a list ?
Then how to do it. Post the complete code of any possible help. Please help me with this and keep my thanks in advance.I don't want to use hard copy.please go through the link here it was give the step .. first you have to create the short cut of the sap desktop ......
<a href="http://">http://www.sapdevelopment.co.uk/tips/debug/debug_popup.htm</a>
reward points if it is usefull ...
Girish -
How to print CWiGraph control in white background and different font?
I have a CWiGraph control in dialog. I look at your example for printing the CWiGraph control, but I don't want print the exact image like showing on the screen, I like to print the graph in white background, not the same color like graph frame and plot area on the screen. Also I want to change a label font to show on the paper. How to do that?
Thanks.
mliuFirst_knight wrote:
please tell me am i thinking right
about this method: setImageableArea(.....)
public void setImageableArea(double x, double y, double width, double height);
like I said, I've tried this method and it doesn't seem to do anything.
the width=the JFrame Width,the height=the JFrame Height right?actually, when printing, 72 points (printing version of pixels) = 1 inch, so to do WYSIWYG, you need width = JFrameWidth * 72.0 / Toolkit.getToolkit().getScreenResolution. Ditto with height
upper left beginningx(0)---------------------------200--------------------------------600-----------------------------------y(1000)upper right beginningyou need to do something like PageSetup.getImageableX and do Graphics.translate(x,y);
also, if your page width = 720, that = 10 inches - that's a wide page (unless its in landscape)
so if i want the JFrame To Be In The Center Of The Page I Would Choose From x=200 ,y=600 depending that frame width is 400Actually, it would be 300 - 700 in your example
Because when i tried to use:setImageableArea(200, 600, 400, 200);like the above code
no changes occurs in the printed paperYes. You need to offset the Graphics object -
Hello,
I'm trying to print an xy graph to a printer in landscape mode with labview 6.0.2.
what i did is:
1) created vi containg the xy graph that in his VI property (printing Options) i checed the"Automatically Print Panel Evry Time VI Completes Exexution"
2) when i want to print the graph i send data to it, open his front panel and then close it.
3) changed in "printer and fax" the printer proparty to landscape
4) in the menu of the vi graph in "print page" i change also to landscape.
what i got is a cramped graph but not in landscape but in portrite.
please help me to print in landscape.
Thanks
Barak.Attached is a zip archive containing some vis showing how I print things. You'll notice that the VI that does the printing has two inputs: the data to be displayed and a reference to the graph that is going to be printed. The reference allows you to modify plot parameters on the fly. For example, change the names of one of the plots in the legend and the name will also change on the printout.
This technique allows you to print a front panel without going to the trouble of having to open the subvis front panel, print it and then close it again.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
print_demo.zip 52 KB -
How to print a plot with two colors Without using two plots
Hello everybody,
Escuse my English (poor Frenchies....)
I'm working with VB6 and I will need to print a plot with two colors (Some values greater than a trigger for example, ...)
I was looking for some help to discover if that thing is possible without using another plot, this is what I'm already doing, and it do not satisfy me (and my boss....)..
Thank for your Help.
JulienHi Julien,
I have found on the different link to make that you want.
This first link is on National Instrument site, the first is general, and second provided information about : How Can I Programmatically Print Out a ComponentWorks Graph Object?.
http://digital.ni.com/public.nsf/websearch/81D87CB2A5BF6C11862569E4008240FE?OpenDocument
http://digital.ni.com/public.nsf/websearch/dc3430165bc916c586256317006f8cc9
Links below are on the web, and explain how do you can print a graph on Visual Basic. (the first is French link )
http://khany.developpez.com/tutoriel/mschart/
http://www.programmersheaven.com/zone1/cat378/18546.htm
Regards,
Message Edité par Christophe S. le 12-27-2005 01:51 PM
Christophe S.
FSE East of France І Certified LabVIEW Associate Developer І National Instruments France -
How to create statistical graph?
Could any of you give me some suggestion on how to create statistical graph (line)?
Is there any documentation or reference about this?
Thank you so much for your help.I would like to create a chart using swing.
The chart is a line plot and it should be able to be printed.
Could you give me some suggestion?
Thank you very much. -
How to print a HTML file in browser look using DocPrintJob
Hello guys,
Does anyone know how to print HTML output/file into browser look?
I'm using DocPrintJob and the DocFlavor set to DocFlavor.INPUT_STREAM.AUTOSENSE.
posted below is my code :
public class BasicPrint {
public static void main(String[] args) {
try {
// Open the image file
String testData = "C:/new_page_1.html";
InputStream is = new BufferedInputStream(new FileInputStream(testData));
DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
// Find the default service
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
System.out.println(service);
// Create the print job
DocPrintJob job = service.createPrintJob();
Doc doc= new SimpleDoc(is, flavor, null);
// Monitor print job events; for the implementation of PrintJobWatcher,
// see e702 Determining When a Print Job Has Finished
PrintJobWatcher pjDone = new PrintJobWatcher(job);
// Print it
job.print(doc, null);
// Wait for the print job to be done
pjDone.waitForDone();
// It is now safe to close the input stream
is.close();
} catch (PrintException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
static class PrintJobWatcher {
// true iff it is safe to close the print job's input stream
boolean done = false;
PrintJobWatcher(DocPrintJob job) {
// Add a listener to the print job
job.addPrintJobListener(new PrintJobAdapter() {
public void printJobCanceled(PrintJobEvent pje) {
allDone();
public void printJobCompleted(PrintJobEvent pje) {
allDone();
public void printJobFailed(PrintJobEvent pje) {
allDone();
public void printJobNoMoreEvents(PrintJobEvent pje) {
allDone();
void allDone() {
synchronized (PrintJobWatcher.this) {
done = true;
PrintJobWatcher.this.notify();
public synchronized void waitForDone() {
try {
while (!done) {
wait();
} catch (InterruptedException e) {
}the printed ouput for this code will be look like this
<html>
<body>
<div style="page-break-after:'always';
background-color:#EEEEEE;
width:400;
height:70">
testPrint</div>
ABCDEFGHIJK<p>
</p>
</body>
</html>however, the output that i want is the HTML in browser look not HTML code itself.
i've tried to change the DocFlavor into any TEXT_HTML type but it gives error:
sun.print.PrintJobFlavorException: invalid flavor if you guys has any idea or solution, can you share with me... already search in Google but still not found any solution
Thanks in advanced.hi,
do the following
URL url = null;
try
url = new URL("http://www.xyz.com");
catch (MalformedURLException e)
System.out.println("URL not correct " + e.toString());
if (url != null)
getAppletContext().showDocument(url,"_blank"); //shows the page in a new unnamed top level browser instance.
}hope that helpz
cheerz
ynkrish -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
How to print the superscript in smartform
Hi gurus,
Please tell me the procedure how to print the superscript in middle of the text displaying?
when we are displaying the smartform its converted to some special character like & .
please let me know procedure at the earliest
Regards
RajHi thanks for ur patience.
see my requirment was to print TM as superscript for HLL ,already smartstyle is there, and also a character format with superscript is also defined.
then aftet HLL how it prints as superscript.
for HLL we are using another character format and for superscript we are using the another character format.
If posiible send me the code to write in smartforms
Regards
RAj
Points are awarded for useful answers. -
How to print the script in condensed mode
Hi to all,
Pls help me.
How to print the script in condensed mode and particular window only print in the condensed mode.Hi,
Hi
It will remove the blank spaces in front of the variable
and if you use the extension NO-GAPS
It will remove all the blank spaces in the variable field.
DATA: ws_val1 type char12.
ws_val1 = ' 100 123'.
Condense ws_val1.
Write / ws_val1.
Condense ws_val1 no-gaps.
write / ws_val1.
It will give output as
100 123
100123
The CONDENSE statement deletes redundant spaces from a string:
CONDENSE c NO-GAPS.
This statement removes any leading blanks in the field c and replaces other sequences of blanks by exactly one blank. The result is a left-justified sequence of words, each separated by one blank. If the addition NO-GAPS is specified, all blanks are removed.
Please check this link for sample code.
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb33e6358411d1829f0000e829fbfe/content.htm
Regards,
Raj. -
How to print all columns in one page
Hi,
Can anybody explain me how to print all columns in one page.we have around 15 to 20 columns for 4 reports and all these reports are build on one multiprovider.we are using BW 3.5.
Can anyone explain me how to print ALL COLUMNS IN ONE PAGE .currently they are getting all columns in 2 to 3 pages. They are using PORTAL to run the reports here.
Is it possible to do by customizing Webtemplate or by macros in Workbook.Please help me
Edited by: kotha123 on Oct 11, 2010 5:58 PMHi,
Your best bet is to use a workbook template or else Excel to pdf option...Thanks
Maybe you are looking for
-
I have done the resets of the networks but still facing the problem.
-
Error while running the SAP JCO java program running via command line
Hi, We are facing an issue while using SAP JCO. When i try to run the sample program using RAD 8.0 ( IBM IDE tool For Java Development) its working fine. The same sample program if i try to run using command line, Then its giving below exception
-
HT4113 how do i unlock a disabled ipod touch?
how do i unlock a disabled ipod touch
-
Upgrade from photoshop cs3 extended to photoshop cs5 photoshop
I am trying to upgrade from Adobe photoshop cs3 extended to Adobe photoshop cs5 extended and when I tried to put in serial number to install upgraded photoshop cs5 is did okay but it asked for the serial number from previous photosho p cs3 I get this
-
[Ai CS4 vs iD CS4 - MAC]
Hola a todos. Me pasan un nuevo proyecto. Un dossier de varias páginas que hicieron mis compañeros hace unos años en Freehand y hay que actualizarlo. Mi duda es las siguiente. Illustrator o Indesign. Ahora con los diferentes espacios de trabajo que o