Hardcopy
Finally, you are happy with the way your graph looks, so you want to print it out on paper. Many types of hardcopy devices are supported within physica, and the one you will be using is the postscript type. This is the default type selected by physica when it starts; you may want to verify this by looking at the first line under the start-up banner of physica. If for some reason, a different type of print device got selected you can always change it by typing:

    device postscript

PostScript is the name of a ``page description language'' that is understood by many high-quality printers out there, including the ones at Brock. The printers are known to physica by their Unix names, and the ones you need to know about are:

lj
the printer of choice, this is the LaserJet 8000 printer in B203. Your output is available for pickup whenever B203 is open, which is most of the time.
brother and fratello
alternate printers in B203 (Brother HL5470DW)
mfc
this is the colour laser printer in the Physics Office (Brother MFC-9840CDW). In general, it is not for student use, but some graphs where colour printing is essential may be printed there. Be sure to obtain the Administrative Assistant's permission in advance of submitting your print job. Locked after hours.
lm10 and lm11
Dell 5350dn printers in H200
lw16
Dell 5350dn printer in H300
Once you know the name of the printer you want to use, get the hardcopy output by following this example:

    PHYSICA: hardcopy
     Device= postscript
     P - Print on a queue
     S - Save into a file
     A - Auxiliary port output
    command >> p
    queue (default= POST_SCRIPT) >> lj

The only things you have to type in here are: p, the command to print, and lj, the name of the printer. The rest of the text shown above is supplied by physica to prompt you.

As you can tell, you could also save the output to a file for printing later or for including it in your lab report, by typing s instead of p, and then by supplying the filename at the last prompt.

If you change your mind in the middle of a hardcopy command, you can use Ctrl-d to interrupt it and to return to the physica prompt.

Note that you need to set the device type only once per physica session. In fact, you may want to create a .physicarc file in your home directory which contains the command device postscript. Next time you start physica, the proper device type will be selected for you.


Up: A simple example Next: Generating your own data Previous: Getting help