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 following the Printing PS/PCL files section.

To print a text file with formatting:

  1. Open Xlpd main window.
  2. Click the General tab.
  3. Select the queue you want to use. The default queue is selected if no other queue is available.
  4. Click the Properties button. RESULT: The Queue Properties dialog box opens.
  5. Click the Print tab.
  6. Clear the Print data without formatting check box.
  7. Click the Font button. RESULT: The Font dialog box opens.
  8. Select a font.
  9. Click OK.
  10. Click the Margins button. RESULT: The Margins Setup dialog box opens.
  11. Set margins.
  12. Click OK.
  13. To print text files of UNIX system on Windows platforms, select Convert CR to CRLF(Carriage Return & Line Feed) check box.
  14. Click OK or Apply.
  15. To print a text file on the remote host, use the following command line.

    $ lpr -Pserver test.txt
    ¶Ç´Â
    $ lpr -dserver test.txt

Note

The print command is different among host type. For a detailed explanation about the command and printer setup, refer to Configuring Remote Printer. For the usage information of the print command on your system, please refer to the OS manual accordingly.