Print Report output on A4 paper
Hi Gurus,
How could I print output of report ie. list to A4 paper.
What settings need to be done. Is it Printer related or ABAP related.
Thank you.
Points guaranteed.
Hi,
DATA:L_PARAMS TYPE PRI_PARAMS,
L_VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
IMMEDIATELY = 'X'
LINE_SIZE = 220
RELEASE = 'X'
MODE = 'CURRENT'
NO_DIALOG = 'X'
IMPORTING
OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = L_PARAMS
VALID = L_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
"But it will take default printer from user settings
NEW-PAGE PRINT ON PARAMETERS L_PARAMS NO DIALOG.
write : 'print is on'.
NEW-PAGE PRINT OFF.
Regards,
Omkar.
Similar Messages
-
Re : how to print report output in DOT MATRIX printer
Hai
how to print report output in DOT MATRIX printer.
Thanks
maniCheck this
[http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm]
also check the SAP Note 129581 -
Printing report output in PDF format
Hi,
I want to know what are the settings needed to print a report output in PDF format, while executing the report from Oracle applications (Ver 11.5.6).
Report is executed as a concurrent request from Oracle applications.
Normally when we run the report from Oracle applications, output will be opened in a internet browser(IE) in HTML format. But I want the output to be opened in PDF format instead of HTML.
OS: Sun Solaris 2.8.
Thanks & Regards,
SarishHi Sarish
Please contact Oracle Support for an answer or to customise your application so that it prints a report output in PDF Format.
To get PDF output you must run report/job with DESFORMAT=PDF in the command line instead of DESFORMAT=HTML/HTMLCSS.
Regards
Sripathy -
Print report output Automatically.
Hi friends
I am using GET_PRINT_PARAMETERS to create an spool request to print the report output automatically once it is displayed on screen, the problem with this FM if I assigned import parameter immediately = 'X' it does not create any spool request.
Is there any other way to automate the printing instead of pushing Pritn Icon on Application toolbar.
Thanks
LakhbirHi,
do this way...
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
<b>IMMEDIATELY = 'X'</b> LINE_SIZE = 220
<b>RELEASE = 'X'</b> MODE = 'CURRENT'
<b> NO_DIALOG = 'X'</b> IMPORTING
* OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = L_PARAMS
VALID = L_VALID
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
ENDIF.
NEW-PAGE PRINT ON PARAMETERS L_PARAMS <b>NO DIALOG</b>.
"you can start your write statements here...
PERFORM DISPLAY_DATA.
NEW-PAGE PRINT OFF.
This will automatically prints the report
Regards
vijay -
Print Report Output in PDF Format
:-) Hiee E'body
I generated the output of a Report(developed in Report Builder 6i) in PDF format.
The output file is created properly and the PDF file gets displayed on the screen in proper format but when i try to print the PDF file it gets printed across the page instead of printing
it straight.
I have checked all page and printer settings but cannot find the reason for this.
If anybody is aware of the solution to this problem please guide me for the same.
Have a nice day !!
Thanking You ..
Vivek Kapoorhello,
sounds like you have a problem with portrait/landscape orientation of your document.
regards,
the oracle reports team --pw -
Very Urgent! Print Report output to local printer on button click in form
In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
Environment: Apps 11.5.10.2, Forms 6i
Here is the code that i am using in my custom.pll.
if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
l_order_header_id := Name_In('ORDER.header_id');
select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
select a.profile_option_value
into v_printer_name
from fnd_profile_option_values a
, fnd_profile_options b
, fnd_profile_options_tl c
, fnd_user fu
where a.profile_option_id = b.profile_option_id
and c.profile_option_name = b.profile_option_name
and fu.user_id (+) = a.level_value
and c.language = 'US'
and c.user_profile_option_name='Printer'
and a.level_id = 10003 ;
if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
then
l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
chr(0), '', '', '', '', '', '', '', '', '', '',
end if;
fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
fnd_message.show;
copy('NULL','parameter.ACTIONS');
IF (l_new_request_id = 0) THEN
FND_MESSAGE.RETRIEVE;
FND_MESSAGE.ERROR;
else
l_commit_result := APP_FORM.QuietCommit;
END IF;
I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
Thanks,
SrinivasI solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.
-
Hi Tech Gurus,
Its urgent requirement,assume that you are a end user submitting a request,once it is completed normally the output comes as a hardcopy through a printer.is it possible to configure like this.thanks in advance for ur clarification.
Regards
SamyHi,
To use a printer definition file (used only when running a report on a character-mode platform)
1 Set the DESFORMAT system parameter to the name of the printer definition file.
2 Set DESTYPE to Printer and DESNAME to the name of the printer.
Rincy -
Data missing in printed report output..
Hi All, I use report builder 6i on WINDOWS..When we spool the output in PDF format using rwrun , we get all the data correctly but when the same file is directly sent to a physical printer for prinitng, the bottom margin details don't come on the printout..Could somebody help me out?
Ya , we use margin..and these reports are within the physical printer limit..Is there anything at report setting level which controls the prinout formatting such as zoom or page scaling?Thanx..
-
Saving reports output in PDF or Excel
Hello, I am in the process of developing some oracle reports to run over the web. My question is. When the reports are run over the web how can I save the output in either PDF or Excel. The reports will be called from
a form with parameters passed. I am also having a problem whem the output is shown in htlm it is wrapped. Is there away to stop this data wrapping process from happening?
Thanks,
MorrisHi Ratheesh,
In a previuos posted message I've suggested to Carla close exactly the same you did after. And also did'nt worked.Anyway, just for your info.
Dear Carlangas (as we say in Mexico, with no offense)
Here is a workaround for you...
As I'm not a JSP expert developer in my case I will do next
It seems we are facing a problem with the DESFORMAT=PDF and report out parameter for your jsp report and requiere a jsp/reports experienced developer help or further investigation. I'm not saying it's not possible to generate a PDF output from a jsp report, but for the moment nobody has said how to.
I believe you saved your report in jsp format because you need your users review the report previuosly they may print it.
I also suppose you have a form with a magic button from where you launch your report.
Well I will call your existing button PREVIUOS or will add a nice gif icon and will create another one called PRINT or with a pretty printer .gif icon. This new button will call a RDF version of your report. As you have read is very easy to create PDF format/output report in RDF format.
Also your will need negotiate presentation with your customer. As you must know reports output in a Paper report, PDF, jsp formats are not always exactly the same because they are not simply the same.
Hope this help you. In the meantime you will save time for your investigation for a future release of your report. -
Printing report list output in A4 paper
Hi!
Is it possible to fit the list output of a report having a line-size of 240 into an A4 paper ?...when I was trying to print the output is being cut. Some columns at the right were not printed since all columns do not fit on the paper even on landscape. The system defaults format is X_65_255 which has 65 rows and 255 lines. How can I make it fit an A4 paper?
Thanks in advance!Hi Mervin,
To make printing possible on A4 paper you'll need to define a new output format.
For this use transaction SPAD.
Press the button "Full Administration" (F7).
Select the tab "Device Types".
Press the button "Page formats".
Set the screen in Change Mode (press Change button or F8).
Press the Create button (Shift+F1).
Give a name (starting with Z, like Z_LAND).
Select Orientation "Landscape".
Set papersize width/unit to 255 CH
Set papersize height/unit to 65 LN
Save your work.
Go back to tha SPAD tabpages.
Press the button "Format Types".
Set the screen in Change Mode (press Change button or F8).
Press the Create button (Shift+F1).
Enter in the screen a format name (starting with Z or Y).
Set the format type to type L (Format type for ABAP lists).
Set the page format to your created format (like Z_LAND).
Enter the number of lines that can be printed on A4 (e.g. 65)
Enter the number characters (columns) that can be printed on one row on A4 (e.g. 255).
Give a comprehensive comment.
Save your work.
Go back to tha SPAD tabpages.
Select tab "Devices / servers".
Press the button "Output devices".
Select your printer.
Set the screen in Change Mode (press Change button or F8).
Go to tabpage "Tray info".
Choose the right tray for your selected printer and fill in the previously created page format.
Save your work.
Leave transaction SPAD.
This format can be used to print your reports.
Remove your own printerdefault (Via menu System --> User profile --> Own data, tabpage Defaults).
When printing a dialog appears where you now can choose the modified printer (with modified page settings).
As you can see, this is more of a job the the admin guys.
As a remark: The default page formax X_65_255 should print 255 columns on paper (landscape). Most likely a small character set is used for this. The character size can also be modified (in the same transaction) to fit an entire row.
Hope this gives you a clue where you can influence the way lists are printed.
Regards,
Rob. -
Report output different when sent directly to printer
I have a report that if formated for 8.5 x 11 paper and has an address at the bottom of the page. When the report is generated as a pdf the address is in the corrent postion. When the report is sent directly to a printer from the report server the bottom 2 inches of the report are not printed. If i send the pdf version to the same printer it prints correctly.
Any help with this issue would be greatly appreciated.Thanks for your answer, Ramachandra!
However I need some more specific information to solve this.
Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size? -
Printing ABAP List(Report output - SE38) in A3 format
I have a requirement to print the ABAP report in A3 page format. I am using LP01 printer and in in SPAD transcation I Changed the Tab "Output Attributes"
Paper tray = "Paper tray 3" and Tab "Tray Info" Tray 3 = "DINA3" still the report gets print in A4 page format.
Even i tried by changing the lize size and line count...still .... it prints in A4 format only.
Could you let me know what exactly I need to in order to print my report output in A3 Page format.
Waiting for your reply.
Thanks in Advance,
SteevanHi,
Check this below link
http://www.sap-img.com/basis/how-can-i-print-a3-format-in-sap.htm
Cheers!!
VEnk@ -
Need to Print the Report Output
Hi,
I want to print the report output. How to install a printer in Oracle Appls. If i give number of copies 1 or morethan 1(from SRS Window)...the report is completed-warning. pls advice
Thanks in advance.Hi,
I changed the printer to Epson LQ2170 and Epson LQ2180 but since I don't know the initialization and reset parameter (already search for the manual but couldn't find it, downloaded from Epson's website but couldn't find it either) so I register it with LQ1070. I'd tested to print the reports directly from Reports Builder 6i and it printed just as I wanted to but when I tried to print from oracle apps it only printed up to about 3/4 width of the paper. I tried to change the report's height and width, paper size, orientation but no luck. What should I do? Thanks -
Printing logo with ALV report output?
Hi all,
I have written a sinple program to display a report output in ALV grid format and inserted a logo in it usingh standrad FM. Though the logo is inserted successfully displaying with list , but when i am clicking on print preview the logo is missing.
Please help me on how to print the logo with the list?
Thanks,
Vamshi.Hi Krishna,
-->Firstly go to T-Code OAER.
-->Give Class Name as PICTURES
-->Give Class Type as OT
-->Give Object Key as(watever the name you wish to give)
-->Example key 1000
-->Click on Execute.
Here you will get Standard Document Types.
Select which ever you want i.e., Attachment,Screen,Template ,etc.
Double click on Attchment it will ask you the File on the Desktop.
Upload the image.
Now you can see the Image in the Folder PICTURES.
Now go to the Report.
Function Module 'REUSE_ALV_COMMENTARY_WRITE'.
i_logo = '1000'.
Hope this will Help you.
With Regards,
Sharmishta. -
Printing issue of report output list display
Dear All,
I need to print the report output display list. So, for this I have used the following code. But it's not printing.
Will you please check the below code and kindly let me where should I change/modify in the code.
START-OF-SELECTION.
SET PF-STATUS 'ZGUI_STATUS1'.
END-OF-SELECTION.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'PRNT'.
DATA: l_params TYPE pri_params,
l_valid TYPE c,
l_arc_params TYPE arc_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = l_v_usr01-spld
copies = 1
list_name = 'TEST'
list_text = 'Test NEW-PAGE PRINT ON'
immediately = 'X'
line_size = 220
release = 'X'
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_archive_parameters = l_arc_params
out_parameters = l_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
NEW-PAGE PRINT ON PARAMETERS l_params ARCHIVE PARAMETERS
l_arc_params NO DIALOG.
PERFORM display_data.
NEW-PAGE PRINT OFF.
ENDCASE.
Many Thanks,
RanjanDear Amit,
The font size is not increasing, in-fact, if I use the code like the below, it's not even printing, I am checking different ways,
DATA: lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
rows TYPE pri_params-linsz.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'PRNT'.
lay = 'X_60_85'.
lines = 60.
rows = 85.
DATA: l_params TYPE pri_params,
l_valid TYPE c,
l_arc_params TYPE arc_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = l_v_usr01-spld
destination = 'LPIN'
copies = 1
list_name = 'TEST'
list_text = 'Test NEW-PAGE PRINT ON'
immediately = 'X'
layout = lay
line_count = lines
line_size = rows
line_size = 220
release = 'X'
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_archive_parameters = l_arc_params
out_parameters = l_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
NEW-PAGE PRINT ON PARAMETERS l_params NO DIALOG.
PERFORM display_data.
NEW-PAGE PRINT OFF.
ENDCASE.
Kindly let me know if you have some new answer?
Kind Regards,
Ranjan
Maybe you are looking for
-
I have the new MacBook Pro with Retina Display, and my Apple Mail has always worked just fine. About a week ago, I recieve a message saying "Mail cannot access your mailbox information because it's already in use." The dialogue box gave me the option
-
Nomad Jukebox Zen Xtra FIRMWARE PROBL
In the spring of 2005, I bought a 40GB Nomad Jukebox Sen Xtra. It worked for a little over a month without any problems. Since then, it shuts off on its own and?it freezes. For the first time since I bought it, I attempted to load new music onto it.
-
Mail Setup - Gmail - Show All - Local Folders - IMAP - Yosemite - Am I set up properly?
Hi All I recently moved to Yosemite on a recently acquired rMBP - and after a little fun setting up Mail I seem to be settled in. However whilst experiencing some Mail / Gmail issues (now sorted) I read how other people are setup - and I am now wonde
-
The status bar appears at the bottom corner of the page, covering up ongoing info at the bottom of my pogo game page. If I hover the cursor over top of it, it moves to the other bottom corner....very annoying to have it pop up like that.
-
Error with BW workspaces iView
Hi, I am using the BW workspaces iView in my portal. The portal launches fine but when we try to click any of the buttons we are getting the below error(from the trace). Error looking up url: portal_content/com.sap.pct/every_user/com.sap.pct.erp.comm