print-buffer - Print buffer, with formatting
print-region - Print region, with formatting
n print-buffer
n print-region
print-buffer and print-region print the current buffer or region, respectively, using high-lighting where appropriate. The hilighting assigned to a buffer is defined by the variable $buffer-hilight(5) the print scheme is defined with print-scheme(2), the scheme-editor(3) should be used to create printer schemes.
The printing is typically configured using print-setup(3), which can be found in the main menu under File->Printer Setup.
The numerical argument n is generally used for macro development, it changes the default behaviour of these commands as follows:
-2
-1
0
1
When either of these commands are executed the macro file print.emf is executed to configure the printer (in a same vain as me.emf is executed to configure MicroEmacs for general usage). After the macro file has been executed the "/print" registry must contain the information required for printing. Following is a list of registry entries and their use:
flags (integer)
0x0f - Destination of the printer output.
paper-x (integer)
paper-y (integer)
page-x (integer)
page-y (integer)
specifier-x (integer)
specifier-y (integer)
font-face (string)
rows (integer)
cols (integer)
mtop (integer)
mbottom (integer)
mleft (integer)
mright (integer)
header (string)
footer (string)
port (string)
buffer (string)
file (string)
strip (integer)
device (string)
eof (string)
eol (string)
eop (string)
sof (string)
sol (string)
sop (string)
scont (string)
econt (string)
hsep (string)
vsep (string)
wsep (string)
xsep (string)
bg-color (integer)
command-line (string)
Printing under Microsoft Windows Environments automatically invokes a dialog box to assign and configure the printer page characteristics. The dialog box allows the printer to be selected, enables line numbering, headers and footers.
The dialog allows the user to select the font size, by defining the number of characters that appear on a logical page, and the number of logical pages that appear on a physical page. Selecting the logical and physical page characteristics determine the size of the font. For dense pages with a small typeface then a point size of 6 is appropriate. For clarity, a larger typeface of 10 or 12 points is advised.
The last printer configuration selected by the user is held in the registry file "print.erf" which is loaded into the /print-history registry section. This feature is implemented in the macro file print.emf.
Landscape printing under Microsoft Windows environments is temperamental.
Font selection under Microsoft Windows environments does not always determine the most appropriate font size.
The printer interface does not support native postscript generation. (In progress).
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12