Send a File *.txt to a Printer since Store Procedures
Hello everybody.
We have a problem.. because we need to send a File *.txt to a Printer since a Store Procedure.
Do you know how can we do in order to solve this problem.
Please send me an email ([email protected]) if you have an idea about it.
Thanks for all
Luis Castro
Luis,
Your going to have to give ALLOT more information about what your wanting, Don't worry if your english is ... short, but please give as much detail about what your wanting as I and (probably everyone else) don't understand what your wanting.
Tyler
Similar Messages
-
How to send a file top the default printer?
Hello,
I have generated, using Java code, a certain HTML file and wrote it to a certain location on my local machine. I would like now to automatically send this file for the default printer for printing, this way the user won't have to manually open the file and select
file->print from the browser window and then print it.
How can I acomplish this?hi
good
how can you identify which file you r going to print and which file you r going to print.if you r going to print all the file from that particular location than you can do it through jsp, but i dont think it can be done automatically, the user has to select the particular location where you have stored the file in you hard disk and i will go for printing.
Thanks
mrutyun -
Deploy EAR file to OC4J from PL/SQL Store Procedure
Hi
Can you deploy an EAR File from PL/SQL Store Procedure?
are there any API'S to achieve that?
Thanks.Customer has an IAS 10.1.3 Environment with multiple OC4J's for different projects.
We would like to allow each Project Team to be able to perform deployment on their own.
Problem is, that we want to be able to control which OC4J Container each project team can deploy to and restrict them from creating into other containers.
Although IAS 10.1.3 does allow you to define different users and groups, it doesnt allow you to restrict a user/group into one specific OC4J.
This is a big problem for customer and in the quest of searching some Creative Solutions, we wanted to try and create a simple Web UI (i.e, in APEX) that will allow customer to
upload new EAR (or WAR) file and it will deploy it to their container automatically.
to achieve this, we need to find (easy) way to deploy files from PL/SQL.
we can always use external pl/sql procedure that run a Shell Script which does this,
but customer is searching for a more "direct" way to do this.
any suggestions on this issue? -
How to send a file to a certain printer at the local network?
Hello,
Is there any Java API (standard or free packages) that allows to send a certain file from the filesystem to a certain printer at the local network, not necessarily the default one that the machine the code is running on is using? In case there is one, a code example could be nice...Hi Roy,
There is a library part of the standard java for printing and searching printers. Have a look at the package
javax.print
A google search with the package name will lead to tutorials and code samples I guess.
HTH
Peter -
Hello Gurus,
I like to send a text file from the aplication server to spool or send this file to a specific printer.
What instructions do you know?
Thanks.
Joseph.Hi,
I think the best way to send a text file from application server to the spool printer.
1. Download the file into a internal table
2. Use standard function modules to send the table to the spool printer
Regards -
Whenever I send a file to my Xerox C75 from my Mac (Yosemite), the file goes to the printer okay, then InDesign crashes.
I think there is a patch specifically for this issue. Where do I find it?Yes, I have Fiery Hot Folders Console. That is certainly an alternative that should work as I can then avoid having to choose Fiery Features from the print dialog box in order to choose the paper tray and other features I need.
I am about to try a clean install of OS 10.9.3, and I am not the least bit happy about it. Adobe CC is my main set of go-to applications for my work, and those are the only applications that give me ANY problems with printing. I have forked out real money on different versions since I started using Adobe in the late 1990's, and my troubles seem to increase with every new release. -
How do I set up my phone to send a file to print from my iphone 5 to my Samsung CLX-4195FW printer?
Read the printer manual.
-
when i send a PDF file to out side print, some of the things I aded dose not print.
Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sureSend Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
Feedback
Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
Feedback via Apple Developer -
rying to get Photoshop CS4 functional with Mavericks and an Epson 3880 printer. CS4 fails to send a file to the print queue. Have reinstalled the Epson 3880 driver for Mavericks. All looks good but no file is sent.
Does anyone know how to fix this?What EXACT version of Photoshop CS4 are you running? You should be on Photoshop CS4 v 11.0.2.
Also run Apple's software update to see whether it offers you the latest Epson update:
Printer Driver v9.33
Epson Stylus Pro 3880, Drivers & Downloads - Technical Support - Epson America, Inc.
MOST IMPORTANTLY: have Photoshop re-create its own Preferences:
To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
Note: If this process doesn't work for you while you're using a wireless (Bluetooth) keyboard, attach a wired keyboard and retry.
Important: If you re-create the preferences by manually deleting the Adobe Photoshop CS6 Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
NEW Video! Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here:
How to Reset Photoshop CS6’s Preferences File | The Complete Picture with Julieanne Kost | Adobe TV
Mac OS
Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files. -
Sending a File (XML or TXT) as attachment to Mail Adapter
Dear all,
In a scenario I'd like to pull a file by using 'File Adapter' and send it (without content change) as attachment to an Email recipient.
Is their any possibility to send a file by using Mail Adapter?
Do you have any similar solution in place, if so could you please share your experiences with me?
FYI, we are using XI 3.0, SP14.
I'll appreciate your time.
Regards,
K. AfsaliHi Afsali,
//Is their any possibility to send a file by using Mail Adapter
it is possible.
There are a few steps to it though. You will have to convert the file you pick up into an XML file as XI can process only XML data.
After you are done with it, you will have to import a WSDL for sending mails. this WSDL is available on SAP Marketplace and it will have all details like from, to subject,and content. To get this WSDL just check this link,
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
Just do the mapping of the respective fields and the information mapped to the content field will be passed as the content of the mail.
Just check thise links out,it will surely help you
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal -
Shell Script to send email with .txt file as attachment
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!978334 wrote:
Dear Al,
Could any one help me with code, for sending email with .txt file as attachment using shell script.
Thank You!http://bit.ly/XHfSCz
https://forums.oracle.com/forums/search.jspa?threadID=&q=sendmail&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Send email with txt file as attachment
Hi ,
can any one help me in download as txt file using the function module SO_OBJECT_SEND along with email .
a sample code using this function module would be helpfull.
Thanks,
vinay .Hi vinay,
Not only TXT file, u can send any
other file like word,excel,pdf,exe, etc.
1. There is some trick involved
in the binary files.
2. I have made a program (and it works fantastic)
ONLY 6 LINES FOR EMAILING
BELIEVE ME
ITS A FANTASTIC PROGRAM.
IT WILL WORK LIKE OUTLOOK EXPRESS !
3. The user is provided with
a) file name
b) email address to send mail
and it sends ANY FILE (.xls,.pdf .xyz..)
Instantaneously !
4. Make two things first :
1. Include with the name : ZAMI_INCLFOR_MAIL
2. Report with the name : ZAM_TEMP147 (any name will do)
3. Activate both and execute (2)
4. After providing filename, email adress
5. Code for Include :
10.08.2005 Amit M - Created
Include For Mail (First Req F16)
Modification Log
Data
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA: tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp.
DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
FORM
FORM ml_customize USING objname objdesc.
Clear Variables
CLEAR docdata.
REFRESH objpack.
CLEAR objpack.
REFRESH objhead.
REFRESH objtxt.
CLEAR objtxt.
REFRESH objbin.
CLEAR objbin.
REFRESH objhex.
CLEAR objhex.
REFRESH reclist.
CLEAR reclist.
REFRESH listobject.
CLEAR listobject.
CLEAR tab_lines.
CLEAR doc_size.
CLEAR att_type.
Set Variables
docdata-obj_name = objname.
docdata-obj_descr = objdesc.
ENDFORM. "ml_customize
FORM
FORM ml_addrecp USING preceiver prec_type.
CLEAR reclist.
reclist-receiver = preceiver.
reclist-rec_type = prec_type.
APPEND reclist.
ENDFORM. "ml_customize
FORM
FORM ml_addtxt USING ptxt.
CLEAR objtxt.
objtxt = ptxt.
APPEND objtxt.
ENDFORM. "ml_customize
FORM
FORM ml_prepare USING bypassmemory whatatt_type whatname.
IF bypassmemory = ''.
Fetch List From Memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
in = listobject
out = objbin
EXCEPTIONS
OTHERS = 1
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
ENDIF.
Header Data
Already Done Thru FM
Main Text
Already Done Thru FM
Packing Info For Text Data
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
APPEND objpack.
Packing Info Attachment
att_type = whatatt_type..
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = whatname.
APPEND objpack.
Receiver List
Already done thru fm
ENDFORM. "ml_prepare
FORM
FORM ml_dosend.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X' "used from rel. 6.10
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
CONTENTS_HEX = objhex
OBJECT_PARA =
object_parb =
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH docdata-obj_name.
ENDIF.
ENDFORM. "ml_customize
FORM
FORM ml_spooltopdf USING whatspoolid.
DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
Call Function
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = whatspoolid
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
OTHERS = 12.
Convert
PERFORM doconv TABLES pdf objbin.
ENDFORM. "ml_spooltopdf
FORM
FORM doconv TABLES
mypdf STRUCTURE tline
outbin STRUCTURE solisti1.
Data
DATA : pos TYPE i.
DATA : len TYPE i.
Loop And Put Data
LOOP AT mypdf.
pos = 255 - len.
IF pos > 134. "length of pdf_table
pos = 134.
ENDIF.
outbin+len = mypdf(pos).
len = len + pos.
IF len = 255. "length of out (contents_bin)
APPEND outbin.
CLEAR: outbin, len.
IF pos < 134.
outbin = mypdf+pos.
len = 134 - pos.
ENDIF.
ENDIF.
ENDLOOP.
IF len > 0.
APPEND outbin.
ENDIF.
ENDFORM. "doconv
CODE FOR PROGRAM
5.
REPORT zam_temp147 .
INCLUDE zami_inclfor_mail.
DATA
DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
DATA : file_name TYPE string.
data : path like PCFILE-PATH.
data : extension(5) type c.
data : name(100) type c.
SELECTION SCREEN
PARAMETERS : receiver TYPE somlreci1-receiver lower case.
PARAMETERS : p_file LIKE rlgrap-filename
OBLIGATORY.
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CLEAR p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM ml_customize USING 'Tst' 'Testing'.
PERFORM ml_addrecp USING receiver 'U'.
PERFORM upl.
PERFORM doconv TABLES itab objbin.
PERFORM ml_prepare USING 'X' extension name.
PERFORM ml_dosend.
SUBMIT rsconn01
WITH mode EQ 'INT'
AND RETURN.
FORM
FORM upl.
file_name = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_name
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
path = file_name.
CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
EXPORTING
complete_filename = path
CHECK_DOS_FORMAT =
IMPORTING
DRIVE =
EXTENSION = extension
NAME = name
NAME_WITH_EXT =
PATH =
EXCEPTIONS
INVALID_DRIVE = 1
INVALID_EXTENSION = 2
INVALID_NAME = 3
INVALID_PATH = 4
OTHERS = 5
ENDFORM. "upl
regards,
amit m. -
Unable to send or create a link to send pdf file since update to Yosemite.
Unable to send or create a link to send pdf file since update to Yosemite.
Hi Donald S Matheson,
Are you still facing this issue?
May i know which application or service you are using. Can be more precise and provide me the steps to check the behavior at my end.
Regards,
Ajlan Huda. -
How can I send a file that CAN NOT be printed or saved by the recipient?
How can I send a file that CAN NOT be printed or saved by the recipient?
Impossible. PDF files don't stream, so they cannot be opened until they've been saved.
You can truly prevent printing by using DRM, or ask nicely by using a permissions password (though that's ignored by non-Adobe software). -
I'm a bit confused. Since my original camera format was 720/60p, and I converted the footage to Pro Res422 in order to edit in Final Cut Pro 7, should I convert back to a higher quality format before sending the file to DVD Studio Pro? If so, which Compressor codec is best to use in order to preserve the original 720/60p? How do I maintain the highest quality?
No...ProRes is a high quality format. Finishing format. Many TV networks take that as a final deliverable.
BUT...DVDs aren't high definition...they are SD. You cannot make a 720p60 DVD with DVD Studio Pro. Any DVD you make will be SD...720x480. The only HD DVD format out there is BluRay, and for that you need a BluRay burner.
As for making a high quality DVD...using the BEST QUALITY settings in Compressor will work:
#42 - Quick and dirty way to author a DVD
Shane's Stock Answer #42 - David Roth Weiss' Secret Quick and Dirty Way to Author a DVD:
The absolute simplest way to make a DVD using FCP and DVDSP is as follows:
1. Export a QT movie, either a reference file or self contained using current settings.
2. Open DVDSP, select the "graphical" tab and you will see two little monitors, one blue, one green.
3. Select the left blue one and hit delete.
4. Now, select the green one, right click on it and select the top option "first play".
5. Now drag your QT from the browser and drop it on top of the green monitor.
6. Now, for a DVD from an HD source, look to the right side and select the "general tab" in the track editor, and see the Display Mode, and select "16:9 pan-scan."
7. Hit the little black and yellow burn icon at the top of the page and put a a DVD in when prompted. DVDSP will encode and burn your new DVD.
THATS ALL!!!
NOW...if you want a GOOD LOOKING DVD, instead of taking your REF movie into DVD SP, instead take it into Compressor and choose the BEST QUALITY ENCODE (2 pass VBR) that matches your show timing. Then take THAT result into DVD SP and follow the rest of the steps. Except you can choose "16:9 LETTERBOX" instead of PAN & SCAN if you want to see the entire image.
Maybe you are looking for
-
Windows 8.1 not compatable
HP p2-1394 How do I reinstate windows 8? Should not downloaded 8.1 Have gotten blue screen and other problems. Do not want to do factory settings. This question was solved. View Solution.
-
DeliveryException: invalid content type for SOAP: TEXT/HTML
My scenario is RFC -> XI -> SOAP (synchronous), but when I test this scenario, I got the error message "DeliveryException: invalid content type for SOAP: TEXT/HTML", I search the document and change it following this blog: /people/varadharajan.krishn
-
If i upgrade my drivers for my xtreme music card i get no sou
I install the drivers from the supplied CD that came with the XtrememMusic card and it works, get full sound etc. But if i download the latest drivers (audio console, drivers etc) as soon as they are installed I get no sound from from the card! This
-
Verint recording failing on new sip phones
We are using old-school Verint recording system (uses CiscoTSP.exe client on server and Application user with control of phones). We were running Callmanager version 9.1.2 with Cisco 7961 phones. We upgraded to callmanager 10.5.2 and got the recordin
-
would you recommend it? Im still using 1.5 and having problems with it. Dont ask me why Im upgrading. Actually aside from a couple things it lacks I like audition, its just hard to get setup right and stay working. So is 3 any better?