Printing from Scala using windows95 /98
NOTE When using NetWare 4.x set the print queue up as a bindery queue.This document is divided into two parts
Form printouts / List printoutsPrinting forms (DDF) documents from Scala
Most DDF documents will at some time contain escape codes. Therefore we recommend using the folllowing printout method.
in the printer connections screen set up your printer with the printer name being exactly the same as the printer name in windows. In the example we have used "testmatrix" as our printer.
In the printer library program set up a printer to be a DOS printer.This is done by typing Dos in the printer type field. /
You will now be able to set up form for this printer, including any initial escape codes you would like to send to the printer.
NOTE: the escape codes in the image to the right are just examples.
You will need to find the right escape codes for the printer you are using and put the decimal equivalent of each escape character in the boxes provided.
In the example the numbers are the decimal equivalent of:
esc(s10h
In the printer connections screen in Scala, name the printer exactly as it is named in windows (tesmatrix). To specify that it is a DOS type printout you should place a "# " in the printer path network field. Always use spool method 1. /
Printing lists from Scala 5.x using NT 4.x servers
In all configurations the first step is to set up a printer in windows printer manager. Keep in mind that all printer control will be handled by the workstation, the server queue will just forward the job to the printer.
There are two ways to print from Scala, one is to choose windows printer dialog, the other is to set up a printer connection in Scala and print to it.
windows printer dialog
To use windows printer dialog do the following.
In the printer library program you will find a printer called win. This is where you set up parameters for font size and style to be sent to windows printer dialog.Only font size and style should be changed here, as the paper size will be taken from the windows printer parameters. /
NO PRINTER CONNECTIONS NEED TO BE CHANGED.
Setting up printer connections in Scala
With windows 95/98 enter the name of the printer as it appears in the windows printer setup. In the example to the right we use "testmatrix" as the printer /In Scala we now enter the same name into printer connections as shown in the graphic. /
If Scala doesn't find the printer referred to when printing, it will print to the windows default printer.
It is best to use only characters compatible with the English alphabet when naming printers (a-z).
Matrix issues:
Set up a custom form with the dimensions of the paper you use. This has to be done on the workstation.as in the diagram below
(form is 32cm wide and 21cm high).