[size=134]I work with the GUI and the constructor fCanvas = new TRootEmbeddedCanvs(); gives a canvas without widget which can make it possible to print the contents of the canvas with a printer (hardware).
Can somebody tell me which command I can use in my program to print the canvas on a printer (hardware)? I tested without success all the “Draw” and the “Print” method.[/size]
These are my own settings change them to what you need. Then from any TCanvas you will be able to use the File/Print menu entry. It will send the contain of the canvas to the printer.
[size=125]Thank you for your answer.
perhaps that I was not made understand, I created my one canvas with the GUI, like you can see it in attachement. there is not the toolbar. I dont know if there is a possibility to add toolbar. But what I want is how to introduce in my program , a command which can enable me to print my histogramm on a printer.
I’m using ROOT V.5.17/02 on windows. and this is my stting $ROOTSYS/etc/system.rootrc [/size]
I want to know how to print canvas directly to the printer? I have a printer Epson WF-3640 and I want to print canvas directly. If anyone shares with me the process of printing I became very helpful.