Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 876
  • Last Modified:

Print to pdf & Email solution

I have a client that has an Old program and they wish to do the following:

Print an estimate to a pdf printer that will automatically attach itself to the default

email system ready to email.
0
Joseph Salazar
Asked:
Joseph Salazar
  • 3
  • 2
2 Solutions
 
BillDLCommented:
What is the default email client?  You have posted this in the zones covering Outlook Express, Microsoft Office Outlook, and Windows Live Mail.

Does your client already have a "PDF Printer" installed, and if so what is it?

My preference is the free PDFCreator:
http://www.pdfforge.org
http://www.pdfforge.org/content/pdfcreator-user-manual
http://www.pdfforge.org/content/hidden-settings
AutoSave mode allows you to create unique file names and also perform certain actions after the PDF file is created.  One of them is to "Send an email after auto-saving":
http://www.pdfforge.org/content/auto-save-mode

After installing PDFCreator you can set it as the default printer in (depending on the Operating System) Start menu > Settings > Printers and Faxes dialog.  You can also set printer properties and preferences, but the main program configuration settings are made by running "PDFCreator.exe" in the program folder where there is also a help file "PDFCreator_english.chm".

The dialog that opens acts as the printer queue and status dialog, but use the Printer menu > Options and you have some very comprehensive settings including the "Auto-Save" ones where you tell it to save to a specified directory and email it when done.

I have just tested it with Outlook Express in Windows XP and, although I didn't take the time to set up unique file naming, it worked fine with the Date/Time stamp as the file name which is default.

0
 
Joseph SalazarAuthor Commented:
One User uses Outlook express

the other uses outlook 2003
0
 
BillDLCommented:
As long as each is set as the default email client on the respective computers, PDFCreator should be able to open the correct application with the attachment in place after the PDF file is created.

It probably just uses the mailto: protocol to launch the default email application.  It would be easy enough to test the mailto: protocol with a simple desktop shortcut.
Right-Click  New > Shortcut.
Enter this as the "location of item":      mailto:
Click next and enter a name like "Mailto_Test".
Double-Click the shortcut, which would normally take on the icon representing the email application.
It should open a new message with no recipient, subject line, or body text.
You can specify a recipient and subject line in a "mailto:" URL (http://www.cha4mot.com/t_mailto.html) such as shown below, but not required for this simple check.

mailto:billy.bazonka@somewhere.com?CC=gary.gazonka@elsewhere.com&BCC=phil.phazonka@anotherplace.com&Subject=This%20is%20a%20test%20message&Body=Hello%20Guys.%20%20Just%20testing%20the%20mailto%20protocol.

If the "old program" being used to start the Print function does not show the Print dialog and allow the user to select the PDFCreator virtual printer from a list of printers, then you will have to set it as the Default printer.
0
 
Joseph SalazarAuthor Commented:
Simply printed to a PDF and emailed it.

Thanks guys,

Cjoego
0
 
BillDLCommented:
Thank you cjoego
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now