Automatic Print in Application Express
Hello,
I need to either automatically print, or automatically bring up a print dialog box for an apex report or form. Does anyone know how to do this ? Any and all help is greatly appreciated.
Sharon
Hi Sharon,
You can't control the browser's printing functionality directly. You would need to use some javascript and include:
window.print();which would popup the normal File/Print dialog box.
How you use this would depend on the circumstances. You could add this to a button or as part of other javascript, for example
Andy
Similar Messages
-
Code 128 Barcode printed from Application Express
Hi,
My colleague and I have written a procedure to generate Code128 Barcodes. These appear fine on the screen within Application Express 3. But when we export the file as an RTF or PDF document to our BI_Publisher server running under LINUX RedHat the Barcodes are greyed out and cannot be seen.
Anyone any ideas on how to solve this? It is extremely irritating only to be able to offer our users the ability to print the Application Express page off rather than a proper document.
ThanksHi kcbemssr,
I don't know weather you can see this reply, but i still want to say something about this.
Did you used another type of code 128?
you can try this. and here is a site i recommand you, it's all about barcode, you can get code 128
[Content Removed] -
PDF printing on Application Express 3.0 question
Hi All,
I'm using "Report Queries" under Shared Components to test the following query:
Select '2'||' %' "Test Percent Sign"
From dual;
The output is:
Test Percent Sign
2 %;
Why is the semicolon also display after percent sign?
NOTE: The same statement above display on PDF page correctly (without semicolon after percent sign) when it placed in the report region.
Thanks,
KevinKevin,
That's because report queries are rendered by a different engine than report regions. In report regions we escape correctly, and for report queries, we escape % with %25; - so we'll have to remove the semicolon.
Thanks for pointing this out,
Marc -
Print a report from Application Express direct to a CUPS Printer
Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.
Jeremy,
BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
Here's an options:
Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
Bryan -
Application Express Printing in 3.1 and Oracle 9i
Hi,
I am running Application Express 3.1 on a Oracle 9i box using application server 10.1.2 for the web server and when ever we try to do any printing to PDF files it files, changing to HTML give me the following errors; (it works fine from our 10g2 box also running Apex 3.1)
Any ideas on this?
Fri, 18 Apr 2008 17:45:41 GMT
ORA-03113: end-of-file on communication channel
DAD name: apex
PROCEDURE : f
URL : http://nww.infoportal.wiltshire.nhs.uk:80/pls/apex/f?p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
PARAMETERS :
===========
p:
105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
ENVIRONMENT:
============
PLSQL_GATEWAY=WebDb
GATEWAY_IVERSION=2
SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
GATEWAY_INTERFACE=CGI/1.1
SERVER_PORT=80
SERVER_NAME=nww.infoportal.wiltshire.nhs.uk
REQUEST_METHOD=GET
QUERY_STRING=p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
PATH_INFO=/f
SCRIPT_NAME=/pls/apex
REMOTE_HOST=
REMOTE_ADDR=10.184.150.119
SERVER_PROTOCOL=HTTP/1.1
REQUEST_PROTOCOL=HTTP
REMOTE_USER=apex_public_user
ORACLE_SSO_USER=
OSSO_IDLE_TIMEOUT_EXCEEDED=
OSSO_USER_GUID=
HTTP_CONTENT_LENGTH=
HTTP_CONTENT_TYPE=
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 1.1.4322)
HTTP_HOST=nww.infoportal.wiltshire.nhs.uk
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-gb
HTTP_ACCEPT_CHARSET=
HTTP_COOKIE=ORA_WWV_R1=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R3=%23ALL; LOGIN_USERNAME_COOKIE=dpithouse; ORA_WWV_REMEMBER_UN=DPITHOUSE:cascard; ORA_WWV_USER=180C4AB57E701292; WT_FPC=id=2c0fb891060c298ae401208366087265:lv=1208518017286:ss=1208517692850; WWV_CUSTOM-F_6578422443884676_105=AEA5DD5F752363DA; WWV_CUSTOM-F_6578422443884676_100=180C4AB57E701292
HTTP_IF_MODIFIED_SINCE=
HTTP_REFERER=http://nww.infoportal.wiltshire.nhs.uk/pls/apex/f?p=105:7:4081603134239502428:::::
HTTP_SOAPACTION=
HTTP_ORACLE_ECID=1208540734:10.162.200.150:1328:5536:2513,0
HTTP_ORACLE_CACHE_VERSION=
HTTP_AUTHORIZATION=
WEB_AUTHENT_PREFIX=
DAD_NAME=apex
DOC_ACCESS_PATH=docs
DOCUMENT_TABLE=wwv_flow_file_objects$
PATH_ALIAS=
REQUEST_CHARSET=WE8MSWIN1252
REQUEST_IANA_CHARSET=WINDOWS-1252
SCRIPT_PREFIX=/pls
HTTP_IF_MATCH=
HTTP_CACHE_CONTROL=
SOAP_BODY=
HTTP_X_ORACLE_DEVICE_CLASS=
HTTP_X_ORACLE_DEVICE_ORIENTATION=
HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
HTTP_X_ORACLE_DEVICE=
HTTP_X_ORACLE_ORIG_ACCEPT=
HTTP_X_ORACLE_ORIG_USER_AGENT=
HTTP_X_ORACLE_USER_LOCALE=
HTTP_X_ORACLE_USER_NAME=
HTTP_X_ORACLE_USER_DISPLAYNAME=
HTTP_X_ORACLE_USER_USERKIND=
HTTP_X_ORACLE_USER_AUTHKIND=
HTTP_X_ORACLE_USER_DEVICEID=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
HTTP_X_ORACLE_USER_LOCATION_BLOCK=
HTTP_X_ORACLE_USER_LOCATION_CITY=
HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
HTTP_X_ORACLE_USER_LOCATION_COUNTY=
HTTP_X_ORACLE_USER_LOCATION_STATE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
HTTP_X_ORACLE_USER_LOCATION_TYPE=
HTTP_X_ORACLE_USER_LOCATION_X=
HTTP_X_ORACLE_USER_LOCATION_Y=
HTTP_X_ORACLE_SERVICE_HOME_URL=
HTTP_X_ORACLE_SERVICE_PARENT_URL=
HTTP_X_ORACLE_HOME_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_URL=
HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
HTTP_X_ORACLE_CACHE_USER=
HTTP_X_ORACLE_CACHE_SUBID=
HTTP_X_ORACLE_CACHE_AUTH=
HTTP_X_ORACLE_CACHE_DEVICE=
HTTP_X_ORACLE_CACHE_LANG=
HTTP_X_ORACLE_CACHE_ENCRYPT=
HTTP_X_ORACLE_ASSERT_USER=Unfortunately I can't provide much help, other than that we have seen this before with 9iR2, but haven't yet figured out when this does occur, so not sure if it's related to a specific patch version. If possible, I'd recommend upgrading to database 10g or higher. And if we do figure out under what circumstances this problem comes up in 9iR2, I'll post this on the forum.
Regards,
Marc -
Configuring Problem in Oracle Application Express 3.0 Print Server
hi all,
Configuring for my Oracle Application Express Print Server in apex 3.0 I have used apache foa and made all steps in the documentation
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
the print attribute works but I have a problem in the pdf print with characters.
My reports columns characters are turkish and when I linked to print pdf the print the turkish characters are seeming #
and I try to change in the script apex_fop_render.jsp I changed the encode but the problem was not solved.Can you help please urgently!
I am waiting your helps!Apache FOP does not support some character sets out of the box, i.e. Asian languages require additional configuration steps. Not sure about those non-standard ISO characters in the Turkish alphabet though. But since you’re writing that those are returned as #, looks like the same problem. There should be information available on the Internet on how to configure those fonts and character sets with Apache FOP. Once BI Publisher is out, using that as the rendering engine with APEX might be another alternative to consider, as that product will support this out of the box.
Regards,
Marc -
After an automatic update recently, I can only print email (Outlook Express 6) headers but the messages do not print. I now have Firefox 3.6.22.
Thanks John for the suggestion. I was finally able to dwonload the newest drivers today when I signed on. Seems like if you let one day go by Software Update will look at your version of the driver and will finally let you download the newest. That did not help. Nothing but communication errors. It would not even let me load the the new driver as it would no longer ever see the printer.
Yesterday, for further explanation, I was working at the computer when I heard the printer chime a few times. When I looked over the green light, which normally signals it is receiving a file to print, was flashing away. I was doing nothing and I finally had to turn it off. I spoke with another techie friend who is a big Mac user and has the same printer and he suggested it may be the USB circuit. This printer has been on for 5 years with a few days off. We have concluded the circuits are past their useful life and I will soon send the printer to be recycled somewhere. A new printer is on the way as I need this device.
Again, thank you for your suggestion and I will mark this solved due to mechanical failure. -
Multiple Application Express Installs on one server
What, if any, restrictions / caveats are there for installing multiple Application Express versions on a single server? We have Application Express 2.2 installed and wondering if we can install Application Express 3.0 also.
With 2.2, we have FLOWS_020200, FLOWS_FILES, and APEX_PUBLIC_USER as database users. Version 3.0 will want to create FLOWS_030000, FLOWS_FILES, and APEX_PUBLIC_USER. Any problems with what I expect will be errors on "user already exists" for FLOWS_FILES and APEX_PUBLIC_USER?
Thanks in advance.Hello,
I'm really sorry but this is a typo on my part. It should be "You can't have two different APEX versions on the same instance."
Does it mean that if we install ApEx v3 we will have only ApEx v3?Yes. This is exactly what it means. The installation script automatically detect previous installed APEX (or earlier HTML DB ) version, and upgrade it. You can end up with only one version per instance.
Regards,
Arie. -
How to stop and start only the process of Oracle Application Express?
I'd like to know how to stop the process of Oracle Application Express on my server installed oracle express package.
After installed Oracle Express edition, not only oracle database server processes but also Oracle Application Express, such as http server, is started automatically...
I hope to stop and start Application Express on demand but is this feature enabled?Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
When an Apex session starts it starts calling the API.
You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
Regards, -
How do I automatically print emails in outlook?
Hello,
I recently starting using Microsoft outlook again for emails. I am not very competent in how it works just yet, however, I would like to know if there was a way I can set up incoming email to automatically print when I am out of the office. I
tried to create a new rule, but there was not an option for automatically printing incoming emails. Maybe someone can help me figure out what I need to do to make this happen.
Thank you,
Joshua RichardsonWhile this is informative, it does not really help me much. I am using the web browser outlook, not the good old fashion outlook express that was its own entity.
Just for the sake of clarity, this forum is for Outlook (the desktop client). You may find the following articles of interest
Outlook vs. Outlook.com vs. Outlook Web App
http://www.msoutlook.info/question/780
Feature Differences in Outlook Web App and Outlook
http://help.outlook.com/en-us/140/Cc511379.aspx
Questions related to Outlook.com web mail should be posed in
http://answers.microsoft.com/en-us/office/forum/outlook?page=1&tab=question&status=all
Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com -
Automatic printing of a 'test' sheet
Every time I turn on the ptr (the c3100 all-in-one) it insists on printing a test page. How can I stop this? Ink cartridges are expensive!
The ptr is connected to a Compaq laptop by a USB cable; the OS is Vista.
thescrivener (william barish)Hi Leslie
The print function in workstation applications won't automatically print the documents attached to an equipment. This function is designed to allow you to print using the print button in a SAP DIR or from CV04N, not for automated printing when a work order is released. This would require either an ABAP enhancement or a product like Seal.
The problem with linking a document to an equipment and printing it is that the equipment could have any documents linked including photos and numerous procedures or work instructions designed for different tasks. Unless all documents are relevant for all tasks, you could easily find yourself in a position where you end up printing 5 documents you don't need every time you release an order. This is the reason that the best technical solution is rather to link the document as a product resource tool to a maintenance order or task list. This indicates in SAP that the document is a tool required for that specific maintenance order or task and you can select different documents for different tasks and the order in which the documents should be used because without this the results could have serious safety impacts. I.e. ensure that the person follows the tag out procedure before trying to do another task on the equipment.
Regards,
Athol -
Automatic printing of a document linked to an Equipment
Good day SAP Experts,
I have a question which I hope there is a simple answer to within SAP.
I have created some documents that are stored in a seperate pc and are linked to SAP PM equipments. (Transaction CV01N)
I can follow the link from the equipment back to the document, open and view/change this document and also when the document is open, I can print it.
So far so good, now is the tricky bit, I create a PM work order for this Equipment, I can see there is a document linked to the equipment, so I want this documnet to be printed automatically when I release and print the work order.
To put it simply, my request is similar to having received an email with an attachment, I want the attachment to be printed in full when I request the email to printed.
In the customising of DMS I have found :
Application Type
This key controls the processing of original application files with applications in document info records.
Use
For authorization purposes, you can define the following settings for each application, depending on the data carrier type:
1 - Display
2 - Change
3 - Print
But I cannot get option 3 to work or am I misunderstanding the use of "3-Print"
Any help or guidance greatly appreciated.
LeslieHi Leslie
The print function in workstation applications won't automatically print the documents attached to an equipment. This function is designed to allow you to print using the print button in a SAP DIR or from CV04N, not for automated printing when a work order is released. This would require either an ABAP enhancement or a product like Seal.
The problem with linking a document to an equipment and printing it is that the equipment could have any documents linked including photos and numerous procedures or work instructions designed for different tasks. Unless all documents are relevant for all tasks, you could easily find yourself in a position where you end up printing 5 documents you don't need every time you release an order. This is the reason that the best technical solution is rather to link the document as a product resource tool to a maintenance order or task list. This indicates in SAP that the document is a tool required for that specific maintenance order or task and you can select different documents for different tasks and the order in which the documents should be used because without this the results could have serious safety impacts. I.e. ensure that the person follows the tag out procedure before trying to do another task on the equipment.
Regards,
Athol -
Hi,
is there a way to automatically print to PDF a html file saved locally on my computer?
I want to get selected Finder items (or choose them), open each one in Safari, print it to PDF, close, open the next, print, etc... (No real reason Safari has to be involved though).
Surely such a basic thing as Print is available to Workflow! Or Applescript. I just don't know how to use the "Print" AppleScript command to get a PDF:
print v : Print an object.
print alias : The file(s) or document(s) to be printed.
[print dialog boolean] : Should the application show the Print dialog?
[with properties print settings] : the print settings
I have searched through here for a while and haven't found an answer. I expected that this would be a common thing to do. Maybe a Unix (ew!) schell script alternative?
Cheers, A.Here's someone asking essentially the same question.
http://discussions.apple.com/thread.jspa?messageID=7044661
CUPS-PDF seems to be the answer, but it doesn't seem to work reliably on my machine. Sometimes certain images from the web page I'm 'printing' just aren't there.
I can't believe they still haven't got a basic Print to PDF AppleScript command!
Cheers, A. -
Epson Aculaser CX11NF printing via Airport Express
Well today has been an interesting day...
Connected printer to airport express usb port - had problems printing via this in the past but since I'd moved the printer so I could plug it into the usb port on a computer and then share it that way I thought I'd give it another go.
Macbook 10.5.2 prints perfectly first time
Powerbook 10.4.11 can see it and connect but won't print
Toshiba XP laptop) can't see it
Check out the net, try out the info I find and hey presto! Toshiba XP laptop sees and prints perfectly
Share printer via Markbook and Markintosh and Powerbook prints fine but still won't print directly via airport express.
Feels wrong that an xp book can print via an apple airport express easier than an apple laptop...
Anyone have any thoughts?Hi,
Thanks for all your replies. I tried repairs pewrmissions in disk utility again and got slightly excited when printer utility automatically selected a generic post script driver but my printer just printed jibberish.
I've just run repair permission in pinter setup repair and this is my log:
The file /System/Library/StartupItems/PrintingServices/PrintingServices is missing!
The file /private/etc/cups/classes.conf is missing. This file is deleted when using the Reset Printing System option.
The file /private/etc/cups/ppds.dat is missing. This file is deleted when using the Reset Printing System option.
The permissions for the file /usr/libexec/cups/filter/rastertodymo are incorrect!
They are lrwxr-xr-x, but should be -rwxr-xr-x
Repaired.
Recreating symbolic links...
Done.
Verification complete.
2075 files examined. 1 problem was found and repaired. It is recommended that you verify the permissions again to make sure the values are correct.
3 missing files/directories found during the verification process. They may be responsible for certain printing problems. Printer Setup Repair cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
Does it mean anything to anyone? -
Automatically print fax call report from LaserJet 500 MFP M525
How do you set up an LaserJet 500 MFP M525 to automatically print out a Fax Call report after each fax is sent? We are receiving a report after each fax is received and I do not want that. I need to have proof of fax sent. Please help!!! thanks
Hi mllundee,
Sorry about that, I must have grabbed the wrong link when I wrote the message. :-s
I am looking for the User Guide for the LaserJet 500 MFP M525 now. Page 153 lists the notification setting. This should be the setting to get a report on sent faxes.
1. From the Home screen on the product control panel, scroll to and touch the Administration button.
2. Open the following menus:
Fax Settings
Fax Send Settings
Default Job Options
Notification
Please let me know if this helps or not.
AlliBee
I am an HP employee, but opinions expressed here are my own.
Click the thumbs up + button if I have helped you. Mark Accepted Solution if your problem is solved. If both apply......do both.
Maybe you are looking for
-
How to get rid of internal divider in track list?
I had a couple of tracks where in the track list there is a vertical divider that can be dragged left and right within the track name area - to the right of the divider is instr number audio track number etc. Now I've clicked on it the divider has ap
-
"Operation cannot be completed as there is no video"
Ah, but there is -- HV20 connected to firewire, controllable from within FCE. Can do everything BUT capture, either Capture Now or marking a clip and "Capture Clip." I did shoot it in HD and am outputting DV to match so B-roll somebody else shot. Wha
-
FCP7.0.3 on OS10.6.8 2x3.2 quad core 8GB Mac Pro
Its playing up again!!! Particular qt movie files have stopped playing. QT cant open them FCP wont play them in the veiwer but can see frame in canvas. When trying to playback in FCP we get "General Error" no ID number with error. Help please. S
-
I have an iPod nano 2nd generation and I want to download the songs I have on it to my new computer, as my old one crashed with all the songs on it. I also got a new iPod and would like to transfer the old songs onto it. How do I do this?
-
Dear All, I have a scenario for Freight Charges in Purchase Order. The Purchase order has two freight vendors, both will be transporting the material on qty basis. How to handle this situation?. If i maintain the freight condition two times, both the