DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Advanced printer configuration

Creating a printer form

A preprinted ``printer form'' is a blank paper form that you load into your printer. An application typically generates a file that, when printed on the blank form, fills out the form. The print service includes facilities to create and administer forms.

Create a form description file that specifies the format of the form.
For example, create a file /tmp/check.desc and include all or any subset of the following information (substitute your information for the values in bold):

   Page length: 66
   Page width:  80
   Number of pages: 2
   Line pitch: 10
   Character pitch: 16
   Character set choice: any
   Ribbon color: blue
   Comment:
          Check form
   Alignment pattern:
   

XXXX XXXXXXXXXXXXX XXXXXXXXX xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx

The print service uses the alignment pattern to line up the forms before printing begins and prompts you to perform an alignment before printing.

Depending on your printer, specify page length in lines, inches (i), or centimeters (c). Specify page width in columns, inches (i), or centimeters (c). In the example above, page length is specified as 66 lines. If the printer recognizes inches, specify the page length as 11i.


Next topic: Adding a form to the print service
Previous topic: terminfo entry definitions for printers

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004