Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Printing data to a CSV file

Posted on 2013-12-16
6
619 Views
Last Modified: 2013-12-17
Hello,

We are using an old program called "Patterson - Eaglesoft" and have recently switched to a newer program that uses SQL and C#; but we need some of the old data.

Eaglesoft has proprietary databases and the only way to export data is to print it.  In short we need a list of "Referrals" that has slowly been entered in one by one over many years.  This list is roughly 75 pages and each row has 5 columns of data (Name, Address, Specialty, Phone, Email)

I have tried to print the list (as there is no export function), and was able to create a PDF and an XPS document but I need to import this data into a SQL database.

The Database will have several more columns however.

Is there anyway to print to a CSV file or a way to print to a PDF and then convert to a CSV?

Please let me know I am lost in this legacy software!
0
Comment
Question by:PDGPA
6 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 39722319
If your legacy software doesn't offer an export to CSV, then we'll guess at some workarounds.

Do you know what the underlying DB is for Eaglesoft?  If it's something relatively standard, we might find you a way to directly export from the DB to CSV.

Alternatively, you might take another look at the PDF that it prints.  Is it pretty clean w/o extra stuff?  If so, you might use PDFBox to extract the text.  If that extracts pretty well into columns, you could them import the text in Excel and output a clean CSV from there.
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 39722703
If it is a Windows application, then try printing to a text-only printer.  You probably don't have one yet, but go into Windows to create a new printer, select LPT1:, then select "Generic" Manufacturer, and then "Generic/Text Only" printer.  This will print text cleanly with no extra codes, and may just yield acceptable results.

Otherwise, I agree with DanielWilson -- try to find out what database it uses.  If you cannot tell, post a sample file (if you can) and we can look at it here.
0
 
LVL 14

Expert Comment

by:Kutyi
ID: 39722775
Have you tried to run an OCR software on the PDF to get the text out of the PDF?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 14

Accepted Solution

by:
Kutyi earned 500 total points
ID: 39722871
Not sure, but is this the same software and could you follow Patterson's solution? https://pattersonsupport.custhelp.com/app/answers/detail/a_id/11259/kw/export%20data
0
 

Author Closing Comment

by:PDGPA
ID: 39725100
Thanks everyone for your help - Who knew the only way to export data was to run a report and then right click!  

Very excited to update this data and upgrade to our new system!

Thanks again!
0
 
LVL 14

Expert Comment

by:Kutyi
ID: 39725478
Glad to hear it worked!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Insert to Begin if data exists 2 33
SSRS - Date Report Options 2 29
SQL, add where clause 5 24
SQL Recursion 6 19
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question