SMS: print option for text messaging

  • 0
  • 35
  • Idea
  • Updated 2 months ago
  • (Edited)
I am a U.S. business that works with real estate. I would like for you to consider adding a feature to text messaging (SMS) that would allow us to print out the conversation so that we can put it in our files if we need to. The only way I know to do it right now is a cut and paste into a word program and that is tedious and slow.
Photo of Dale Edwards

Dale Edwards

  • 360 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 35
Photo of Eric L

Eric L

  • 2,526 Points 2k badge 2x thumb
I completely agree with Dale!  The only way to accomplish this now is to copy & paste the text from each message one-by-one.  Unfortunately, doing so does not include date & time stamps, or who sent which message.  All it needs is a simple "Print Conversation" button.
Photo of MacSupport

MacSupport

  • 120 Points 100 badge 2x thumb
I agree, this is a must have for business.

Tried loading the SQL database, but this would requite a bit of SQL magic to accomplish.
(Edited)
Photo of Eric L

Eric L

  • 2,526 Points 2k badge 2x thumb
Is there any update on this?

Again, crucial feature for those who use texting though the desktop app.  We want to start using this feature to communicate with clients, but there's no easy way to print the conversations for documentation.
Photo of Kim

Kim, Alum

  • 43,110 Points 20k badge 2x thumb
Eric- here is a new integration that you may want to look into in the meantime: RingCentral for Dropbox 
Photo of Eric L

Eric L

  • 2,526 Points 2k badge 2x thumb
And does this allow you to print entire text conversations?  Including date & time stamps for each message, and the number each message is from.
Photo of MacSupport

MacSupport

  • 120 Points 100 badge 2x thumb
I had to write a PHP script to output the conversations from RingCentral Messages. It involves 3 steps, so a built-in solution is much needed.

BTW, if anyone wants the PHP script, let me know.
Photo of MacSupport

MacSupport

  • 120 Points 100 badge 2x thumb
Here is a sample screen-shot. The top two balloons in red are the contacts. When printed, there is a page bread for each new contact.

Photo of MacSupport

MacSupport

  • 120 Points 100 badge 2x thumb
Yes. For example this conversation is about 7 pages (in PDF), then the next conversation starts at the top of page 8. Each message is time-stamped.
Photo of Patton Echols

Patton Echols

  • 104 Points 100 badge 2x thumb
@MacSupport.  I'd be interested in looking at your Script if you'll share. 
Photo of MacSupport

MacSupport

  • 120 Points 100 badge 2x thumb
Here is the PHP script. You will still need to import the SQLite database into MySQL on your server first.

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>Ring Central Messages</title>
	<meta name="generator" content="BBEdit 11.5" />
  <link rel="stylesheet" href="sms.css">
</head>
<body>
<h2>Ring Central Messages</h2>
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
		$mysqli = mysqli_connect("localhost", "SQLUSER", "SQLPASSWORD", "DATABASE");
		if (mysqli_connect_errno()) {
		  trigger_error('Database connection failed: '  . mysqli_connect_error(), E_USER_ERROR);
		}
		$now = date('Y-m-d H:i:s');
		$sql  = "SELECT * FROM Messages Where 1 ";
		$sql .= " ORDER BY CreationTime ASC,Conversationid ASC";
		$result = $mysqli->query($sql);
