PH Easy Remote Print

Probe House Software
by Wong CK
© Copyright 2012-2020

Version 3.0



PH Easy Remote Print is a remote print client with a GEM GUI. To submits a printjobs to a remote printer, either by a simple drag and drop or by using the parallel port redirector to PHERP.

PH Easy Remote Print understands common network print protocols such the traditional Unix Line Printer Daemon (LPD) protocol, the TCP/IP RAW protocol (or port 9100 protocol) from Windows environment and the cloud print technology using Google Cloud Print. PH Easy Remote Print have successfully submitted print jobs to a shared printer on Windows 7, a shared printer on Windows 2008 Server, standalone printer and standalone Multi Function Device (MFD).
PH Easy Remote Print is freeware.

Requirements

  1. This runs on MINT with MintNET.
  2. Development was done on Mint 1,18, while lower MINT versions are not fully verified/tested on.
  3. Either a network printer with RAW protocol, a print server (Windows, Linux, Mac) that is running LPD service or a printer connected to Google via Google Cloud Print.

Installation

  1. Extract and copy all the files into a folder of your choice. For example d:\pherp.
  2. Copy lpherp.xdd to your Mint system folder where all the other XDD lives. Reboot to load it.
  3. If required, install your printer driver for your target remote printer. This may be the NVDI printer drivers.
  4. Set the output of your printer driver to u:/dev/lpherp via the print to file option.
  5. The 68030-060 version is called pherp.prg, the Firebee version is called pherpcf.prg and the 68000 version is called pherp00.prg.
  6. Double click pherp.prg to run it.
  7. PH Easy Remote Print MUST BE CONFIGURED to run (there are no defaults set)
You could make PH Easy Remote Print run every time you boot up by using the run command in your Xaaes.cnf file.

The App Window

This is the main window of the application. You should place it somewhere visible on your desktop but out of the way of your main working area. Just drag & drop the file to be printed on this window to get it printed on the remote printer. The file must be already in a format that the remote printer understands. This is normally the PCL (Printer Control Language) format.
  • The app window is just an icon.
  • To submit a file for printing, just drag and drop the file on to this window/icon.
  • Right click on the window/icon to get to the options menu.
  • If an error occurs during spooling, an error indicator will appear on this window..
To move the app, click & hold anywhere on the app window until the mouse turns into a hand. Drag and release it to the new location.

Options Menu

Right click on the app window/icon for the popup menu.
  • The About displays.... well, the about of the app
  • Select Configuration to get into the configuration window
  • Select View Queue see the selected remote printer queue
  • Select Quit to exit the application

Configuration Window

The configuration of PH Easy Remote Print must be completed before it can be used. There are no default settings.

Configuration for RAW protocol

  • Printing protocol
    1. Select the RAW option as the printing protocol.
  • Settings
    1. For Printer IP, enter either the remote printer hostname or printer IP address.
  • Test print job
    1. Click on the button to sent a test printout to the remote printer.
    2. If settings above are correct, you should get the printout on the remote printer.

Configuration for LPR protocol

  • Printing protocol
    1. Select the LPR option as the printing protocol.
  • Settings
    1. For Server name, enter either the hostname or IP address of the remote LPD server. This can also be the address of the standalone MFD.
    2. For Print queue, enter the shared printer queue name on the remote LPD server. If it is a standalone MFD, you can either use the same hostname or lp (default printer)
  • Test print job
    1. Click on the button to sent a test printout to the remote printer.
    2. If settings above are correct, you should get the printout on the remote printer.

Configuration for Google Cloud Print

  • Printing protocol
    1. Select the Google Cloud Print option as the printing protocol.
  • Settings
    1. If you have not permitted PHERP to use your Cloud printers, the "click here to authenticate" button will appear instead of a list of possible printers to use. See section on how to allow PHERP to use Google Cloud Print.
    2. If a list of printers are available from the drop down list, select one to be used as the remote cloud printer. This list of cloud printers depends on what you shared on the cloud.
  • Test print job
    1. Click on the button to sent a test printout to the remote printer.
    2. If settings above are correct, you should get the printout on the remote printer.


Printer Queue Window

This shows the print jobs in the printer queue of the LPD server pointed to by the settings in the Configuration Window.
Note: This window is disabled for RAW protocol and Google Cloud Print.
  • All print jobs including those of other users will be displayed. The default username used by PH Easy Remote Print is PHSW.
  • To delete a print job, the print job must be sent from the same machine.
    1. Select the job to delete by clicking on it in the list box.
    2. Click the DELETE button to delete it. The list box will refresh after a second. The selected print job should not be listed any more.


