Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html
Hi All,
I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
Can someone help me in this ...
i) Can i configure my printer for this Mime-type , if yes then HOW?
ii) Is there any work around ?
Thank you all in advance :)
I reposted this question in the Database forum. Admin can feel free to delete this thread.
The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
Thanks,
T.
Edited by: 855677 on May 3, 2011 9:35 AM
Similar Messages
-
I can use {idHtmlTag.location} when I want to know the URL which is shown in an HTML-field. I searched a while how to find the mim-type of the HTML-field. but without results
How can I read the mim-type (text/xml or text/html) of the document shown in the HTML-field?look to fm WWW_GET_MIME_OBJECT
and sample program RSDEMO_PICTURE_CONTROL
A. -
Label Printing Using Address Book - How can I Print multiple labels of the same name?
Label Printing Using Address Book - How can I Print multiple labels of the same name?
I used to be able to print multiple copies of the same picture on one page using iphoto. There was a customise button when you went through to print and it was there somewhere. I can't see it anymore - maybe since an upgrade.
It's gone. But as a work-around, duplicate your photo (⌘D) to create as many versions as you want copies and select all at once. Then use the "Custom" print layout and set the photo size you want.
After printing, trash the added versions. -
Running Safari 6.0.3 When trying to print files using Adobe Reader 11.0.02, print preview screen is all black. If files are attached to an email, receiver can't open it. It does work OK in Firefox 19.0.2 Any ideas?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
The cyan color won't print when using our HP Pro 6500 Officejet printer
the cyan color won't print when using our HP Pro 6500 Officejet printer. Can I get help with this?
This doesn't make sense. The printer is exhibiting behavior noticed when a network printer is connected to a laptop while the laptop is connected to a VPN. But in this case, neither the printer is connected on a network, not is the laptop connected to a VPN per se.
Are you sure all the latest drivers for your laptop have been installed? That's pretty much the only thing I can think of right now.
Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
Click on the BLUE KUDOS button on the left to say "Thanks"
I am an ex-HP Employee. -
How to configure add document types in pr
how to configure add document types in pr
Hi
Just check out the following document for Configuring PO doc tpe , PR config is similar to that just need to do selection form PR
[Po doc configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/703cdc83-d604-2c10-c79c-c30eab6c56a8?QuickLink=index&overridelayout=true ] -
PR05: How to configure the expense types depending on the type of expense?
Hi,
We are in the process of upgrade from 4.6C to ECC 6.0. The problem is that when we are creating the expense request, after selecting the type of expense (travel expense or non travel expense) we are getting the same expense types for both the travel and non travel expenses.
Now my question is that, is there any in error in configuring the expense types in transaction FITVFELD.
How to configure the expense types depending on the type of expense (travel and non travel)?
Your answer will be highly appreciated.
Thanks in advance.
RamanaHi
I checked with one of the SUBJECT MATTER EXPERT on T&E and it is not possible to have the expense types based on the schema.
Thanks
Ashok
Award points if this is useful -
Hello All,
I am on BI 4.0 SP6.
I am login to Advance Analysis Office using sso with Authentication : Windows AD, but when i login errors occurs:
Client found response content type of 'text/html;charset=iso-8859-1', but expected 'text/xml'.
The request failed with the error message:
I have done all settings and configuration for SSO as per following notes:
http://service.sap.com/sap/support/notes/1631734
http://service.sap.com/sap/support/notes/1646920
http://service.sap.com/sap/support/notes/1794675
Earlier i was getting Login Exception Error WSE : 99999, i did some changes, after that the above error is coming
Does anybody knows the solution?
KR,
MDrefer the below note
1785270 - How to configure AD SSO for Advance Analysis for MS Office with Business Objects BI 4.0 -
Incorrect content-type found 'text/html'
Hello,
I am trying to print a BI report result from portal. I get the error message "Error while generating PDF".
When I see the detail of the message, I could find the mesage "Incorrect content-type found 'text/html'"
We are using web templates of BI7.0.
I have followed the note 1004321. Nothing happened.
Is this the rite note or am i misdiagnosing the issue?
Please help !
Thanks,
AbhishekDid you change the password?
Maybe a restart of the J2EE engine will solve this (in case you didn't restart it already
cheers,
Noë -
How are Static File mime types determined?
How does APEX determine the mime type for imported static files?
We have a number of javascript files in our application, some of which are listed on the Static Files page as "text/html" and some are "text/plain". But some are imported as "application/octet-stream" which prevents them from being edited within APEX.
All of these files contain plain text javascript functions.
File sizes range from 539 bytes to 21251 bytes
We tried changing the extensions from ".js" to ".jscript" and reimported them. They were all given a mime type of "text/plain". But one file was misnamed with the extension ".jsript", so we deleted it, changed the extension to ".jscript" and re-imported it. It was imported as "application/octet-stream" even though it was exactly the same file just renamed!
What's going on?I am trying to use a rather older programming language called Mozart, an extension of OZ. I installed it as a binary, but instead of storing its component binaries in a place like /usr/local/oz/bin/. they are all enclosed inside the /Applications/Mozart.app/Contents/Resources/bin/. which cannot be opened nor can a soft link be made to it located outside the Mozart.app wrapper.
The only alternative is to try to edit the mimeTypes.rdf files, and give it the full path name to the inside of Mozart.app were the program used for web applications is stored. It is stored in ~/Library/Application Support/Mozart/, which can only be accessed in more recent Mac OS X by going to finder and holding the Option key while opening the Go menu; this will make the ~/Library visible and accessible. -
How to get the MIME type of the given file in R/3
Dear Experts,
Please tell me the FM or Class to get the given file MIME type in R/3 . I am using GUI_upload Function module to upload the file in R/3 .
Edited by: balaji ramadas on Jan 16, 2009 5:39 AMThank you Prosenjit I m using this FM CV120_GET_MIME_TYPE
to get the MIME type of the file
regards,
Balaji.R
Edited by: balaji ramadas on Jan 19, 2009 9:24 AM -
Java.lang.Exception:Incorrect content-type found text/html
Dear All,
While opening a PCR throught MSS, which is PDF based service, I am getting following error.
java.lang.Exception: Incorrect content-type found 'text/html'.
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
I have refered previous posts aslo related to this but no solution. Please try to help me.
<removed_by_moderator>
Read the "Rules of Engagement"
Thanks.
Roshan
Edited by: Juan Reyes on Mar 31, 2009 3:40 PMhi,
Most probable reson for this issue is the expiry of the password for ADSUser.
Go to Visual Admin:
-> server -> service -> security provider service -> user management tab, then select user ADSUser.
If option 'No password change is required' is not selected, please check it.
Hope this helps!! -
Using SQL instances - how to configure the db connection
WCI 10.3.0
We changed the DB server, and instead of a regular SQL server using the 1433 port, we are using an instance
SQLSERVER1\_SQLINSTANCE1
The problem is that, in this case, the port is dynamic allocated.
The question is:
How I configure this in Webcenter Interaction? Anyone experienced this kind of Db migration?
Thanks!
ValWCI requires use of a static port. You can assign a static port to your named instance.
Make sure TCP/IP is enabled, as sometimes only named pipes is turned on.
Then for WCI use the hostname and port you specify. You can do this in the configuration manager. -
How to configure print server in UNIX?
Hi everyone,
Can someone guide me about how to configure a print server when EPM products are installed on a Linux server?
Thanks,
SayantanHi,
Additionall, you may need to check the configuration of radius server on server 2012.
And you must make sure that the shared-key must be the same on both server and client side.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/8e9e3d1b-70c2-4350-af8b-a83284b37c0f/install-a-radius-server-on-windows-server-2012?forum=winserverNAP
Best Regards
Quan Gu -
How to configure printer...
How can I configure a printer in Oracle Apps ?? What is the document that one can follow for configuring a printer in oracle apps??
Regards,Hi,
Refer to the following notes, it should be helpful:
Note: 269129.1 - How to Implement Printing for Oracle Applications: Getting Started
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269129.1
Note: 297522.1 - How to investigate printing issues and work towards its resolution?
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=297522.1
Note: 200359.1 - Oracle Application Object Library Printer Setup Test
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200359.1
Regards,
Hussein
Maybe you are looking for
-
I recently quit my job. When i worked there I was using an iPhone 5 but had to give it up when I left. I have an iPhone 4s and wanted to backup my first phone on to this one. 1) I backed up my iPhone 5 to itunes. 2) I plugged in my iPhone 4s and coul
-
Device Alias not showing up in device manager
Folks, I did create the device alias database and I can see the device aliases show up with I type show zoneset active in cli. But when I go to the fabric manager I am unable to see the devices aliases only the actual pwwn shows up. Do I h
-
Automated Word Report Printer from a Cluster filled with controls Vi
I am sharing this Vi that i made to solve a problem i had. Basically this Vi will take what ever is inside a cluster and print it to Word. you should have a Word template with Bookmarks to work. The bookmars name should be the same as the label of t
-
::getpeername() returns error code 10057 (on a connected socket)
Hi, I am blocked on this issue and cannot find a solution by myself. Maybe someone has encountered a similar issue and could provide some hints. Calling ::getpeername() (Win 7 x64) on an accepted (and open!) socket connection returns error code 10057
-
How to access Oracle Enterpise Manager from outside my VM
Hi, I've Oracle VM VirtualBox version 4.1.2 installed on the host Windows XP and pre-built Database App Development VM (Updated Nov. 2011) worked on it. Everything is OK, I have NAT network and can run Enterprise manager inside my VM on URL https://1