• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Sco Openserver
    • Sco Unix Support
    • SCO Openserver Installation ISOs
    • SCO Openserver Binaries
    • Add a Hard Drive to an Openserver 5 Virtual Machine
    • Install SCO Vision SQL-Retriever ODBC Driver on Windows 10
    • License Expired on Virtual SCO Openserver Installation
    • How to reset the root password on SCO Openserver 5
  • Scripting
    • PowerShell
      • Add leading zeros
      • Check if a File Exists
      • Grep with Powershell
      • Create Environment Variables
      • Test for open Ports
      • Append to a Text File
    • VBScript
      • Check if a File Exists
      • lpad and rpad functions
      • Windows Update E-Mail Notification
  • Office 365
    • Connect to Office 365 with PowerShell
    • Add or remove an email alias using Powershell
    • Change Primary email address of Active Directory user
    • How to hide an AD user from the Global Address List
    • How to hide mail contacts from the Global Address List
    • Change the primary email address for an account with PowerShell
    • Change Primary email address of an AD User
    • Grant a single user access to access to all calendars
    • Forward email to an external address using Powershell
    • Convert shared mailbox to user mailbox with Powershell
  • Get in Touch
  • About Me
    • Privacy Policy

HP

How to set scan to email on an HP Officejet 8600 with Office 365

April 19, 2014 by Paulie 4 Comments

This post covers how to configure the HP Officejet 8600 to scan to email directly via Office 365.

Generally speaking it is often easier to configure an IIS (or other SMTP) server to act as an internal relay for messaging through Office 365 for office based devices such as scanners and photocopiers, however, sometimes this is not practical, especially in small environments where there is no server.

E-Mailing directly from the Officejet is easy to setup and takes only a couple of minutes to setup.

Setting up scan to email on an HP Officejet 8600 with Office 365

First of all, ensure that your Officejet is connected to your network and has access to the internet. You then need to find out what IP address the printer has, you can do this by doing the following:

From the main menu of the printer touch screen go into “Setup” and then “Network”, then go into “View Network Summary”, choose “View Wired” or “View Wireless” depending on how you have connected the printer to your network and the IP address will be displayed on the screen. Make a note of the IP address.

Browse to to the IP address of your printer from a computer connected to the same network and you will be presented with the Officejet 8600 embedded web server administration system.

From the tabs at the top of the menu choose scan:

Selecting the Officejet 8600 scan menu to setup direct emailing from Office 365

From the scan settings page choose “Scan to E-Mail Setup” and then “Outgoing E-mail Profiles”:

Setting up an Outgoing E-mail profile on the Officejet 8600 to work with Office 365

From the Outgoing E-Mail profiles page, click new:

Officejet 8600 Outgoing E-Mail Profiles

Enter the email address of the account that you are going to be sending messages from. This has to be a valid Office 365 user in your tennat. As you can see I have created a dedicated account called “Message.Relay”, but any active account will work.

Enter a display name for the account, I have called mine “Office 365”.

Officejet 8600 Step 1 of Email Profile Setup

Click Next to move on to step 2.

On Step 2 do the the following:

  • In SMTP Server put “smtp.office365.com”
  • In SMTP Port enter “587”
  • Tick the box that says “Always use secure connections (SSL/TLS)
  • Tick the box that says “SMTP server requires authentication for outgoing e-mail messages”
  • Enter the email address of the Office 365 account you are going to use to send messages from the Officejet
  • Enter the password for the Office 365 account you are going to use.

Officejet 8600 Step 2 of Email Profile Setup

Click next to move on to step 3 of 5.

This screen offers you the chance to specify a pin to prevent unauthorized access to the email scanning function, I didn’t want or need to set this up so just pressed next.

Step 4 of 5 asks you to specify a maximum message size and default CC options. As the default maximum message size in Office 365 is 25Mb I decided to set this to 20Mb so that there is a little bit of margin.

I chose not to receive an automatic CC of the message.

Officejet 8600 Step 4 of Email Profile Setup

Click next to move to the step 5 email setup summary screen:

HP Officejet 8600 Email Profile Setup - Step 5 Summary

Click on “Save and Test” to ensure that all of your settings are correct. Hopefully you should see the following:

Officejet 8600 Outgoing E-Mail Profiles Test Complete

That’s it! You can now scan to email directly from your Officejet Pro 8600 via Office 365.

 

 

Filed Under: How To, Office 365 Tagged With: E-Mail, HP, Office 365

HP Direct PDF Printing and Printer tray control

October 6, 2010 by Paulie 21 Comments

HP Direct PDF printing is a great cross platform driverless printing mechanism which I have used for a number of customers with great results.

A common problem with Direct PDF printing is that it is not possible to include any printer control commands such as tray calls within the PDF and lots of people have been asking how to do this – I checked with HP Technical support and was told it is not possible.

It is possible however to setup a print job with PJL commands and include the PDF documents within that job. The key being to set the printer language/personality to PDF and then using the UEL (Universal Exit Language) command to issue more control commands. After a bit of trial and error I found that this is actually quite straightforward, and thought I would post the code as I was not able to find any working examples:


ESC%[email protected]
@PJL JOB NAME = "paultest2.pdf" DISPLAY = "Printing & Stapling paultest2.pdf"
@PJL SET OUTBIN=OPTIONALOUTBIN1
@PJL SET PROCESSINGTYPE="STAPLING"
@PJL SET PROCESSINGOPTION="LEFT_1PT_ANGLED"
@PJL SET MEDIASOURCE = TRAY3
@PJL ENTER LANGUAGE = PDF

After setting up the job with the above, you can then add the PDF code. After the PDF you either need to end the job or specify more further printing control. In my example I am printing another PDF document right away within the same job but from a different tray, like so:


ESC%[email protected]
@PJL SET MEDIASOURCE = TRAY4
@PJL ENTER LANGUAGE = PDF

Then follow this with more PDF data and then end the job like this:


ESC%[email protected]
@PJL RESET
@PJL EOJ NAME = "paultest2.pdf"
ESC%-12345X

In this example the two PDFs are also being stapled together and the status display on the printer is also updated to show what document is being printed.

All of the above was tested using a HP Laserjet P4015N with a 500-Sheet Stapler/Stacker(CB522A). Although it contains no references to PDF printing, the best reference I have found is this document from HP:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13208/bpl13208.pdf

In production I am doing all of the PJL wrapping via a korn shell script which I’ve tested from IBM AIX, Ubuntu and Sco Openserver 5.0.7.

Filed Under: How To, Technical Posts Tagged With: HP

Primary Sidebar

Link to my LinkedIn Profile
Go to mobile version