Building printers in Vista
This will cover setting up an HP Laser printer in the following formats on an 8.5 x 11 sheet of paper.
Portrait:
1. 80 columns (10 cpi)
2. 96 columns (12 cpi)
3. 128 columns (16 cpi)
Landscape:
1. 110 columns (10 cpi)
2. 132 columns (12 cpi)
3. 180 columns (16 cpi)
The first thing you will need to do is define the TERM TYPES
These are the fields that will need to be defined in the TERM TYPE file for basic printer functionality.
In the OPEN EXECUTE statement above, the “&l0O” is the PCL command to put the printer into portrait mode. To print in landscape mode you would use “&l1O” instead. That is lower case L, 0 or 1, upper case O.
The 10 in “(s10H” defines the pitch (10 cpi) in this case. This would be 12 for 12 CPI.
Next you will need to define the logical printer. Shown here are six printers printing in 10, 12, and 16 CPI in both portrait and landscape mode. TRAINTWO-L132 would be a printer in landscape mode printing 132 columns.
The following shows how you would define a logical printer named NEWPRINTER-P80.
You will notice, after you define the device type, which is always CHAN for a printer, it takes you back to the top to review what you have defined.
Newline through all of the fields until you get to SUBTYPE which is the TERM TYPE you defined earlier.
Since this is a portrait 80 column report you will want to choose P-HPLASER-P10 as your SUBTYPE.
Anytime you want to save and exit, use the ^ key and it will take you out of the editor and save what you have done.
If you want to jump to a specific field without going through all of the fields you can use the ^fieldname like the below example.
Entering part of a field name will give you all of the fields that start like that. If there is only one it would take you directly to that field without giving you an option.
The following screenshot will show you the minimum fields that are necessary to build a printer. It is also a way to view what fields are defined for a specific printer.
If you ever want to remove a DEVICE, do the following.
Anytime you use an @ symbol on a line it will ask you if you want to delete the line. If it’s at the NAME: prompt then it will ask if you want to delete the entire device.
1903 Wright Place, Suite 120
Carlsbad, CA 92008
Toll-Free (877) 633-7743
Email customercare@medsphere.com