1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>Job Format Translation</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="UP" title="Printcap Database " href=
12    "printcapref.htm">
13    <link rel="PREVIOUS" title="Bounce Queue " href=
14    "lpdbounce.htm">
15    <link rel="NEXT" title="Dynamic Routing " href=
16    "destinations.htm">
17  </head>
18
19  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
20  "#0000FF" vlink="#840084" alink="#0000FF">
21    <div class="NAVHEADER">
22      <table summary="Header navigation table" width="100%" border=
23      "0" cellpadding="0" cellspacing="0">
24        <tr>
25          <th colspan="3" align="center">LPRng Reference Manual: 5
26          Sep 2003 (For LPRng-3.8.22)</th>
27        </tr>
28
29        <tr>
30          <td width="10%" align="left" valign="bottom"><a href=
31          "lpdbounce.htm" accesskey="P">Prev</a></td>
32
33          <td width="80%" align="center" valign="bottom">Chapter
34          12. Printcap Database</td>
35
36          <td width="10%" align="right" valign="bottom"><a href=
37          "destinations.htm" accesskey="N">Next</a></td>
38        </tr>
39      </table>
40      <hr align="LEFT" width="100%">
41    </div>
42
43    <div class="SECT1">
44      <h1 class="SECT1"><a name="TRANSLATEFORMAT">12.12. Job Format
45      Translation</a></h1>
46
47      <p>Options used:</p>
48
49      <ul>
50        <li>
51          <p><var class="LITERAL">translate_format=</var><span
52          class="emphasis"><i class="EMPHASIS">change outgoing job
53          file formats</i></span></p>
54        </li>
55
56        <li>
57          <p><var class=
58          "LITERAL">translate_incoming_format=</var><span class=
59          "emphasis"><i class="EMPHASIS">change incoming job file
60          formats</i></span></p>
61        </li>
62      </ul>
63      <br>
64      <br>
65
66      <p>A rarely encountered problem is when a job is printed with
67      one format but for compatibility needs to be processed with
68      another. The simple <var class=
69      "LITERAL">translate_format=vlxf</var> option will rename
70      format <var class="LITERAL">x</var> files to <var class=
71      "LITERAL">f</var> format.</p>
72
73      <p>This can be used to resolve problems with PC based
74      software, which spools jobs using the <var class=
75      "LITERAL">v</var> format. Unfortunately, many RCF1179 print
76      spoolers do not understand the <var class="LITERAL">v</var>
77      format and mishandle the job. A simple forwarding queue with
78      the following entries will rename <var class=
79      "LITERAL">v</var> format to <var class="LITERAL">l</var>
80      (binary) format.</p>
81
82      <div class="INFORMALEXAMPLE">
83        <a name="AEN5974"></a>
84<pre class="SCREEN">
85    lp
86      :sd=/var/spool/lpd/%P
87      :translate_format=vl
88      :lp=lp@printerserver
89</pre>
90      </div>
91      <br>
92      <br>
93
94      <p>The <var class="LITERAL">translate_incoming_format</var>
95      will do the same thing, but this time on incoming jobs.</p>
96    </div>
97
98    <div class="NAVFOOTER">
99      <hr align="LEFT" width="100%">
100
101      <table summary="Footer navigation table" width="100%" border=
102      "0" cellpadding="0" cellspacing="0">
103        <tr>
104          <td width="33%" align="left" valign="top"><a href=
105          "lpdbounce.htm" accesskey="P">Prev</a></td>
106
107          <td width="34%" align="center" valign="top"><a href=
108          "index.htm" accesskey="H">Home</a></td>
109
110          <td width="33%" align="right" valign="top"><a href=
111          "destinations.htm" accesskey="N">Next</a></td>
112        </tr>
113
114        <tr>
115          <td width="33%" align="left" valign="top">Bounce
116          Queue</td>
117
118          <td width="34%" align="center" valign="top"><a href=
119          "printcapref.htm" accesskey="U">Up</a></td>
120
121          <td width="33%" align="right" valign="top">Dynamic
122          Routing</td>
123        </tr>
124      </table>
125    </div>
126  </body>
127</html>
128
129