Error in PDF report
Hi experts!!
I'm trying to get the deductions certificate (RPC190E0) in PDF format.
If we customize to get this certificate in SAPSCRIPT (table V_T799BSFT) the result is correct.
But if we customize to get this certificate in PDF when we run the report we get this error:
Device type unsuitable for ADS documents
Message no: SPADS011
Kind regards,
Julian
Julian,
Talk to your system guy, Adobe Document Server (ADS) need to be setup correctly in your landscape.
Further help on printer configuration for ADS
[http://help.sap.com/saphelp_nw70/helpdata/en/25/6fa8fd27837846990a7a6813b06f80/content.htm]
Your message is probably issued after evaluation of the following function:
CALL FUNCTION 'ADS_GET_DEVTYPE_ATTRIBUTES'
EXPORTING
prtype = prts-type
IMPORTING
adstype = adstype.
IF adstype IS INITIAL.
sy-subrc = 3.
MESSAGE s011.
RETURN.
ENDIF.
So you can always debug and check what parameter is missing.
I have had the same problem in the past, talked with my system guy who solved it out.... misconfiguration of printers...
Hope it helps.
Regards.
Similar Messages
-
Error in pdf report...pls give me a solution on this
hi all....
i did a small pdf report program...checked successfully but the error in exception comes when executing after the selection screen(when write my report name)...
it says...the exception is:in the function get_print_parameters,the structure parameter "in_archieve_parameters" is typed in such a way that only actual parameters are allowed,which are compatible in unicode w.r.t the fragment view, however the specified one has an incompatible fragment view....
pls rectify...is it any other work i've to do in setting printers info????
expecting ur reply....Hi sankar,
I use it in this way and i don't have any problems (ECC6).
DATA: BEGIN OF ITAB OCCURS 0,
TEXT(72),
END OF ITAB.
DATA: PDF_FILESIZE TYPE I.
DATA: BIN_FILESIZE TYPE I.
DATA: PARAMS LIKE PRI_PARAMS,
VALID TYPE C.
DATA: SPOOL_NR LIKE TSP01-RQIDENT,
SPOOL_NR_DEL LIKE TSP01_SP0R-RQID_CHAR.
DATA: BEGIN OF PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF PDF_OUTPUT.
DATA: DATEI TYPE STRING VALUE 'C:\TESTPDF.PDF'.
DATA: RC TYPE I.
START-OF-SELECTION.
READ REPORT 'ZGRO_ITAB_PDF_SPOOL' INTO ITAB.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
DESTINATION = 'LOCA'
LINE_SIZE = 080
IMMEDIATELY = ' '
NO_DIALOG = 'X'
IMPORTING
OUT_PARAMETERS = PARAMS
VALID = VALID.
CHECK VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG NO-TITLE NO-HEADING.
LOOP AT ITAB.
WRITE:/ ITAB.
ENDLOOP.
NEW-PAGE PRINT OFF.
SPOOL_NR = SY-SPONO.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = SPOOL_NR
IMPORTING
PDF_BYTECOUNT = PDF_FILESIZE
TABLES
PDF = PDF_OUTPUT.
SPOOL_NR_DEL = SPOOL_NR.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = SPOOL_NR_DEL.
BIN_FILESIZE = PDF_FILESIZE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
BIN_FILESIZE = BIN_FILESIZE
FILENAME = DATEI
FILETYPE = 'BIN'
CHANGING
DATA_TAB = PDF_OUTPUT[].
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
DOCUMENT = DATEI.
END-OF-SELECTION.
Regards, Dieter -
Adobe Reader error with PDF reports created using AS Reports Server 10g
Hi,
Recently when trying to run reports in our system (which uses Oracle Application Server Forms & Reports Services 10g - 10.1.2.0.2), sometimes when we try to run a report in PDF format the following happens:
1. A new window appears as expected
2. This window hangs/appears to try to load for a couple of minutes
3. Eventually an Adobe Reader error message appears saying the following:
*"There is a problem With Adobe Acrobat/Reader. Please exit Adobe Acrobat/Reader and try again".*
I have noticed that this problem only seems to occur when the client has Adobe Reader 9.3 installed (8.2 works fine).
Has anyone else encountered this problem? Is there a known workaround or is this a known issue?
Many thanks,
ChrisDoes anyone have any ideas on this or has anyone encountered the same problem?
thanks -
Sir,
I am receiving a "error reading pdf report" while submitting for digital signature. Please tell me how I can over come the issue.
Regards,
N. MuraleedharanHello Nagai,
I think you are not maintaining the description in the member of the dimension. Please check the description in the member .
Thanks.
With regards,
Anand Kumar -
Error only in PDF report generation not HTML
The same report exports fine in HTML. This only happens when exporting a PDF report:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 26---- Error code:-2147467259 Error code name:failed
The application was developed by our developer team and it is hosted in a Windows Server 2008 R2.
Does someone had the same problem ?
Thank you.We solved but not so sure about the cause.
It had something to do with character encoding in PDF reports.
Thank you for all that read the question. -
Crystal Report 11 PDF report display error in IE9, Chrome and Firefox 4
Hi,
We have developed a Java EE application using Crystal Server 11.0 (Copyright © 2004 Business Objects) to generate PDF reports. All working well for the past few years on IE6 and IE7 under Windows XP Pro until we started to upgrade to Windows 7 and IE9.
When trying to run the reports it will have the error message as follow:
File does not begin with '%PDF-%'.
LocalEWH3zy-d@i4
I also tested on Chrome and Firefox 4 under Windows XP and it got the same error message. It seems like the PDF generated by the aged Crystal Server have some issues with the latest browsers.
Thanks.
-RongHi Ted, thank you for your response, but the previous post is actually the result of IE6, which is working fine. I confused myself alone the way.
Here is the result of Chrome. It says "Information is needed before this report can be processed". The Content-Type is PDF, but the browser is looking for something before accepting this PDF file. The PDF file itself is not in the response stream.
Thanks.
-Rong
HTTP/1.1 200 OK
Set-Cookie: VIEWINGCOOKIE=RCOOKIE=21502&apstoken=HHSBOCRDEV.MCGOV.ORG%4036895Jdmt8DE9K7cjit6v36893Juxw5UPgLytArc9W&promptonrefresh=0&language=en_US
Content-Type: application/pdf
Transfer-Encoding: chunked
Date: Thu, 06 Oct 2011 14:20:17 GMT
Server: Apache-Coyote/1.1
bd
A�=�6Information is needed before this report can be processed.�A� � A� pl�Enter p:���� ������ ���B� � A� � A�Iapstoken�HHSBOCRDEV.MCGOV.ORG@36895Jdmt8DE9K7cjit6v36893Juxw5UPgLytArc9W�B �
0 -
Error while opening report in pdf through OAF.
This is my first report through OAF and I followed a couple threads discussed on this but I am unable to debug this problem
Requirement - User clicks the image and is prompted to open/save pdf result file.It doesnt take any user parameters
Error is : I get prompted to open/save the pdf file . I click on Open or Save it and then Open, it gives me the following error :
'could not open because it either is not a supported file or because the file has been damaged(for example , it was sent as an email attachement and wasnt correctly decoded)'
Steps taken so far :
1. Created VO with query select a,b,c from Table A
2. Created a simple xml page, with a torch image : Set Action Type and Event property of the Torch Image Item to FireAction and GenerateReport
3. Wrote the code in CO and AM to get the data in XMLNode.
4. I did SOPs , copypasted the xml in notepad saved it as xml, loaded in MSWord and created a template.Viewing pdf generates a pdf here on this data
5. With "XML Publisher Administrator" Responsibility, I created Data Definition and Template Definition.
6. I deployed all the files on server and ran the report. It prompts me to open the pdf but it seems corrupted. In Jserv.log, xml gets printed through SOPs.
One thing I noticed is: <?xml version="1.0"?> is missing from xml.
please assist me , what am I missing here ?
Thanks a lot.
My CO code :
public class EmpCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
private static final String APP_NAME = "AK";
private static final String TEMPLATE_CODE = "Emp_Template";
private static final int BUFFER_SIZE = 32000;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
am.invokeMethod("initEmpVO");
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
if("GenerateReport".equals(event))
System.out.println("user clicked the pencil");
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
System.out.println(" xml data");
System.out.println(outputStream.toString()); //outputs the xml correctly
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
System.out.println("1**");
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
System.out.println("2**");
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext(),// AppsContext
"AK",// Application short name of the template
TEMPLATE_CODE,// Template code of the template
"en", //language code of the template
"US",//Country Code
inputStream, //// XML data for the template
TemplateHelper.OUTPUT_TYPE_PDF,//Output type of processed document
null, //Properties
pdfFile); //OutputStream where the processed data goes
System.out.println("3**"); //doesnt print and goes in catch block
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
System.out.println("4**");
response.setContentLength(b.length);
System.out.println("5**");
os.write(b, 0, b.length);
System.out.println("6**");
os.flush();
System.out.println("7**");
os.close();
System.out.println("8**");
catch(Exception e)
System.out.println("9**");
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
System.out.println("10**");
pageContext.setDocumentRendered(false);
System.out.println("11**");
///////////////------it prints only 1**, 2** and goes in catch block to print 9**
AM Code :
public void initEmpVO()
EmpVOImpl vo = getEmpVO1();
if(vo == null)
{ MessageToken errTokens[] = { new MessageToken("OBJECT_NAME", "EmpVO1") };
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
} else
{ vo.executeQuery(); }
public XMLNode getEmpDataXML()
OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
return xmlNode;
}Hi,
Basically the reason for this is that your "PDF file" is not populated with the correct pdf structure that Adobe recognizes (i.e. save the file and look at it in notepad, you'll see it's probably in html or a java stack trace). 2 reason's this happens
1.You do not have the necessary library files attached to your project i.e. for XMLPublisher you will need $JAVA_TOP/oracle/apps/fnd/* and $JAVA_TOP/oracle/apps/xdo/*. Zip these up and add them to your libraries section of your project.
2. Your XML Publisher properties are not configured correctly. (usually causes a blank file) To change this go to (E-Business Suite>XML Publisher Administrator>Administration>General>Temporary Directory). Depending on what your doing you will need to point this to either a server location or a local location. i.e. when uploading defintion/template and previewing it requires a server-side location to generate a temporary file for the preview, when running a jdeveloper project it will look for a local directory to generate the temporary file. If it cannot find the directory it will throw an error to System.out, and send the HttpServletResponse container a 0bytes file. For local development on a windows box I suggest setting the "Temporary Directory" to something like "C:\oracle" and ensure that folder exists.
Hope this helps
Brad -
RWI 00236 error while opening report in PDF mode
Hi All,
I'm getting the RWI 00236 error while the report is opened in PDF mode.I have searched on this error but couldn't got the answer so far.My report is quite a large one and i wont get any error while running simple reps.If this is something to do with temp files deletion at server side ,pls let me know which temp files needs to be deleted bcoz there quite few temp files at server level.Ofter getting this error msg ,the report browser hangs up and i needs to logout completely from infoview.
Im using BO X1r2 version and service pack is SP4.Hi,
Are you able to open other reports in PDF Mode or not
If you are not able to open any report in PDF format then try to follow below mentioned steps.
1. Open Adobe Acrobat Reader. Click Edit > Preferences.
2. Click Internet in the Categories column of the Preferences property sheet.
3. Choose Display PDF in browser check box as shown below.
4. Click Ok, Adobe will reconfigure the setting, close Reader.
5. Now, when we view in pdf format in IE, we might see one message
6. So, when IE is launched, go to Tools>Manage Add-ons>Enable or Disable Add-ons and then enable
"Adobe PDF Reader Link Helper" add-on. Click Ok, restart IE.
Cheers,
Suresh Aluri. -
My code not give error nut not give pdf report output
hi master
sir see my code not give error nut not give pdf report output
String reportSource = "./WEB-INF/reports/mfa.jasper";
String reportDest = "./reports/mfa1.html";
Connection conn = null ;
Statement msqlStatement = null ;
ResultSet mrs = null ;
Connection mconn = null ;
ExternalContext econtext = getExternalContext();
InputStream stream = econtext.getResourceAsStream(reportSource);
if (stream == null) {
throw new IllegalArgumentException("Unknown report name '" + reportSource
+ "' requested");
try {
String mfat = ac_categoryDataProvider.getCachedRowSet().getDataSourceName();
javax.naming.Context mctx = new javax.naming.InitialContext() ;
DataSource mds = (DataSource)mctx.lookup(mfat);
Connection mcon= mds.getConnection();
mcon.setAutoCommit(false) ;
JasperPrint jasperPrint = null;
//getSessionBean1().getTripRowSet(),
//getSessionBean1().getAc_categoryRowSet(), mfat getSessionBean1().getAc_categoryRowSet()
jasperPrint = JasperFillManager.fillReport(stream, null,mcon);
JRExporter exporter = null;
HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
FacesContext fcontext = FacesContext.getCurrentInstance();
exporter = new JRPdfExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
response.getOutputStream());
exporter.exportReport();
fcontext.responseComplete();
} catch (Exception ex) {
log(" Error Description" , ex);
error("Error counting rows: " + ex.getMessage() );
error("Error counting rows: " + ex );
please give me idea
thank's
aamirThanks Sven.
The query works but the other way. The output is for all the targets, not for the respective target which we select from :p1_target.
select target_name,target_type, column_label,
warning_threshold,critical_threshold,occurrence_count
from sysman.MGMT$TARGET_METRIC_SETTINGS@crmodem
where target_name in (select MEMBER_TARGET_NAME from MGMT$TARGET_FLAT_MEMBERS@crmodem
where upper(AGGREGATE_TARGET_NAME) like '%X' || :P1_TARGET || '%')
Thanks again. -
hi,
I have Installed Oracle Apex 3.1.1
in Linux server 4.5,Database is 10.2.0.1
We created sample doc for "How to Create a Master Detail PDF Report"
But we got a error "ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified."
Pls help me..
Thanks
Murali.RDouble check this document
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
esspecially: 4.3 Configuring Application Express to use BI Publisher
Kind regards,
Iloon -
Batch PDF Reports raising error REP-3002: Error initializing printer.
We are running Reports 6.0 in Windows NT 4.0. When run manually the PDF reports are able to see the PostScript Print Driver and generates PDF output. We have a batch job on the NT that gets kicked off from the Mainframe via XPATH, which spawns multiple report processes as needed to run the PDF reports. We get the error "REP-3002: Error initializing printer." under this scenario.
Any help to resolve this will be appreciated.
Thanks,
BabuHi,
i've changed to use RUN_REPORT_OBJECT as your advice and followed the instructions in "Oracle Reports Remote Printing Utility - An Oracle Technical White Paper December 2000". i tested orarrp by created the HTML file follow the steps in page 5 of the paper, it worked.
then i modified existed form, set report object property like this :
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'test.rrpa');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_NTSERVER2');
note : i'm not sure that i set the right value for REPORT_SERVER property, i got this value from TNSNAMES.ORA file.
then call the report with this statement :
:GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
it showed the same error message :
"REP-3002 Error initializing printer. Please make sure a printer is installed."
i think i set something wrong, but i don't know where. could you help me ?
Hunsa -
I have a access 2013 database. I am trying to automate generation of 3K+ pdf reports. I have the following code. It was working in a previous iteration of the code pictured here, but due to some "illegal" characters, was canceling
the outputTo command lines due to those characters. i.e. mostly / chars. So, I wanted to trap those errors and write them to a table, I added the on error statement. It works for the first record with an illegal character, but second time
around it cancels the outputTo command. What am I doing wrong?
Private Sub OutputAll_Click()
DoCmd.GoToRecord , , acFirst
Dim V_Counter
V_Counter = 1
Me.Counter = V_Counter
Do While V_Counter <= 20
On Error GoTo FirstReportError
DoCmd.OutputTo acOutputReport, "NoMeasurementsIPReportForQualityPreview", acFormatPDF, "c:\PDFFiles\" & Me.IPKey
GoTo NoFirstFeportError
FirstReportError:
DoCmd.OpenForm "IPKeyErrorsForm"
Forms!IpKeyErrorsForm.IpKeyError = Me.IPKey
DoCmd.Close acForm, "IPKeyErrorsForm"
DoEvents
GoTo SkipSecondReportDueToError
NoFirstFeportError:
DoCmd.OutputTo acOutputReport, "NoMeasurementsIPReportForQualityPreviewProductionVersion", acFormatPDF, "c:\PDFFiles\" & Me.IPKey & "_ProductionVersion"
DoEvents
SkipSecondReportDueToError:
DoCmd.GoToRecord , , acNext
V_Counter = V_Counter + 1
Me.Counter = V_Counter
Loop
End Sub
IPKey on this report is:
00-5901-981-02_STYLUS BAR 4/6 MM_100_DHans,
Thanks again for your timely response. It is now sort of working, but I must be missing one important piece. Here is what I have.
Private Sub OutputAll_Click()
DoCmd.GoToRecord , , acFirst 'Go to the first record
Dim V_Counter
V_Counter = 1
Me.Counter = V_Counter
Do While V_Counter <= 739
If V_Counter = 739 Then
MsgBox "Counter is 739"
End If
On Error GoTo FirstReportError
DoCmd.OutputTo acOutputReport, "NoMeasurementsIPReportForQualityPreview", acFormatPDF, "C:\PDFFiles\" & Me.IPKey & ".pdf"
Resume NoFirstReportError
FirstReportError:
DoCmd.OpenForm "IPKeyErrorsForm"
Forms!IpKeyErrorsForm.IpKeyError = Me.IPKey
DoCmd.Close acForm, "IPKeyErrorsForm"
DoEvents
Resume SkipSecondReportDueToError
NoFirstReportError:
DoCmd.OutputTo acOutputReport, "NoMeasurementsIPReportForQualityPreviewProductionVersion", acFormatPDF, "c:\PDFFiles\" & Me.IPKey & "_ProductionVersion" & ".pdf"
DoEvents
SkipSecondReportDueToError:
DoCmd.GoToRecord , , acNext
V_Counter = V_Counter + 1
Me.Counter = V_Counter
Loop
Done:
End Sub
Only problem is, it does the code after the label "FirstReportError" every time. What am I missing? -
Report Logo - Displays on HTML, not on PDF report (Apex report_)
Hi Gurus.
I thought I'd report this here, as we are having a BI Publisher error, and I'm not getting any help on the Apex subforum.
+We have a system environment setup where we have BI Publisher Enterprise and Apex 3.1.2 talking together to create PDF reports on a Oracle 10g database (R2 I think, I'm uncertain). As part of a business requirement, depending on what project you are looking at within our apex application, when printing a report you see a logo specific to the project. We have already developed this using a RTF template with a dummy image embedded, and url:{concat(.//URL,.//PROJECT_ID)} in the Alternative Text field of the Web tab of the Format Picture dialogue.+
This worked fine when using the RTF templates as Report Layouts within Apex and as templates within a BI Publisher report.
However, now logos aren't appearing.
We are on BIP 10.1.3.2 according to the Help File, and we are running Apex 3.1.2.00.02 on Dev and Apex 3.1.1.00.09 on test and prod, however none of these environments are outputting logos in the PDF reports.
Curiously, if I go into the BI Publisher interface and ask for the report to be outputted as HTML, the image shows. Running the HTML version of the report from Apex also shows the logo -- but the logo isn't showing in the PDF reports.
As I continue trouble shooting, any assistance would be greatly appreciated.If anyone could give us any insight on this, it would be appriciated.
I'm unsure if its a permissions problem with the PDF seeing the image, or something related to server setup. We currently have a redirect in place to production that doesn't include the :7777 in the URL, and for some reason, if the G_URL for the image is changed to this portless URL, the image is embedded. However, this redirect was in place for another application, and will soon be locked down, so is not available for a long term solution to this problem -
PDF report generation fails with v7.01
I have software that generates a PDF report. I upgraded FireFox to v7.01 and I now get an error that the printer is not activated even though I am saving the report to a disc file and not printing it. Any ideas or suggestions are appreciated.
I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
Thanks for the advice.
Mike -
Control the page height and page width of pdf report using pasta_pdf.cfg
Hi All,
I've followed the note: 338990.1 (how to print publisher PDF reports via the concurrent manager) in metalink to print a PDF REPORT. Everything work fine except the page height and page width is used as default (8X11). Is there anyway that i can custom page height and page width size such as: legal (8.5X14).
current set up in pasta_pdf.cfg
[DEFAULT]
%% ============== Preprocessing Command ==================== %%
% Pasta can use a preprocessing command to invoke any executable
% that supports an input file and an output file (a filter program).
% You can use redirection. Pasta will invoke the filter program
% to preprocess the Pasta output before passing it to the printing
% command. By using the preprocess option, you can generate output
% formats other than the formats Pasta currently supports. For
% example, you can generate PCL output.
% You can use {infile} and {outfile} in this option.
% {infile} is the output file generated by Pasta. You can use
% it as input for the preprocessing command. It is a temporary
% file and will be deleted after being passed to the
% preprocessing command. {outfile} is the output file generated
% by the preprocessing command. Pasta names it temporarily and
% it will be deleted after being passed to the printing command.
% If you want to keep it, you can name it by using the '-o'
% command line option. Pasta will copy {outfile} to the file you
% specify.
% Preprocess for PDF output
% This is an example for PDF output to print.
; Xpdf
preprocess=/usr/local/bin/pdftops {infile} {outfile}
; Ghost Script
; preprocess=pdf2ps {infile} {outfile}
; Acrobat
; preprocess=acroread -toPostScript -pairs {infile} {outfile}
%% ============== Printing Command ========================= %%
% You can specify the printing command and options you want
% to use to print your report. Pasta will pass the final output
% to this command. {printername} will be replaced by the
% actual printer name passed through the command line option
% (-pn), so in most cases you don't have to change these
% options.
% for UNIX platform
printCommand=lp -c -d{printername}
% for Windows platform
ntPrintCommand=print /D:{printername}
%% ============== Error Log File =========================== %%
% This tells Pasta to create a log file. The default error
% output is stderr.
;errorlogfile=pasta.log
NOTE: pasta version 3.0.4
form server 6.0.8.27.0
third party tool is pdftops
Thanks
Kevini think that can be down from the printing direver/styles/prt files when you added the printer at your apps system check the follwoign for more info.
( How to Implement Printing for Oracle Applications: Getting Started )
Note:269129.1
(Step By Step Guide to Set Up a Printer in Oracle Applications)
( Note:60936.1)
fadi
http://oracle-magic.blogspot.com
Maybe you are looking for
-
I have a mobileconfig file and the VPNType is L2TP . How can i connect to this VPN programatically in IOS8 ?Apple's Network/Extension framework has methods which supports IPSEC and IKEV2 protocols(NEVPNProtocolIPSec, NEVPNProtocolIKEv2). Can i use Ne
-
Error while running "runInstaller" in RHEL4 / Oracle 9204
[oracle@RH9 oracle]$ /mnt/oracle/Disk1/runInstaller [oracle@RH9 oracle]$ Initializing Java Virtual Machine from /tmp/OraInstall2004-07-21_09-21-45AM/jre/bin/java. Please wait... Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
-
I recently upgraded to 10.5 (now 10.5.7), and I have the CS2 Creative Suite. My Illiustrator seems to work fine, but my Photoshop will not open. Any patches or solutions? I can fine CS3 help on Adobe.com, but none for CS2 regarding Illustrator.
-
I have updated to IOS 8.3 yesterday. Since then, I have problem connecting to internet. My Iphone 6 is showing "no service" for coverage status. Why?
-
I recently updated my OS to OS X. I had to update my word and powerpoint etc... to 2011 version, but now when I want to open a .doc file made in word 2003 it removes all the text in it! I did not back anything up! All my mums work is on there for her