Menu

Home

Bernhard Arp Sørensen

Welcome to your wiki!

INSTALLATION
============

Requirements:
- A newer version of Python 3.X
- PySerial
- PySimpleGUI

Install python "as usual".

Run 'pip install pyserial pysimplegui' to install the other dependencies as administrator or root.

SETUP THE CALCULATOR

Select com port and set/clear relevant flags on the calculator as described in the GUI.

  • Set flag -34
  • Clear flag -33
  • Choose binary mode.

HOW TO USE GUI

Running:

Start the program by double clikcing on "hp48-50-virtual-printer-gui.pyw" or run it from a command line on BSD, mac or linux or use CMD on Windows.

HOW TO USE CLI

Open a command line interface or terminal like CMD on Windows or xterm on UNIX/Linux/Mac.

Run the program hp48-50-virtual-printer-cli.py with relevant arguments:
-p or --port: set the serial port
-s or --speed: set the serial speed

Both arguments are mandatory.

Example:

./hp48-50-virtual-printer-cli.py --port '/dev/ttyUSB0' --speed '115200'

HOW TO PRINT FROM THE HP CALCULATOR

Use commands from the 'PRINT' menu:

PR1: prints only stack level 1.
PRST: prints all objects in the stack.
PRSTC: prints all objects in the stack compact with only one line per object.
PRVAR: print the content of the variable name in stack level 1.

PRINTING GRAPHICS DOESN'T WORK YET.

Start printing from the calculator.

GENERAL INFO

The program creates 3 files:
- comport-settings.txt (name of your chosen com port)
- printer.log (changes you make to your configuration)
- printer.txt (ASCII from your calculator)

FEEDBACK

Any suggestions are most welcome to oz9wtn at gmail dot com.

There are still things to do:
- support for graphics when I learn about the format.

This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses Markdown syntax.

Project Members: