question

kraig-qin3183 avatar image
kraig-qin3183 asked ·

online fax customize cover sheet.

The fax In production right now, and already set up real account number with my website, so when someone submit the order, the website will automatic send fax to a real line. The problem is can't customize cover sheet, the frist page is look like unprofessional, and waste too much paper, because the note is on the second pages. So we need the company logo and note on the frist page, that's will save too much paper. The attached file picture 1 is currently situation as you can see, and the picture 2 is what i am want. Could you please help to solve this problem, and what kind of information you need, please let me know, thanks very much!





topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Tyler Liu avatar image
Tyler Liu answered ·
It is possible to customize fax cover page. Please take this as example:  https://github.com/grokify/ringcentral-demos-fax-cover-page
7 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks for your quick response. I saw there customize cover sheet, but how to add the company logo on the file, could you please give me some of technique support, and I am ready with DOC cover sheet. Because we just need one page for each fax, so please help us, thanks very much!
0 Likes 0 · ·
Which programming language are you using? Maybe I can provide your with some sample code. Basically you need to specify coverIndex = 0 :  https://github.com/grokify/ringcentral-demos-fax-cover-page/blob/master/nodejs/index.js#L23  Then the first file attachment will be used as cover. You can use a doc file as cover.
0 Likes 0 · ·
Hi, I just contacted with my engineer, they use the JAVA language, JDK 1.8, the server system is ubuntun 14.04, and web are Tomcat 9. So do you need I upload my cover sheet and help me get the code? Because my engineer are Chinese, so some of they not able to get this instration. Please help me! Thanks very much.
0 Likes 0 · ·
From your original message I can see that your engineers already got the fax sending working (without customized cover page). What they need to do is just do a minor change to their code to specify a custom cover page. I am not an export on Java SDK but if I see the code I can figure out how to adjust it.

Please let your Chinese engineers contact me via QQ 252261703.  I will assist them to get it done.
0 Likes 0 · ·
Here is the Java sample code for sending fax  :  https://github.com/vyshakhbabji/ringcentral-java/blob/master/src/utils/SendFax.java#L48

For disabling the cover page : 

Disable coverPage   by making the body 

(line : 
payload = { to: [{ phoneNumber: config.RC_DEMO_FAX_TO }],
                     faxResolution: 'High',
                      coverIndex: 0
            };
For adding cover page:  

Add your own custom cover page as your firattachmentent as mentioned above by Tyler. 

for example like this: 

RequestBody requestBody = new MultipartBuilder().type(MultipartBuilder.MIXED).addPart(body)    .addFormDataPart("cover", file.getName(), RequestBody.create(faxContentType, file)).addFormDataPart("attachment1", file.getName(), RequestBody.create(faxContentType,file)).build();
1 Like 1 · ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.