if($result === false) {
  trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $mysqli->error, E_USER_ERROR);
} else {
  $rows_returned = $result->num_rows;
}
$Conversations = '';
echo $rows_returned;
$result->data_seek(0);
//echo '<pre>';
while($row = $result->fetch_assoc()){
    //print_r($row);
    if ($row['ConversationId']) {
    	//$MessageID = $row['CreationTime'].'.'.$row['Id'];
    	$MessageID = $row['RemoteId'];
    	$Conversations[$row['ConversationId']][$MessageID]['MessageTime'] = $row['CreationTime'];
    	$Sender = preg_replace( '/[^0-9]/', '', $row['Sender'] );
    	$Conversations[$row['ConversationId']][$MessageID]['Sender'] = $Sender;
    	$Recipient = preg_replace( '/[^0-9]/', '', $row['Recipients'] );
    	$Conversations[$row['ConversationId']][$MessageID]['Recipient'] = $Recipient;
    	$Conversations[$row['ConversationId']][$MessageID]['Message'] = $row['Subject'];
    	$Conversations[$row['ConversationId']][$MessageID]['Direction'] = $row['Direction'];
    
    }
}
$LastEpoch ='';
$ConvertedConversations ='';
foreach( $Conversations as $ConversationID=>$Conversation ) {
	ksort($Conversation);
	foreach( $Conversation as $ConversationData ) {
		$Epoch = $ConversationData['MessageTime'];
		$ShortEpoch = substr($Epoch,0,-2);
		$mysqldate = date( 'Y-m-d H:i:s', $Epoch ); //.'['.$Epoch.']';
		$ConvertedConversations[$ConversationID][$ShortEpoch]['DateSent'] = $mysqldate;
		$ConvertedConversations[$ConversationID][$ShortEpoch]['Sender'] = $ConversationData['Sender'];
		$ConvertedConversations[$ConversationID][$ShortEpoch]['Recipient'] = $ConversationData['Recipient'];
		$ConvertedConversations[$ConversationID][$ShortEpoch]['Direction'] = $ConversationData['Direction'];
		if($ShortEpoch != $LastEpoch) {
			$ConvertedConversations[$ConversationID][$ShortEpoch]['Message'] = $ConversationData['Message'];
		} else {
			$ConvertedConversations[$ConversationID][$ShortEpoch]['Message'] = $ConvertedConversations[$ConversationID][$ShortEpoch]['Message'].''.$ConversationData['Message'];
		
		}
		$LastEpoch = $ShortEpoch;
	}
}
//echo '<pre>';print_r($ConvertedConversations);exit;
foreach( $ConvertedConversations as $ConversationID=>$Conversation ) {
	ksort($Conversation);
 	//echo '<pre>';print_r($ConversationID);echo '</pre>';
 	$NewConversation = true;
	echo '    <div class="content">';
	foreach( $Conversation as $Message ) {
		if($NewConversation) {
			$NewConversation = false;
			echo '<hr>';
			echo '<p class="triangle-obtuse right">From: '.$Message['Sender'].'</p>';
			echo '<p class="triangle-obtuse left">To: '.$Message['Recipient'].'</p>';
		}	
 		if ($Message['Direction'] == 1){
			echo '<p class="messagedate">'.$Message['DateSent'].'</p><p class="triangle-right left">';
		}else{
			echo '<p class="messagedate">'.$Message['DateSent'].'</p><p class="triangle-right right">';
		}
		echo $Message['Message'].'</p>';
	}
	echo '</div><div class="page-break"></div>';
}
?>
</body>
</html>
Photo of saraamy

saraamy

  • 100 Points 100 badge 2x thumb
To print text messages android, Coolmuster Android Assistant could also help, it could transfer android text messages to computer easily.
(Edited)
Photo of Russell

Russell

  • 104 Points 100 badge 2x thumb
This reply was created from a merged topic originally titled Print SMS Conversation.

We need to be able to print certain communications with our clients, either as PDF or routed to a local or network printer.

We need timestamps to be visible.  Cutting & pasting or taking screenshots is slow and cumbersome.

Please add this feature in the next release!
Thanks :-)
(Edited)
Photo of Kim Ecklund

Kim Ecklund

  • 122 Points 100 badge 2x thumb
I completely agree that this is needed.  I work for a law office and the text feature is fantastic, until you have to print the texts for court. Doing 50 screen shots for a conversation is not realistic.
I would also like to endorse this request to print out text conversations with date/time stamp. Our office would print this to a PDF file for record keeping purposes.
Photo of Mark Whitney

Mark Whitney

  • 82 Points 75 badge 2x thumb
I would like to add to this chain of requests.  I run a small law firm, and more and more clients want to communicate with text messages.  In many cases, it is vital that we save a history of the text communications with time and date stamps.  The best option here would be if one could print the entire history of the text thread to a PDF file.  Please, please, please!!!  We really need this.
Photo of Jami Villarreal

Jami Villarreal

  • 182 Points 100 badge 2x thumb
This reply was created from a merged topic originally titled Desktop app: print SMS.

We need the ability like the old softphone app to see sent messages so that we can print transmission results.
Photo of Captain

Captain

  • 82 Points 75 badge 2x thumb
This reply was created from a merged topic originally titled Is there a way to print a report showing the thread of TEXT messages between some....

I am a US Based ringcentral desktop phone system user. Needing to be able to print out a text thread or forward the thread via email
Photo of Attorney Stagg

Attorney Stagg

  • 60 Points
I have finally figured out a way to save incoming and outgoing texts / conversations.  Use the Microsoft Snip Tool in Windows Accessories.  It is time consuming as you have to snip and save each page of the conversation, but it is the only thang I know to do if a conversation is important enough that you need a hard copy of both sides of conversation.  If I could find a phone service similar to RIngCentral that provides the ability to download full conversations I might change services.
Photo of Andréa Venezio

Andréa Venezio

  • 94 Points 75 badge 2x thumb
This reply was created from a merged topic originally titled Feature Request: Printing Text Messages.

I am a US based customer, and I need to print the content of every text message I exchanged with a specific number over the last year, for my lawyers to bring to an upcoming lawsuit.

However, RC tech support said this was not possible at this time, and said I would have to submit a feature request to make this option available in the future.

If this capability is available, please let me know.  Otherwise, please submit this feature request.

Thanks!