Setting up the LPHERP.XDD to redirect your print spool

The lpherp.xdd is a Mint line printer device that will spool your print job and notify PHERP when it completed the spooling. This replaces the clumsy folder watching method previous used that consumes CPU time whenever it takes a look at the folder.
  1. Copy lpherp.xdd in to your Mint system folder where the other device drivers XDD are located.
  2. Reboot Mint so that lpherp.xdd is loaded. On next startup, check that lpherp is located in U:/dev folder.
  3. On your favourite printer driver (NVDI 5 in this example), select the printer driver that has nearest compatibility to your network printer (example: HP laserjet for PCL printer) and then set the output to lpherp by keying in the complete MINT device pathname U:/DEV/LPHERP into the fileselector of Interface PORT field.
    Note: you need to type in the full pathanme NOT by navigating using the mouse.
This completes the setup of LPHERP.XDD on your Atari.
Now just print normally from any application and your print out will be on your shared printer.

PHERP may use RAW protocol or LPD Protocol. Google Cloud Print seems to not understand PCL and will not work. RAW protocol seems to be much faster than LPD protocol in my testing.

My network printer setup
I use a HP 401n network printer that uses dhcp to get an ip address of 192.168.3.81. I use this ip adress for both in RAW printer IP and LPD server name, as seen in screen shots of Configuration Window above. For LPD server print queue, I use the generic lp queue. With lpherp.xdd, I can printout directly from QED, Atari Works and Papyrus, using GDOS device 21 (NVDI loads PCL driver into device number 21) to the HP 401n network printer.

Setting up the LPD service on a remote host

Follow one of these tutorial to setup the LPD server in your network.
For Windows, you may need to turn off "Password protected sharing". This can be found in "Control Panel > Network & internet > Network & Sharing Center > Change Advanced Sharing Settings > All Networks > Password protected Sharing" right at the bottom of the window. Yeah, pretty well hidden.

Setting up a cloud printer on Google Cloud Print service

You will need a Google account to share your printer via Google Cloud Print. Follow the links below on how to setup such a printer.

Allowing PHERP to use Google Cloud Print

Google Cloud Print is a secured service, and you have to allow an application to use your shared printers. To allow PHERP to use your shared printers, you will have to logon to Google and allow PHERP to access the printer resources, by providing to Google a special code. This special code will be presented to you by PHERP when you click on the "Click here to authenticate" button.
  1. Click on the "Click here to autenticate" button.
  2. You will be presented with a code and a website to go to, on a new window.
    Do not close this windows unless you want to cancel the authentication.
  3. On your favourite browser on Windows, OSX or Linux, go to the website stated above.
  4. You may need to log on to the website using your Google account.
  5. Enter the code when asked and permit Probe House Software to use the mentioned resources (these should be just the printer stuff only).
  6. Go back to your Atari, the code and website window should close automatically in a couple of seconds.
  7. A list of available shared cloud printers should be displayed now. Select the printer of your choice by clicking on the printer name.
Note that your print job will be streamed through the web to reach the cloud printer, it will be secured by SSL encryption during this entire process. So you print job will remain safe from others.

Atari printer device driver

As PH Easy Remote Print only sents a print job over to the remote printer, in general, a printer device driver is required to generate the printout file if it is using any of the GDOS fonts or GEM graphics/drawings features. Only printing out pure text, you do not require a printer device driver. This generated printout file is normally in some sort of page description language (PDL) such as HP Printer Control Language (PCL) or Postscript (PS). The printer on receiving this PDL file will render and printout the page.

A well known printer device driver for Atari is NVDI. It supports many printers model and understands several different PDL. On NVDI you will need to make it save the printout into a file in a specific folder. Please refer to page 14 on configuration ports of the NVDI 5 user manual on how to do this.

If you are using a different printer device driver, please make sure you make it save the PDL into a file.

Now that you have a PDL file saved in a specific folder, all you have to do is to drag this file to PH Easy Remote Print window.

However, for Google Cloud Print, the Google Server itselfs understands file format such PDF, JPEG, PNG, DOC, XLS, PPT, RTF, HTML, TEXT and Postscript, so there is no need to generate a PDL file for using Google Cloud Print. If a format is not regconised by the remote printer, it will be flagged as an error and will not be printed out. The status of the printjob can be viewed from the Google Website itself.


Config and working files

The config file is called pherp.cfg located at the same folder of the app. It is created by the app itself on exit. Information from the Configuration window among others are stored here.


Limitations


What's New & Fixes


Future developements

None.


Questions, comments, or error reports? Please leave a post at Atari-Forum.com
Visit my web site at https://sites.google.com/site/probehouse/