Home » Developer & Programmer » Forms » Printing from Custom.pll (Oracle EBS (R12))
Printing from Custom.pll [message #529193] |
Sat, 29 October 2011 10:43 |
![](//www.gravatar.com/avatar/8f05e1ffa76c1e1d6703402890a377c9?s=64&d=mm&r=g) |
praveendj09
Messages: 2 Registered: October 2011 Location: United Arab Emirates
|
Junior Member |
|
|
hi ,
i am actually trying to do auto printing from custom.pll using the code below , pls advise me or correct me as it is not working based on the code below and also the specified printer is already registered in the application .
if (event_name = 'ZOOM') then
if (form_name ='ARXRWMAI' and block_name ='RGW_FOLDER') then
l_receipt_num := name_in('RGW_FOLDER.M_RECEIPT_NUMBER');
L_ORG_REC := name_in('RGW_FOLDER.ORG_ID');
L_CUSTOMER := name_in('RGW_FOLDER.CUSTOMER_ID');
l_layout :=fnd_request.add_layout('AR',
'XXAGC_SSE_RV',
'en',
'US',
'PDF');
PRINT_OPTION:=FND_submit.set_print_options('HPLaserjetP2015','Portrait',2,TRUE,'N');
l_request_id := fnd_request.submit_request('AR','XXAGC_SSE_RV','','',FALSE,
L_CUSTOMER ,l_receipt_num,L_ORG_REC,'','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','');
COMMIT;
fnd_message.set_string('Request Submited (Request ID-PRINT1:'||l_request_id||') with RECEIPT_NUM '||l_receipt_num);
fnd_message.show;
end if;
|
|
|
Goto Forum:
Current Time: Sun Feb 09 06:35:54 CST 2025
|