PoC for a simple wifi printer driver that enables direct printing to most modern printers from your ZX Spectrum Next.
See the wiki for a list of printers that have been tested as well as more detailed information on the installation procedure.
Don't have a wifi printer? All is not lost, you can run WinPrinterServer on a Windows machine that has a printer configured and make that printer available over the network using your machine to proxy the requests.
To assemble the sample application use the following sjasmplus
command line
sjasmplus src/wifiprn_drv.asm --inc=inc --msg=war --fullpath
- Copy the driver
wifiprn.drv
to the SD Card - Using either the BASIC editor or the Command Line run the following command
.install wifiprn.drv
- Tell the driver what the IP address is of the printer you want to print to on your network by opening the driver on the standard printer stream and providing the IP address. In the example below, replace the IP address with the IP of your printer.
OPEN #3, "d>P>192.168.5.215"
- Test your printer by trying the following BASIC command
LPRINT "Hello World"
Note You need to have the ZX Spectrum Next connected to your network for the driver to work.