Knowledgebase
Online Technical Support
Software Upgrades: Please check our latest Download section.
Search Tip: You can increase the accuracy of your searches by using as many keywords as possible. Remove any common words such as "a", "or", "the" as they will be used in the search. Do not use any operands such as +, or quotation marks to enclose phrases.
|
Issue:
How to configure Linux LPR printing when using a Perle terminal server.
Solution:
Assuming that you are using the Linux print configuration tool to add a remote printer, here is an example of a /etc/printcap entry. I have highlighted the entries that the Linux print configuration tool will ask you before it generates a printcap file. Note: At time of writing, the printcap file existed in RedHat Linux 8 and may or may not apply to future RedHat Linux releases.
jsport1:\
:sd=/var/spool/lpd/jetstream:\
:mx#0:\
:sh:\
:rm=jetstream:\
:rp=raw_p1
where;
jsport1 is the print queue name.
jetstream is the host table entry for the terminal server
raw_p1 is the queue type whereby p1 refers to port 1. ie., raw_p
The LPD queue name for Jetstream serial port is made up of 2 components, the queue type and port number (e.g. ascii_p2).
There are 2 queue types: ascii which filters out non-ascii characters (text printing in the unix environment) and raw which has no filter.
The port number is the Jetstream port number.
The queue name for the parallel port is the same except the p is removed (e.g. ascii_9).
The LPD queue name for the IOLAN+ serial port is defined on the Port configuration -> Name parameter.
Sending a printjob would require a command similar to the following example:
lpr -P jsport1
Note that you are specifying the print queue name of "jsport1" to direct the printfile.
1.)