online fax customize cover sheet.

  • 1
  • Question
  • Updated 5 months ago
  • Answered
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!


Photo of Kraig Qin

Kraig Qin

  • 110 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,288 Points 5k badge 2x thumb
It is possible to customize fax cover page. Please take this as example: https://github.com/grokify/ringcentral-demos-fax-cover-page
Photo of Kraig Qin

Kraig Qin

  • 110 Points 100 badge 2x thumb
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.
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,288 Points 5k badge 2x thumb
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.
Photo of John Wang

John Wang, Official Rep

  • 5,278 Points 5k badge 2x thumb
You can add a custom logo by simply using an image tag like the following: <img src="http://path.to/my/logo.png" /> tag.

In the demos available at: https://github.com/grokify/ringcentral-demos-fax-cover-page

You can use the following handlebars HTML template as an example: 

https://github.com/grokify/ringcentral-demos-fax-cover-page/blob/master/ruby/view_coverpage_logo.handlebars#L19
(Edited)
Photo of VB

VB, Official Rep

  • 1,410 Points 1k badge 2x thumb
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();
(Edited)
Hello Tyler,

You offered some sample code in your post. We have several medical clinics which require a privacy notice on the fax cover sheet. Can you provide some sample code in VBA for me to customize the cover sheet?

Thank you