Send FAX to file
We currently run an enterprise FAX product but we receive so few FAXes anymore that we believe we can use Microsoft's FAX server solution now - can anyone please tell me what the file naming convention is for a file when you route FAX to file and are there
options on the naming convention??
Hi,
Did you mean that configure
incoming fax routing methods to route incoming faxes? Administrators can configure incoming fax routing methods to route incoming faxes to recipients on the network.
In Fax Service Manager, there are incoming fax routing extensions that are global (applied to all devices) and others that are associated with just individual fax devices. For global methods, you can set the priority order in which they are applied to an incoming
fax. Non-Microsoft vendors can extend the global methods for incoming faxes. Extensions could include, for example, converting incoming files to specific file formats.
The following default incoming fax routing methods can be configured and prioritized:
Route through e-mail, Store in a folder,
Print. For more details, please refer to following article and check if can help
you.
Configure incoming fax routing
If anything I misunderstand or any update, please don't hesitate to let me know.
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Similar Messages
-
Hi,
I have a requirement to send a PDF file as a fax to different fax numbers. Can anyone assist me on how to get this done. Can you please show me step-by-step.
Thanks in advanceThanka a lot for the help so far,
I have uploaded the file and below is the changes I made to the coding and within it is my question highlighted in green
DATA: formoutput TYPE fpformoutput, " PDF FORM settings.
docparams TYPE sfpdocparams, " Print and Spool Dialog settings
ie_outputparams TYPE sfpoutputparams. " Print and Spool Dialog settings
DATA: it_recipe TYPE ztrecipe_form1. {color:green}What is this type for cause in my coding it says type undefined {color} " Internal Table Declaration
DATA: i_name TYPE fpname,
fm_name TYPE funcname. " Captures the Generated Function Module name
DATA: w_itcpp TYPE itcpp.
DATA: it_attachment1 TYPE SOLIX_TAB.
DATA: it_attachment2 TYPE SOLI_TAB.
DATA user LIKE sy-uname.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Users\Thandekile nkomo\Desktop\715GSSC_8.pdf'
FILETYPE = 'BIN'
TABLES
results = ZRECIPE_PRINT_FORM1_1.
i_name = 'ZRECIPE_PRINT_FORM1_1'. {color:green} On the adobe form name do I use the name of the table I get with all the results {color} " Adobe Form name
PARAMETERS: p_matnr TYPE zrecipe_form1-matnr OBLIGATORY.
SELECT * FROM zrecipe_form1 INTO TABLE it_recipe.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' " Will contain the name of generated Function Module Name...
EXPORTING
i_name = i_name
IMPORTING
e_funcname = fm_name.
*ie_outputparams-device = 'TELEFAX'.
*ie_outputparams-nodialog = 'X'.
ie_outputparams-getpdf = 'X'.
*out-nodialog = 'X'.
*ie_outputparams-dest = 'LP01'. " Destination
*ie_outputparams-reqnew = 'X'.
* out-reqimm = 'X'.
* out-reqdel = 'X'.
*ie_outputparams-reqfinal = 'X'.
CALL FUNCTION 'FP_JOB_OPEN' " To Open the Form for Printing...
CHANGING
ie_outputparams = ie_outputparams.
*docparams-langu = 'E'.
*docparams-country = 'US'.
*docparams-fillable = 'X'.
CALL FUNCTION fm_name " Generated Function Module(/1BCDWB/SM00000167)...
EXPORTING
/1bcdwb/docparams = docparams
it_recipe = it_recipe
p_matnr = p_matnr
IMPORTING
/1bcdwb/formoutput = formoutput
CALL FUNCTION 'FP_JOB_CLOSE'.
Edited by: Beatrice Nkomo on Nov 30, 2009 11:25 AM -
How to send a PDF file as a FAX from Oracle Reports 6i
Hi
I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
Help need immediately.
Thanks in advance. my email id is
[email protected]
Arun
nullhello,
there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
regards,
the oracle reports team -
How to send the PDF file to FAX will the nast table updates
Hi all,
How to send the PDF file to FAX. Will the nast table updates ( which fields updates ).
Need is once fax is send for that delivery, again it should not fax again. Will the nast table helps to check the sent fax.
Please give me sutable suggessions....Have you checked Forums » Community Discussions » Code Snippets
I believe there were some examples on converting/sending PDF.
Or check FM 'SO_DOCUMENT_SEND_API1' and documentation for it. -
Problen when Sending the text file as attachment to the external mail
HI,
I am sending the text file as an attachment to a aexternal mai. mailing is going with text file attachment, but text file is empty. No information in the file is going, only empty text file is going. I am sending the code iam using. Please suggest, if I need to change any passing parameters orany other other solution.
tables: knb1,kna1,adr6,ITEMSET,bsid,TSP01.
INTERNAL TABLES
DATA: BEGIN OF it_kna1 occurs 0,
KUNNR LIKE KNA1-KUNNR,
ADRNR LIKE KNA1-ADRNR,
END OF it_kna1.
DATA: BEGIN OF it_email occurs 0,
ADDRNUMBER LIKE ADR6-ADDRNUMBER,
SMTP_ADDR LIKE ADR6-SMTP_ADDR,
END OF it_email.
DATA: BEGIN OF it_bsid occurs 0,
KUNNR LIKE BSID-KUNNR,
BUKRS LIKE BSID-BUKRS,
END OF it_bsid.
DATA: BEGIN OF it_final occurs 0,
KUNNR LIKE KNA1-KUNNR,
ADRNR LIKE ADR6-ADDRNUMBER,
EMAIL LIKE ADR6-SMTP_ADDR,
END OF it_final.
DATA: BEGIN OF BUFFER OCCURS 10000,
TEXT(255) TYPE C,
END OF BUFFER.
data:xtext type solix_tab." occurs 0 with header line."line.
data:xi_pdf type soli_tab.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE,
OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE,
OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE,
DOC_CHNG LIKE SODOCCHGI1,
PARAMS LIKE PRI_PARAMS,
ARPARAMS LIKE ARC_PARAMS,
DAYS(1) TYPE N VALUE 8,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C,
RECEIVER(30),
STR(256).
data: spoolid type tsp01-rqident,
pdf_table like tline occurs 0 with header line,
v_bytecount type i,
itab_pdf like tline occurs 10 with header line,
xi_pdf like tline occurs 0 with header line,
xi_pdf like buffer occurs 0 with header line,
xi_pdf_1 like xi_pdf,
v_length(2) type p,
html like solisti1 occurs 0 with header line,
xi_temp like bapiqcmime occurs 0 with header line,
xi_mime(255) type c occurs 0 with header line.
VARIABLES
data: g_email type adr6-smtp_addr,
TAB_LINES LIKE SY-TABIX,
G_FLAG(1) TYPE C.
g_norm(1) TYPE C,
g_shbv(1) TYPE C,
g_merk(1) TYPE C,
g_park(1) TYPE C,
g_apar(1) TYPE C.
data: l_lines type i,
line1 type i,
l_temp(500) type c,
l_offset type p,
l_lineslen(2) type p,
l_mimelen(2) type p,
v_spono like tsp01-rqident,
l_tabix like sy-tabix.
*****VIA SELECTION-SCREEN
ENDFORM. " SEND_TO_SPOOL
*& Form GET_SPOOL_ID
*& Form CONVERT_SPOOL_TO_PDF
*& Form SEND_MAIL
FORM SEND_MAIL .
data:l_lin like sy-tabix,
l_lint like sy-tabix,
it_list like abaplist occurs 0,
l_newline(2) type x value '0D0A'.
*--Data for the status output after sending
data: user_address like sousradri1 occurs 1 with header line,
sent_to_all like sonv-flag.
clear: reclist, reclist[],
objtxt , objtxt[],
objpack, objpack[],
objbin , objbin[],
doc_chng.
*--move list to office table objbin
*--Start of Changes to support PDF attachments - UB20030116
loop at html.
objbin-line = html-line.
append objbin.
clear objbin.
endloop.
loop at xi_pdf.
objbin-line = xi_pdf-text.
append objbin.
clear objbin.
endloop.
*--We may write additional text to the main document
*--For faxing this will be the cover page. Like sending from SAPoffice
*--the layout set Office-Telefax will be used.
objtxt-line = 'NOTE : Please Consider the below Headers'.
append objtxt.
clear objtxt.
objtxt-line = 'Assignment --> Purchase order number '.
append objtxt.
clear objtxt.
objtxt-line = 'Document --> Invoice No '.
append objtxt.
clear objtxt.
objtxt-line = 'Amount In DC --> Amount Due '.
append objtxt.
clear objtxt.
objtxt-line = ' '.
append objtxt.
clear objtxt.
objtxt-line = ' '.
append objtxt.
clear objtxt.
objtxt-line = 'Please find attached statement for this week'.
append objtxt.
clear objtxt.
objtxt-line = ' '.
append objtxt.
clear objtxt.
objtxt-line = 'This is an AUTO GENERATED MAIL'.
concatenate objtxt-line 'Please Do not reply to this mail' into
objtxt-line separated by ' '.
append objtxt.
clear objtxt.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
*--Create the document which is to be sent
doc_chng-obj_name = 'List'.
doc_chng-obj_name = 'SAPRPT'.
doc_chng-obj_descr = 'Customer statement for the week'.
concatenate 'Customer statement for '
sy-datum into
doc_chng-obj_descr
separated by ' '.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
*--Fill the fields of the packing_list for the main document:
*--It is a text document
clear objpack-transf_bin.
*--The document needs no header (head_num = 0)
objpack-head_start = 1.
objpack-head_num = 0.
*--but it has a body
objpack-body_start = 1.
objpack-body_num = tab_lines.
*--of type RAW
objpack-doc_type = 'RAW'.
append objpack.
*--Create the attachment (the list itself)
describe table objbin lines tab_lines.
*--Fill the fields of the packing_list for the attachment:
*--It is binary document
objpack-transf_bin = 'X'.
*--we need no header
objpack-head_start = 1.
objpack-head_num = 0.
*--but a body
objpack-body_start = 1.
objpack-body_num = tab_lines.
*--of type G_DOC_TYPE
objpack-doc_type = 'PDF'. "commented on 12/13/2007
objpack-doc_type = 'TXT'. "commented on 12/13/2007
objpack-obj_name = 'Attachment'.
objpack-obj_descr = 'Customer Statement'.
concatenate 'Customer Statement' sy-datum into objpack-obj_descr.
objpack-doc_size = tab_lines * 255.
append objpack.
reclist-receiver = g_email.
reclist-rec_type = 'U'.
reclist-com_type = 'FAX'.
append reclist.
data:xi type soli.
xi-line = 'haisdgsfsdf'.
append xi to xi_pdf.
xi-line = 'haisdfdsfd'.
append xi to xi_pdf.
xi-line = 'haisfgsdfsd'.
append xi to xi_pdf.
xi-line = 'haisdfsgfsdgg'.
append xi to xi_pdf.
*xi_pdf-text = 'hai'.
*append xi_pdf.
*xi_pdf-text = 'hai'.
*append xi_pdf.
*xi_pdf-text = 'hai'.
*append xi_pdf.
*xi_pdf-text = 'hai'.
*append xi_pdf.
CALL FUNCTION 'SO_SOLITAB_TO_SOLIXTAB'
EXPORTING
ip_solitab = xi_pdf[]
IMPORTING
EP_SOLIXTAB = xtext[].
**--Send the document by calling the SAPoffice API1 module for sending
**--documents with attachments
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
IMPORTING
sent_to_all = sent_to_all
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
contents_hex = xtext
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.HI,
There are lots of bugs.
Please refer this sample program to fix it.
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Best regards,
Prashant -
HP LaserJet Pro 200 Color M276nw - Cannot Send Faxes via WIFI
Hi all,
I have a problem sending faxes from my laptop through the HP LaserJet Pro 200 Color M276nw printer.
I can send faxes from the printer device itself if i place a doucment into the feeder.
The problem exists when connecting to the all-in-one device via the WIFI, printing is fine and connection is active though when trying to fax a dcoument from my desktop utilising the FAX driver it complains about the printer being offline and cannot communicate to the all-in-one device?
any help would be appreciated.
Thanks
JonoHey @BSA_IT,
Welcome to the HP Support Forum.
I understand you're having an issue sending faxes from your PC through the HP LaserJet Pro 200 color MFP M276nw. I would like to assist you with this.
The following might help:
Click on Start / Devices and Printers
Double click on your printer's Fax icon
Click See What's Printing
Click Printer
If 'Use Printer Offline' is checked as you'll see in the screenshot below, be sure to uncheck it.
Next, try sending the fax through your laptop as before. If you run into the same issue, try the following steps to rule out Windows settings as interfering with fax sending capabilities:
Click on your Start menu
In the 'search programs and files' box right above Start, type msconfig and hit enter on your keyboard
When the System Configuration Window opens select 'Selective Startup' and uncheck Load Startup Items
Click the Services tab. Check the box at the bottom for Hide All Microsoft Services
Select Disable All
Select Apply and OK
Restart your computer when prompted
Once the computer reboots, trying sending the fax.
To enable the programs after you've tested the machine, just open MSCONFIG the same way and under the general tab, just click 'normal startup' Hit apply and OK and reboot one final time
Please let me know the result of your troubleshooting by responding to this post.
Best of luck!
E-roq
I work on behalf of HP.
Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
Click Kudos Thumbs Up on the right to say “Thanks” for helping! -
Can't Send FAX / FAX not working
Dear Techies,
I am facing a horrible problem in sending FAX. In our company, our directors are using MAC Book Air & Mac Book. I have a MAC Book too (i am a newbie to MAC), which they had given me for testing purpose, so that i should clear all their problems in MAC. so its actually a tough thing...
Now, they are not able to send FAX from these machines. They asked me to provide them the solution, and i tried in and out in my MAC Book, But no way... I googled a lot, i found many of the discussions based on this issue, but i didnt saw any working solution for it. Now its the 3rd day for me to sit with this issue. Hope someone will be here to help me. Let me give you the details...
Hardware: MAC book and Mac Book Air
OS: MAC OS X Version 10.4.10
CPU: 2.16 Ghz Intel Core Duo
Mem: 2 GB 667Mhz DDR2
MODEM: External Apple USB modem
Scenario 1:
I tried sending the fax from safari (File--> Print--> Fax PDF), then specified our internal FAX number, also Dialing prefix as 9(bcoz i am behind a EPABX, so 9 to get dial tone)
To: 63452743 (Fax number, not original)
Dialing Prefix: 9
Dialing: Tone (selected)
Sound: on (selected)
Wait for dial tone before dialing: selected
then i clicked "FAX"
but the result was; FAILURE...
Result 1:
It will dial, and stands like connected, while showing a progress bar "Faxing" in the external modem window. after around 3 minutes, it stops... and shows the following message in the external modem window;
"hold until 05:01 p.m."
again it will try at that specified time, and the result is same.
Scenario2:
I tried with fax command;
fax send 9-66728437 test-file.001
and i tried
fax send 966728437 test-file.001
Result2:
It will also do the same like above and finally gives up, and then it will write a log as the following;
command;
abcs-computer:~ kmr$ sudo fax send 9-66766766 test-file.001
Password:
efax v 0.9a-001114 Copyright 1999 Ed Casas. Compiled Apr 24 2007 20:31:43
efax: Tue Aug 12 17:03:17 2008 opened /dev/cu.usbmodem
efax: 03:18 using Motorola SM56 USB 1.5.6 in class 1
efax: 03:19 dialing T9-667667667
efax: 05:19 Error: dial command failed
efax: 05:19 failed -> test-file.001
efax: 05:19 done, returning 2 (unrecoverable error)
There were errors (see T9-667667667.log).
abcs-computer:~ kmr$
Log;
efax v 0.9a-001114 Copyright 1999 Ed Casas. Compiled Apr 24 2007 20:31:43
efax: Tue Aug 12 17:03:15 2008 TIFF version 4.2 file (little-endian)
efax: 03:15 TIFF directory at 8 with 17 tags, last image.
efax: 03:15 page 1 : test-file.001 + 234 : 1728x2156 @ 204x196 dpi TIFF/FAX
efax: 03:15 argv[0]=efax
efax: 03:15 argv[1]=-v
efax: 03:15 argv[2]=ewin
efax: 03:15 argv[3]=-v
efax: 03:15 argv[4]=chewmainrxtf
efax: 03:15 argv[5]=-d/dev/cu.usbmodem
efax: 03:15 argv[6]=-iZ
efax: 03:15 argv[7]=-i&FE0&D2S7=120
efax: 03:15 argv[8]=-i&C0
efax: 03:15 argv[9]=-iM1L0
efax: 03:15 argv[10]=-o1
efax: 03:15 argv[11]=-l
efax: 03:15 argv[12]=495 2322999
efax: 03:15 argv[13]=-kZ
efax: 03:15 argv[14]=-h
efax: 03:15 argv[15]=2008/08/12 17:03 495 2322999 Put Your Name Here p. %d/%d
efax: 03:15 argv[16]=-t
efax: 03:15 argv[17]=T9-667667667
efax: 03:15 argv[18]=test-file.001
efax: 03:17 opened /dev/cu.usbmodem
efax: 03:17 command "Q0V1"
efax: 03:17 waiting 2.0 s
efax: 03:17 .170 [ATQ0V1<CR><CR><LF>]
efax: 03:17 .401 [OK<CR><LF>]
efax: 03:17 response "OK"
efax: 03:17 command "Z"
efax: 03:17 waiting 5.0 s
efax: 03:17 .501 [ATZ<CR><CR><LF>]
efax: 03:17 .577 [OK<CR><LF>]
efax: 03:17 response "OK"
efax: 03:17 command "&FE0&D2S7=120"
efax: 03:17 waiting 5.0 s
efax: 03:17 .677 [AT&FE0&D2S7=120<CR><CR><LF>]
efax: 03:17 .903 [OK<CR><LF>]
efax: 03:17 response "OK"
efax: 03:18 command "&C0"
efax: 03:18 waiting 5.0 s
efax: 03:18 .078 [<CR><LF>OK<CR><LF>]
efax: 03:18 response "OK"
efax: 03:18 command "M1L0"
efax: 03:18 waiting 5.0 s
efax: 03:18 .304 [<CR><LF>OK<CR><LF>]
efax: 03:18 response "OK"
efax: 03:18 command "E0"
efax: 03:18 waiting 5.0 s
efax: 03:18 .505 [<CR><LF>OK<CR><LF>]
efax: 03:18 response "OK"
efax: 03:18 command "I3"
efax: 03:18 waiting 5.0 s
efax: 03:18 .630 [<CR><LF>Motorola SM56 USB 1.5.6<CR><LF>]
efax: 03:18 .655 [<CR><LF>OK<CR><LF>]
efax: 03:18 response "OK"
efax: 03:18 command "+FCLASS=1"
efax: 03:18 waiting 5.0 s
efax: 03:18 .850 [<CR><LF>OK<CR><LF>]
efax: 03:18 response "OK"
efax: 03:18 using Motorola SM56 USB 1.5.6 in class 1
efax: 03:18 command "+FTM=?"
efax: 03:18 waiting 5.0 s
efax: 03:18 .975 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 03:19 .000 [<CR><LF>OK<CR><LF>]
efax: 03:19 response "OK"
efax: 03:19 command "+FAR=1"
efax: 03:19 waiting 5.0 s
efax: 03:19 .126 [<CR><LF>ERROR<CR><LF>]
efax: 03:19 response "ERROR"
efax: 03:19 dialing T9-667667667
efax: 03:19 command "DT9-667667667"
efax: 03:19 waiting 120.0 s
efax: 05:19 Error: dial command failed
efax: 05:19 failed -> test-file.001
efax: 05:19 command "Q0V1"
efax: 05:19 waiting 2.0 s
efax: 05:19 .325 [<CR><LF>OK<CR><LF>]
efax: 05:19 response "OK"
efax: 05:19 command "Z"
efax: 05:19 waiting 5.0 s
efax: 05:19 .500 [<CR><LF>OK<CR><LF>]
efax: 05:19 response "OK"
efax: 05:19 done, returning 2 (unrecoverable error)
==========
Scenario 3:
i tried sending the Fax with efax command too;
efax -d /dev/cu.usbmodem -o a -v ewincm -t T9667667667 ts-fax.001
The result is same too...
command and log on the screen;
abcs-computer:~ kmr$ efax -d /dev/cu.usbmodem -o a -v ewincm -t T9667667667 ts-fax.001
efax v 0.9a-001114 Copyright 1999 Ed Casas. Compiled Apr 24 2007 20:31:43
efax: Tue Aug 12 13:38:44 2008 Warning: bind returned error 13 - Permission denied
efax: 38:44 opened /dev/cu.usbmodem
efax: 38:44 command "Q0V1"
efax: 38:44 waiting 2.0 s
efax: 38:44 .482 [ATQ0V1<CR><CR><LF>]
efax: 38:44 .714 [OK<CR><LF>]
efax: 38:44 response "OK"
efax: 38:44 command "E0"
efax: 38:44 waiting 5.0 s
efax: 38:44 .840 [ATE0<CR><CR><LF>]
efax: 38:44 .915 [OK<CR><LF>]
efax: 38:44 response "OK"
efax: 38:45 command "I3"
efax: 38:45 waiting 5.0 s
efax: 38:45 .066 [<CR><LF>Motorola SM56 USB 1.5.6<CR><LF>]
efax: 38:45 .091 [<CR><LF>OK<CR><LF>]
efax: 38:45 response "OK"
efax: 38:45 command "+FCLASS=?"
efax: 38:45 waiting 5.0 s
efax: 38:45 .241 [<CR><LF>0,1,8<CR><LF>]
efax: 38:45 .266 [<CR><LF>OK<CR><LF>]
efax: 38:45 response "OK"
efax: 38:45 command "+FCLASS=1"
efax: 38:45 waiting 5.0 s
efax: 38:45 .467 [<CR><LF>OK<CR><LF>]
efax: 38:45 response "OK"
efax: 38:45 using Motorola SM56 USB 1.5.6 in class 1
efax: 38:45 command "+FTM=?"
efax: 38:45 waiting 5.0 s
efax: 38:45 .618 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 38:45 .643 [<CR><LF>OK<CR><LF>]
efax: 38:45 response "OK"
efax: 38:45 command "+FAR=1"
efax: 38:45 waiting 5.0 s
efax: 38:45 .793 [<CR><LF>ERROR<CR><LF>]
efax: 38:45 response "ERROR"
efax: 38:45 dialing T6666666
efax: 38:45 command "DT6666666"
efax: 38:45 waiting 120.0 s
efax: 40:45 .017 [<CR><LF>NO CARRIER<CR><LF>]
efax: 40:45 response "NO CARRIER"
efax: 40:45 Error: dial command failed
efax: 40:45 failed -> ts-fax.001
efax: 40:45 command "Q0V1"
efax: 40:45 waiting 2.0 s
efax: 40:45 .262 [<CR><LF>OK<CR><LF>]
efax: 40:45 response "OK"
efax: 40:45 command "H"
efax: 40:45 waiting 5.0 s
efax: 40:45 .413 [<CR><LF>OK<CR><LF>]
efax: 40:45 response "OK"
efax: 40:45 done, returning 2 (unrecoverable error)
abcs-computer:~ kmr$
And also one more information from /var/log/cups/error.log
I [12/Aug/2008:17:01:24 +0300] Started filter
/usr/libexec/cups/filter/cgpdftoraster (PID 275) for job 12.
I [12/Aug/2008:17:01:24 +0300] Started filter
/usr/libexec/cups/filter/rastertotiff (PID 276) for job 12.
I [12/Aug/2008:17:01:24 +0300] Started backend
/usr/libexec/cups/backend/fax (PID 277) for job 12.
I [12/Aug/2008:17:02:28 +0300] Saving printers.conf...
I [12/Aug/2008:17:02:28 +0300] Printer 'External_Modem' stopped by ''.
E [12/Aug/2008:17:02:28 +0300] PID 277 stopped with status 1!
I [12/Aug/2008:17:02:28 +0300] Hint: Try setting the LogLevel to
"debug" to find out more.
So thats all about all my trials and result.... Please help me to get out of this bad situation...
NOTE: I had changed the original FAX number from this post to different numbers...
Thats all...
Thanks in Advance...
and really awaiting for your valuable comments.First of all, really thanking you 3 for your posts. i dont need to do a internet faxing. The safari, which i mentioned, in the scenario is an example. My director might need to send FAX from doc files, html files, mails, pdf files etc.
So i need a solution to do the FAX through FAX pdf, which is available through printing.
Then regarding the analog vs digital PBX, here we use analog and digital PBX. But i am trying through the analog line. Still, today i went to the telephone people and asked to give me an direct line to check this out. Then i tried from it.
Fax command and faxing through graphical (fax pdf) gives the same error. But efax command showed a different kind of error message which i will post it here... So i think i will have to work on it... so i requested the telecommunication people to give me an direct line to my table for 2-3 days, so that i could run many test on it... but still i am waiting for their confirmation.
Anyway pls have a look at this message, and put forward ur suggestions.
NOTE: i forgot to notify in the previous post that, the main error point in the log files is "NO CARRIER"
Output of command efax:
abcs-computer:~ root# efax -d /dev/cu.usbmodem -o a -v ewincm -t T7777777 /Users/kmr/test-file.001
efax v 0.9a-001114 Copyright 1999 Ed Casas. Compiled Apr 24 2007 20:31:43
efax: Wed Aug 13 09:25:03 2008 opened /dev/cu.usbmodem
efax: 25:04 command "Q0V1"
efax: 25:04 waiting 2.0 s
efax: 25:04 .097 [ATQ0V1<CR><CR><LF>]
efax: 25:04 .330 [OK<CR><LF>]
efax: 25:04 response "OK"
efax: 25:04 command "E0"
efax: 25:04 waiting 5.0 s
efax: 25:04 .456 [ATE0<CR><CR><LF>]
efax: 25:04 .531 [OK<CR><LF>]
efax: 25:04 response "OK"
efax: 25:04 command "I3"
efax: 25:04 waiting 5.0 s
efax: 25:04 .682 [<CR><LF>Motorola SM56 USB 1.5.6<CR><LF>]
efax: 25:04 .707 [<CR><LF>OK<CR><LF>]
efax: 25:04 response "OK"
efax: 25:04 command "+FCLASS=?"
efax: 25:04 waiting 5.0 s
efax: 25:04 .857 [<CR><LF>0,1,8<CR><LF>]
efax: 25:04 .882 [<CR><LF>OK<CR><LF>]
efax: 25:04 response "OK"
efax: 25:04 command "+FCLASS=1"
efax: 25:04 waiting 5.0 s
efax: 25:05 .083 [<CR><LF>OK<CR><LF>]
efax: 25:05 response "OK"
efax: 25:05 using Motorola SM56 USB 1.5.6 in class 1
efax: 25:05 command "+FTM=?"
efax: 25:05 waiting 5.0 s
efax: 25:05 .234 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 25:05 .259 [<CR><LF>OK<CR><LF>]
efax: 25:05 response "OK"
efax: 25:05 command "+FAR=1"
efax: 25:05 waiting 5.0 s
efax: 25:05 .409 [<CR><LF>ERROR<CR><LF>]
efax: 25:05 response "ERROR"
efax: 25:05 dialing T7777777
efax: 25:05 command "DT7777777"
efax: 25:05 waiting 120.0 s
efax: 25:20 .008 [<CR><LF>CONNECT<CR><LF>]
efax: 25:20 response "CONNECT"
efax: 25:20 connected
efax: 25:21 waiting 2.0 s
efax: 25:21 .257 [<CR><LF>OK<CR><LF>]
efax: 25:21 response "OK"
efax: 25:21 received UNKNOWN
efax: 25:21 Warning: bit-reversed HDLC frame, reversing bit order
efax: 25:21 command "+FRH=3"
efax: 25:21 waiting 35.0 s
efax: 25:21 .357 [<CR><LF>CONNECT<CR><LF>]
efax: 25:21 response "CONNECT"
efax: 25:21 waiting 2.0 s
efax: 25:21 .959 [<CR><LF>OK<CR><LF>]
efax: 25:21 response "OK"
efax: 25:21 received CSI - answering ID
efax: 25:21 remote ID -> +000 2 7777777
efax: 25:21 command "+FRH=3"
efax: 25:21 waiting 35.0 s
efax: 25:22 .054 [<CR><LF>CONNECT<CR><LF>]
efax: 25:22 response "CONNECT"
efax: 25:22 waiting 2.0 s
efax: 25:22 .355 [<CR><LF>OK<CR><LF>]
efax: 25:22 response "OK"
efax: 25:22 received DIS - answering capabilities
efax: 25:22 remote has no document(s) to send, and can receive
efax: 25:22 local 196lpi 14.4kbps 8.5"/215mm any 1D - - 0ms
efax: 25:22 remote 196lpi 14.4kbps 8.5"/215mm any 2D ECM-64 - 20/10ms
efax: 25:22 session 196lpi 14.4kbps 8.5"/215mm any 1D - - 10ms
efax: 25:22 command "+FTH=3"
efax: 25:22 waiting 3.1 s
efax: 25:23 .358 [<CR><LF>CONNECT<CR><LF>]
efax: 25:23 response "CONNECT"
efax: 25:23 sent TSI - caller ID
efax: 25:23 waiting 13.6 s
efax: 25:25 .109 [<CR><LF>CONNECT<CR><LF>]
efax: 25:25 response "CONNECT"
efax: 25:25 sent DCS - session format
efax: 25:25 waiting 13.6 s
efax: 25:25 .479 [<CR><LF>OK<CR><LF>]
efax: 25:25 response "OK"
efax: 25:25 command "+FTM=145"
efax: 25:25 waiting 3.1 s
efax: 25:25 .604 [<CR><LF>CONNECT<CR><LF>]
efax: 25:25 response "CONNECT"
efax: 25:25 Warning: termios.iflag is 000000005, not 000001005
efax: 25:25 Warning: terminal mode not set properly
efax: 25:25 waiting 30.0 s
efax: 25:28 .708 [<CR><LF>OK<CR><LF>]
efax: 25:28 response "OK"
efax: 25:28 sent TCF - channel check of 2700 bytes
efax: 25:28 command "+FRS=1"
efax: 25:28 waiting 3.0 s
efax: 25:28 .783 [<CR><LF>OK<CR><LF>]
efax: 25:28 response "OK"
efax: 25:28 command "+FRH=3"
efax: 25:28 waiting 3.0 s
efax: 25:31 waiting 2.0 s
efax: 25:31 .832 [<CR><LF>OK<CR><LF>]
efax: 25:31 response "OK"
efax: 25:31 local 196lpi 14.4kbps 8.5"/215mm any 1D - - 0ms
efax: 25:31 remote 196lpi 14.4kbps 8.5"/215mm any 2D ECM-64 - 20/10ms
efax: 25:31 session 196lpi 14.4kbps 8.5"/215mm any 1D - - 10ms
efax: 25:31 command "+FTH=3"
efax: 25:31 waiting 3.1 s
efax: 25:32 .829 [<CR><LF>CONNECT<CR><LF>]
efax: 25:32 response "CONNECT"
efax: 25:32 sent TSI - caller ID
efax: 25:32 waiting 13.6 s
efax: 25:34 .579 [<CR><LF>CONNECT<CR><LF>]
efax: 25:34 response "CONNECT"
efax: 25:34 sent DCS - session format
efax: 25:34 waiting 13.6 s
efax: 25:34 .931 [<CR><LF>OK<CR><LF>]
efax: 25:34 response "OK"
efax: 25:34 command "+FTM=145"
efax: 25:34 waiting 3.1 s
efax: 25:35 .056 [<CR><LF>CONNECT<CR><LF>]
efax: 25:35 response "CONNECT"
efax: 25:35 Warning: termios.iflag is 000000005, not 000001005
efax: 25:35 Warning: terminal mode not set properly
efax: 25:35 waiting 30.0 s
efax: 25:38 .156 [<CR><LF>OK<CR><LF>]
efax: 25:38 response "OK"
efax: 25:38 sent TCF - channel check of 2700 bytes
efax: 25:38 command "+FRS=1"
efax: 25:38 waiting 3.0 s
efax: 25:38 .231 [<CR><LF>OK<CR><LF>]
efax: 25:38 response "OK"
efax: 25:38 command "+FRH=3"
efax: 25:38 waiting 3.0 s
efax: 25:41 waiting 2.0 s
efax: 25:41 .280 [<CR><LF>OK<CR><LF>]
efax: 25:41 response "OK"
efax: 25:41 local 196lpi 14.4kbps 8.5"/215mm any 1D - - 0ms
efax: 25:41 remote 196lpi 14.4kbps 8.5"/215mm any 2D ECM-64 - 20/10ms
efax: 25:41 session 196lpi 14.4kbps 8.5"/215mm any 1D - - 10ms
efax: 25:41 command "+FTH=3"
efax: 25:41 waiting 3.1 s
efax: 25:42 .283 [<CR><LF>CONNECT<CR><LF>]
efax: 25:42 response "CONNECT"
efax: 25:42 sent TSI - caller ID
efax: 25:42 waiting 13.6 s
efax: 25:44 .034 [<CR><LF>CONNECT<CR><LF>]
efax: 25:44 response "CONNECT"
efax: 25:44 sent DCS - session format
efax: 25:44 waiting 13.6 s
efax: 25:44 .404 [<CR><LF>OK<CR><LF>]
efax: 25:44 response "OK"
efax: 25:44 command "+FTM=145"
efax: 25:44 waiting 3.1 s
efax: 25:44 .529 [<CR><LF>CONNECT<CR><LF>]
efax: 25:44 response "CONNECT"
efax: 25:44 Warning: termios.iflag is 000000005, not 000001005
efax: 25:44 Warning: terminal mode not set properly
efax: 25:44 waiting 30.0 s
efax: 25:47 .635 [<CR><LF>OK<CR><LF>]
efax: 25:47 response "OK"
efax: 25:47 sent TCF - channel check of 2700 bytes
efax: 25:47 command "+FRS=1"
efax: 25:47 waiting 3.0 s
efax: 25:47 .704 [<CR><LF>OK<CR><LF>]
efax: 25:47 response "OK"
efax: 25:47 command "+FRH=3"
efax: 25:47 waiting 3.0 s
efax: 25:50 waiting 2.0 s
efax: 25:50 .754 [<CR><LF>OK<CR><LF>]
efax: 25:50 response "OK"
efax: 25:50 Error: no command/response from remote
efax: 25:50 command "+FTH=3"
efax: 25:50 waiting 3.1 s
efax: 25:51 .757 [<CR><LF>CONNECT<CR><LF>]
efax: 25:51 response "CONNECT"
efax: 25:51 sent DCN - disconnect
efax: 25:51 waiting 13.6 s
efax: 25:52 .033 [<CR><LF>OK<CR><LF>]
efax: 25:52 response "OK"
efax: 25:52 command "H"
efax: 25:52 waiting 5.0 s
efax: 25:52 .259 [<CR><LF>OK<CR><LF>]
efax: 25:52 response "OK"
efax: 25:52 failed -> /Users/kmr/test-file.001
efax: 25:52 command "Q0V1"
efax: 25:52 waiting 2.0 s
efax: 25:52 .504 [<CR><LF>OK<CR><LF>]
efax: 25:52 response "OK"
efax: 25:52 command "H"
efax: 25:52 waiting 5.0 s
efax: 25:52 .655 [<CR><LF>OK<CR><LF>]
efax: 25:52 response "OK"
efax: 25:52 done, returning 3 (invalid modem response)
abcs-computer:~ root#
Thanks in Advance... -
Unable to send fax from computer
Hi,
I'm unable to send faxes from my computer (e.g, from Word). I get a message: "The device is disconnected or powered off", which is not true.
The printer is an HP LaserJet 1536dnf MFP.
The OS is Windows 7 Ultimate, 64-bit, with 8 GB RAM.
I have updated to the latest firmware from the HP site, and have downloaded the latest appropriate driver package for this printer from there as well (hp_M1530_MFP_full_Solution_usb_n_w.exe)
The installation goes normally, and there are no error messages.
The printer is working fine. I am able to print and scan from the computer without problems. I am also able to fax directly from the printer without problems. The only problem is not being able to send a fax directly from the computer.
For instance, in Word (the latest version), when I print to the HP fax printer (which has indeed been installed correctly on the computer), I get a message that the doc has been send to the printer. But no screen pops up letting me type a phone number, and after about 1 minute I get this error:
Have been on the phone for several hours to HP support, and although they did a complete uninstall, and reinstall, the problem persists.
I also downloaded and ran this file from HP: HPLJ_M1530_Fax_IE_11_utility.exe, which is meant to resolve a very similar issue for people who have this Microsoft KB installed (KB2898785), which somehow interferes with the fax exactly as I have described. I do indeed have that Windows update installed. However, running the file did not solve the problem, and there seems to be no way of uninstalling that KB.
So I am at a loss, and would appreciate any help, if anybody can think of anything.
Many thanks
TimHi @Tim613 ,
I see by your post that you are unable to send a fax from the computer. I would like to help.
Since you are able to print and scan from the computer, you don't have a communication issue. The printer will also send a fax, so it isn't a hardware issue. It sounds more like something possibly on the computer is blocking the fax communication.
The Toolbox doesn't support Windows 7 64 bit, but you should still be able to fax through Third Party Software. (Word) Which you have already tried and it didn't work.
I would disable all the start up programs and temporarily turn off the Antivirus Software to see if there is a program interfering in the back ground. How to use MSCONFIG . Click on the start up tab and click disable all.
Try sending a fax again.
Then you will have to go back and enable the startup programs and turn the Antivirus Software back on again.
Let me know the outcome.
Have a wonderful day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
How to send generated Spool file through e-mail
Hi,
We have a ABAP report which generates a spool file. Now there is a requirement to send this spool file to our clients external mail boxes.
Also we would like to automate this so that whenever a spool file is generated, the system should automatically send it as an attachment to user mail inboxes.
Any idea how I can achieve this. Thanks is advance!
Regards,
Vikrant.Hi Vikrant,
Have a look at this code...
z_send_email_fax_global
FUNCTION-POOL z_gfaian_mail_fax. "MESSAGE-ID ..
WORK TABLE AREAS
TABLES: tsp01.
INTERNAL TABLES
DATA: lt_rec_tab LIKE STANDARD TABLE OF soos1 WITH HEADER LINE,
lt_note_text LIKE STANDARD TABLE OF soli WITH HEADER LINE,
lt_attachments LIKE STANDARD TABLE OF sood5 WITH HEADER LINE.
DATA: lt_objcont LIKE STANDARD TABLE OF soli WITH HEADER LINE,
lt_objhead LIKE STANDARD TABLE OF soli WITH HEADER LINE.
DATA: pdf_format LIKE STANDARD TABLE OF tline WITH HEADER LINE.
TYPES: BEGIN OF y_files,
file(60) TYPE c,
END OF y_files.
DATA: lt_files TYPE STANDARD TABLE OF y_files WITH HEADER LINE.
DATA: l_objcont LIKE soli OCCURS 0 WITH HEADER LINE.
DATA: l_objhead LIKE soli OCCURS 0 WITH HEADER LINE.
STRUCTURES
DATA: folder_id LIKE soodk,
object_id LIKE soodk,
link_folder_id LIKE soodk,
g_document LIKE sood4,
g_header_data LIKE sood2,
g_folmem_data LIKE sofm2,
g_header_data LIKE sood2,
g_receive_data LIKE soos6,
g_ref_document LIKE sood4,
g_new_parent LIKE soodk,
l_folder_id LIKE sofdk,
v_email(50).
DATA: hd_dat like sood1.
VARIABLES
DATA: client LIKE tst01-dclient,
name LIKE tst01-dname,
objtype LIKE rststype-type,
type LIKE rststype-type.
DATA: numbytes TYPE i,
arc_idx LIKE toa_dara,
pdfspoolid LIKE tsp01-rqident,
jobname LIKE tbtcjob-jobname,
jobcount LIKE tbtcjob-jobcount,
is_otf.
DATA: outbox_flag LIKE sonv-flag VALUE 'X',
store_flag LIKE sonv-flag,
delete_flag LIKE sonv-flag,
owner LIKE soud-usrnam,
on LIKE sonv-flag VALUE 'X',
sent_to_all LIKE sonv-flag,
g_authority LIKE sofa-usracc,
w_objdes LIKE sood4-objdes.
DATA: c_file LIKE rlgrap-filename,
n_spool(6) TYPE n.
DATA: cancel.
DATA: desired_type LIKE sood-objtp,
real_type LIKE sood-objtp,
attach_type LIKE sood-objtp,
otf LIKE sood-objtp VALUE 'OTF', " SAPscript Ausgabeformat
ali LIKE sood-objtp VALUE 'ALI'. " ABAP lists
CONSTANTS
CONSTANTS: ou_fol LIKE sofh-folrg VALUE 'O',
c_objtp LIKE g_document-objtp VALUE 'RAW',
c_file_ext LIKE g_document-file_ext VALUE 'TXT'.
=================================================================================
z_send_email_fax2
FUNCTION z_faian_mail_fax2.
""Interface local:
*" IMPORTING
*" REFERENCE(SRC_SPOOLID) LIKE TSP01-RQIDENT
*" REFERENCE(FAX_MAIL_NUMBER) TYPE SO_NAME
*" REFERENCE(HEADER_MAIL) TYPE SO_OBJ_DES
*" REFERENCE(OBJECT_TYPE) TYPE SO_ESCAPE
*" TABLES
*" LT_BODY_EMAIL STRUCTURE SOLI
*" EXCEPTIONS
*" ERR_NO_ABAP_SPOOLJOB
Fist part: Verify if the spool really exists
SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
IF sy-subrc NE 0.
RAISE err_no_abap_spooljob. "doesn't exist
ELSE.
client = tsp01-rqclient.
name = tsp01-rqo1name.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = client
name = name
part = 1
IMPORTING
type = type
objtype = objtype
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF objtype(3) = 'OTF'.
desired_type = otf.
ELSE.
desired_type = ali.
ENDIF.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = src_spoolid
desired_type = desired_type
IMPORTING
real_type = real_type
TABLES
buffer = l_objcont
EXCEPTIONS
no_such_job = 14
type_no_match = 94
job_contains_no_data = 54
no_permission = 21
can_not_access = 21
read_error = 54.
IF sy-subrc EQ 0.
attach_type = real_type.
ENDIF.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
owner = sy-uname
region = ou_fol
IMPORTING
folder_id = l_folder_id
EXCEPTIONS
OTHERS = 5.
fill out informations about the header of the email
CLEAR: g_document.
g_document-foltp = l_folder_id-foltp.
g_document-folyr = l_folder_id-folyr.
g_document-folno = l_folder_id-folno.
g_document-objtp = c_objtp.
g_document-objdes = header_mail.
g_document-file_ext = c_file_ext.
g_header_data-objdes = header_mail.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = 'SAVE'
office_user = sy-uname
IMPORTING
authority = g_authority
TABLES
objcont = lt_body_email
attachments = lt_attachments
CHANGING
document = g_document
header_data = g_header_data
EXCEPTIONS
OTHERS = 1.
folder_id-objtp = l_folder_id-foltp.
folder_id-objyr = l_folder_id-folyr.
folder_id-objno = l_folder_id-folno.
object_id-objtp = c_objtp.
object_id-objyr = g_document-objyr.
object_id-objno = g_document-objno.
link_folder_id-objtp = l_folder_id-foltp.
link_folder_id-objyr = l_folder_id-folyr.
link_folder_id-objno = l_folder_id-folno.
REFRESH lt_rec_tab.
CLEAR lt_rec_tab.
lt_rec_tab-sel = 'X'.
lt_rec_tab-recesc = object_type. "This field for FAX/MAIL
lt_rec_tab-recnam = 'U-'.
lt_rec_tab-deliver = 'X'.
lt_rec_tab-not_deli = 'X'.
lt_rec_tab-read = 'X'.
lt_rec_tab-mailstatus = 'E'.
lt_rec_tab-adr_name = fax_mail_number.
lt_rec_tab-sortfield = fax_mail_number.
lt_rec_tab-recextnam = fax_mail_number.
lt_rec_tab-sortclass = '5'.
APPEND lt_rec_tab.
lt_rec_tab-recextnam = fax_mail_number.
lt_rec_tab-recesc = object_type.
lt_rec_tab-sndart = 'INT'.
lt_rec_tab-sndpri = 1.
APPEND lt_rec_tab.
lt_files-file = c_file.
APPEND lt_files.
begin of insertion by faianf01
hd_dat-objdes = header_mail.
CALL FUNCTION 'SO_ATTACHMENT_INSERT'
EXPORTING
object_id = object_id
attach_type = attach_type
object_hd_change = hd_dat
owner = sy-uname
TABLES
objcont = l_objcont
objhead = l_objhead
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
object_type_not_exist = 17
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
x_error = 1000.
IF sy-subrc > 0.
ENDIF.
end of insertion by faianf01
send email from SAPOFFICE
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
folder_id = folder_id
object_id = object_id
outbox_flag = outbox_flag
link_folder_id = link_folder_id
owner = sy-uname
check_send_authority = 'X'
TABLES
receivers = lt_rec_tab
note_text = lt_note_text
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
component_not_available = 1
folder_no_authorization = 5
folder_not_exist = 6
forwarder_not_exist = 8
object_no_authorization = 13
object_not_exist = 14
object_not_sent = 15
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
too_much_receivers = 73
user_not_exist = 35.
ENDIF.
ENDFUNCTION.
=================================================================================
z_send_email_fax
FUNCTION ZCBFS_SEND_MAIL.
""Interface local:
*" IMPORTING
*" REFERENCE(SRC_SPOOLID) LIKE TSP01-RQIDENT
*" REFERENCE(HEADER_MAIL) TYPE SO_OBJ_DES
*" TABLES
*" LIST_FAX_MAIL_NUMBER STRUCTURE SOLI
*" EXCEPTIONS
*" ERR_NO_ABAP_SPOOLJOB
DATA: vg_achou(1) TYPE n.
Fist part: Verify if the spool really exists
vg_achou = 1.
DO 60 TIMES.
SELECT SINGLE * FROM tsp01 WHERE rqident = src_spoolid.
IF sy-subrc IS INITIAL.
CLEAR vg_achou.
EXIT.
ELSE.
WAIT UP TO 1 SECONDS.
ENDIF.
ENDDO.
IF vg_achou = 1.
RAISE err_no_abap_spooljob. "doesn't exist
ENDIF.
client = tsp01-rqclient.
name = tsp01-rqo1name.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
authority = 'SP01'
client = client
name = name
part = 1
IMPORTING
type = type
objtype = objtype
EXCEPTIONS
fb_error = 1
fb_rsts_other = 2
no_object = 3
no_permission = 4
OTHERS = 5.
IF objtype(3) = 'OTF'.
desired_type = otf.
ELSE.
desired_type = ali.
ENDIF.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = src_spoolid
desired_type = desired_type
IMPORTING
real_type = real_type
TABLES
buffer = l_objcont
EXCEPTIONS
no_such_job = 14
type_no_match = 94
job_contains_no_data = 54
no_permission = 21
can_not_access = 21
read_error = 54.
IF sy-subrc EQ 0.
attach_type = real_type.
ENDIF.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
owner = sy-uname
region = ou_fol
IMPORTING
folder_id = l_folder_id
EXCEPTIONS
OTHERS = 5.
fill out informations about the header of the email
CLEAR: g_document.
g_document-foltp = l_folder_id-foltp.
g_document-folyr = l_folder_id-folyr.
g_document-folno = l_folder_id-folno.
g_document-objtp = c_objtp.
g_document-objdes = header_mail.
g_document-file_ext = c_file_ext.
g_header_data-objdes = header_mail.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = 'SAVE'
office_user = sy-uname
IMPORTING
authority = g_authority
TABLES
attachments = lt_attachments
CHANGING
document = g_document
header_data = g_header_data
EXCEPTIONS
OTHERS = 1.
folder_id-objtp = l_folder_id-foltp.
folder_id-objyr = l_folder_id-folyr.
folder_id-objno = l_folder_id-folno.
object_id-objtp = c_objtp.
object_id-objyr = g_document-objyr.
object_id-objno = g_document-objno.
link_folder_id-objtp = l_folder_id-foltp.
link_folder_id-objyr = l_folder_id-folyr.
link_folder_id-objno = l_folder_id-folno.
REFRESH lt_rec_tab.
LOOP AT LIST_FAX_MAIL_NUMBER.
lt_rec_tab-recextnam = LIST_FAX_MAIL_NUMBER-LINE.
lt_rec_tab-recesc = 'U'.
lt_rec_tab-sndart = 'INT'.
lt_rec_tab-sndpri = 1.
APPEND lt_rec_tab.
ENDLOOP.
lt_files-file = c_file.
APPEND lt_files.
hd_dat-objdes = header_mail.
CALL FUNCTION 'SO_ATTACHMENT_INSERT'
EXPORTING
object_id = object_id
attach_type = attach_type
object_hd_change = hd_dat
owner = sy-uname
TABLES
objcont = l_objcont
objhead = l_objhead
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
object_type_not_exist = 17
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
x_error = 1000.
IF sy-subrc > 0.
ENDIF.
send email from SAPOFFICE
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
folder_id = folder_id
object_id = object_id
outbox_flag = outbox_flag
link_folder_id = link_folder_id
owner = sy-uname
TABLES
receivers = lt_rec_tab
note_text = lt_note_text
EXCEPTIONS
active_user_not_exist = 35
communication_failure = 71
component_not_available = 1
folder_no_authorization = 5
folder_not_exist = 6
forwarder_not_exist = 8
object_no_authorization = 13
object_not_exist = 14
object_not_sent = 15
operation_no_authorization = 21
owner_not_exist = 22
parameter_error = 23
substitute_not_active = 31
substitute_not_defined = 32
system_failure = 72
too_much_receivers = 73
user_not_exist = 35.
ENDFUNCTION.
Regards,
Santosh -
Hai,
There is a requirement in one of the projects i am currently working, to send fax from the application to any fax machine in the world. I am now assigned
the task of finding out how this can be done in java. I have been " googling " all day . All i could find are some vague comments on certain posts including this site:
1) This could be done using the javax comm package ( i could not find any detailed explanation as how it could be done or sample code)
2) Could be done by installing some certain software and using it.
By my requirement is to send fax from within my application , not any third party applications. I also cant use the online services which come as the search result
while i "googled".
So can sending faxes be done from a java application using the standard java packages or any extensions? Could any one point me to a sample implementation ?
Any pointers would be appreciated.
Thanking u in advance,
Martin JosephIn order to send fax from a java application you would first have to have a fax server setup. Which would receive files from your application and send it. Now how you utilize it depends upon the implementation of the server. There could be an API made available to you or it could be as simple as dropping your files to a certain folder or ftping them to a certain location on the server itself from where it picks them up and faxes them. So in short the implementation is a function of your server choice and whether you have one already, decide to use an existing one or find one publicly available on the net.
-
Send faxes through F110 and Interest Indicator
Hello all,
we have SAP ECC 6.0. , and it is needed to send faxes through F110 ,
1) I would like to know the steps to send a fax through the f110 transaction
2) Only send faxes for the vendors with interest indicator
3) Do you know some user exit to calculate interest with different interest indicators?
Regards
OlgaHi Olga,
For customers, to use different interest rates, and calculate the interest amount in the payment file created by transaction F110, program RFFOBR_A, you need to:
1) Go to "Define Interest Calculation Types", in customizing (SPRO).
2) Go to "Define Reference Interest Rates" in customizing (SPRO).
3) Go to "Define Time-Based Terms" in customizing (SPRO).
4) Go to Enter Interest Values in customizing (SPRO).
After, go to the customer master data, Company Code data, folder account management and fill the field "Interest Indicato" with the code created in the step 1 above.
When you run the proposal, the payment file will have the interest amount calculated considering the billing amount and the interest rate defined to the customer.
Her in Brazil, we work in this way.....
I hope that this could help you solve your issue....!!!!
Best Regards,
Francisco Moya -
Re: Sending fax from MacPro through multi-function printer.
I am running OS 10.6.8 on my MacPro (Model4, 1), to which is attached a Brother MFC-440CN (with fax capability) through a router. I am able to print, but when I try send a fax I receive the message "NO FAX MODEMS WERE FOUND." I can send and receive fax documents directly through the MFC. Why is the fax not available to the MacPro? How can I resolve the problem?
Thanks for your help.Problem solved! At the Brother website, in the FAQS area, under "How do I send a PC-Fax in Macintosh," I found the following Solution:
Description of Solution 200000017785
To send a PC Fax follow the steps listed below:
1. Create a document in a Macintosh application.
2. From the application click FILE => PRINT. The Printer dialog box appears.
Mac OS X 10.5.x - 10.6.x Users: Click the disclosure triangle beside the Printer pop-up menu to display configuration options.
3. Choose SEND FAX from the pop-up menu.
4. Choose FACSIMILE from the Output pop-up menu.
5. Enter a fax number in the Input Fax Number box, and then click PRINT to send the fax.
NOTE: If you want to send a fax to more than one number, click ADD after entering the first fax number. The destination fax numbers will be listed in Destination Fax Numbers field.
I would assume that this solution may apply to most other MFCs (HP, etc.), depending on an applications software. -
Error when clicking send fax in SAP B1 2007A
Hi,
I'm trying to configure my client's SAP B1 server to be able to send faxes via SBOMailer and MS Fax. I read the guides and documentation.
1. Does faxing only work strictly in the scenarios stated in the documentation?
2. Will it work if:-
a) The server has MS Fax and a fax modem installed; and
b) I am logged in to the server via remote desktop; and
c) I only configured the fax portion of the SBOMailer since I am not using the email function?
Basically, in this scenario, the Service Manager, SBO Mailer, MS Fax, fax modem and SAP Client (because I am using remote desktop) are on the same machine.
I am asking this because I keep getting the following error when I click send:-
"Email address has not been defined for the sender. Cannot send email, SMS, or fax. , 'manager' [Message 3581-4]"
I have checked the company details, business partner details and the fax console's "sender information". They all have email addresses and fax numbers keyed in.
After a few minutes, the fax console shows that the system tried to dial to itself and so got a "no dial tone" error. The file that it sent only contained the Cover page and nothing else. What's going on?
Can anyone out there help me?
Regards,
Jin SiangHi,
Thanks for your advice. That solved one part of the problem. Now the system states "Operation Completed Successfully." BUT nothing appears in the fax console outbox and sent folders. The SBOMailer and MS Fax do not seem to be communicating with each other.
Email settings are blank because it is not used.
For fax settings, I put:-
Microsoft Fax Server: Server IP
Fax Server Type: Microsoft Fax
All tickboxes have been checked.
Schedule settings: On specific date
Connection settings: Correct login settings
Database settings: Correct DB selected
Any ideas, guys?
Thanks,
Chris.
Edited by: Jin Siang Lee on Feb 18, 2009 10:38 AM
Edited by: Jin Siang Lee on Feb 18, 2009 10:44 AM -
Sending faxes wirelessly from macbook pro
Recently switched old printer on wireless network to new HP printer,scanner, fax combo. Everything works but the fax. When I attempt to fax a document, I get an error message stating that no fax modem is available. When I go to "print and fax" area of system preferences, the driver is present for the printer as well as the fax but there is no fax tab to allow me to view which fax modems are present. There is a Dell PC in my household on the same wireless network-- it can scan, print, and fax. Go figure. How do I get my macbook pro to send faxes over the wireless network?
grwjr,
Well, it appears you have installed the HP software OK, but you are following the wrong procedure to send a fax.
As sig said, make sure you have a phone line connected to the HP all-in-one. Then, follow these steps to fax a document:
-Open the document on on your computer.
-Select File->Print
-From the drop-down menu at the top, next to "Printer" select the fax printer.
-Click the Print button.
That's it. To use your HP all-in-one's fax function, you do not use any of your Mac's built-in fax capability. So, don't bother with any of the built-in fax commands. -
How to send fax using java programming
i need to send files in my hard disk through fax using java programming.
i have found on the internet that it is possible to be implemented by using java.comm API and JTAPI. however, i don't know how...does anyone can tell me the details? also, as i know it will be a big project to send fax using such API. is that any other simple way to implement the fax function in java? thx a lot!To cse.mahbub:
Are you aware that you replied to a 5 1/2 year old question?
Please don't do that. Reply only to current questions.
Maybe you are looking for
-
Upgrading from Coldfusion 8 to 10, Flex won't work
Coldfusion 10 Flex 3 Existing Flash Application works with Coldfusion 8 Flex Integration is turned on. Running latest update 12 Linux Machine When I bring up the application I get the following error: mx.messaging.channels::AMFChannel)#3 in
-
I have a wrt54g wireless router - and need to secure it
I have an older router that has never been secured and need instructions on how to secure it. I printed the pgs off the linksys website but it seems that the link has been broken because I can only get part of it to even show up on line, much less p
-
Running Linux Mint on 2011 Macbook pro with OS X Lion
I want to dual boot my Macbook Pro with Linux Mint. I have heard that there are issues using Lion with dual booting Linux? I was wondering if anyone could explain to me how to dual boot with Linux. Thanks for the help!
-
TS3977 Airplay to mirror an image that is shown through our projector...
We have been using AirPlay to mirror an image that is being shown through our projector using ProPresenter 5. The Airplay would allow us to use another projector in another venue to display the same projected image. For some reason, the audio is be
-
What's the point of an off-page bus connector?
I notice busses named the same connecto together through the design, even without using off-page bus connectors. Is there any reason to even use the connectors since they add to the cluster of my designs? Thanks.