You can easily change font and margin on a text file using Xlpd.
If you want to print a file without formatting, you can do so by
files section. To print a text file with formatting:
Xlpd main window. Click the
General tab. Select the queue you want to use. The default queue is selected
if no other queue is available.
Click the Properties button. RESULT: The
Queue Properties dialog box opens. Click the
Print tab. Clear the
Print data without formatting check box. Click the
Font button. RESULT: The Font dialog
box opens. Select a font.
OK. Click the Margins button. RESULT: The
Margins Setup dialog box opens. Set margins.
OK. To print text files of UNIX system on Windows platforms, select
Convert CR to CRLF(Carriage Return & Line Feed) check
OK or Apply. To print a text file on the remote host, use the following
$ lpr -P
$ lpr -d server test.txt
The print command is different among host type. For
a detailed explanation about the command and printer setup, refer
Configuring Remote Printer.
For the usage information of the print command on your system,
please refer to the OS manual accordingly.