Code Monkey home page Code Monkey logo

ras4c64net's Introduction

ras4c64net printer driver
(c) 2020 Bo Zimmerman

Requirements:
This driver works in the C64 and C128 versions of GEOS, Wheels, MP3, and gateWay.

The driver also requires a C64Net WiFi modem from http://electronicsisfun.com or a suitable facsimile running Zimodem firmware version 3.5.4 or better.  Use AT&U to make sure you are running the latest version of the firmware.
 
Lastly, the driver requires a CUPs server that permits remote IPP connections, or a printer which supports both IPP and Sun Raster (ras) image printing.  You will need your IPP host, port, and url below. The url might look something like 192.168.1.50:631/printers/hp_laserjet

Modem Setup:
You will need a terminal program to prepare your modem to use the driver.

The first step is to make sure your modem is set to 1200 baud.  Use ATB1200 to ensure this.

Next you will tell the modem your printers host, port, and url and also print a test page. To do this, enter the following command, substituting your CUPs/IPP printer url where appropriate:
AT+PRINTP:host:port/my-printer/url
Now just enter some text and wait a few seconds, enter +++, and wait a few seconds, and a test page should be printed.
If a page does not appear, or you see ERROR instead of OK after a waiting, then you should check your CUPs or printer settings.

Once your print test is successful, save your printer settings to the modem with AT&W.

Using the Driver:
The driver has been tested with geoWrite and geoPaint (monochrome only), but should work fine in all standard GEOS applications that use your normal printer driver.

The driver works by sending ATR0Q1E0 and then AT+PRINTR which is why you must save your printer url to the modem before using the driver.  

It then converts the GEOS image into a 640 x 720 Sun Raster (RAS) file and transmits the data to the modem.  The modem then converts the image file to an IPP request and transmits to the CUPs server (or IPP printer). This process starts at 1200 baud, but peaks out at 4800 baud -- faster than a normal IEC printer!

Contact me with any questions.

ras4c64net's People

Contributors

bozimmerman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

geos64128

ras4c64net's Issues

Error near $025D on german language Version of GEOS 2.0 and 2.5

I am not sure wether this is driver or GEOS related, but with the german language version of GEOS 2.0 and 2.5 I can reproduce the following issue:

  1. start GeoWrite and load a text document or create a new one and just type some words.
  2. print the document to a CUPS printer using ras4c64net
  3. the print will complete successfully on the CUPS printer
  4. once the print is complete, exit GeoWrite to Desk Top (it's the vanilla Desk Top I'm using here, not Top Desk or any other replacement)
  5. Once Desk Top has finished loading, a popup will show "Error near $025D" and GEOS freezes. This happens with german GEOS 2.0 and german GEOS 2.5

If I repeat the above steps on an english language GEOS 2.0 there is no such problem and the system continues to operate without any problem.

If you are interested, I can attach my the GEOS 2.5 (German) D81 Image or the original G64 images I am using.

EDIT:
I can open / create and edit a document, exit GeoWrite and return to Desk Top without the error if I do not print the document.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.