
Xprint F.A.Q. Document revision 10 (16.09.2008)
Page 8/89
"ISO-100:ECMA-94" language except the 134 and 174 (replaced via map table char_map).
So, depending on the used Pcl, choose your reference language.
If this line is the last of the capability, replace %e by %;
4. Register the Pcl modification in the Xprint database with the following command:
xpmod -pcl <pcl_name> -fi xpterm -ho-
5. You can now add a new job on a printer defined with the modified Pcl. In this add job, specify
that you want to print with the new language:
xpadd -de <printer_name> -dr <document_name> -la mychars
A.8 How can I print a start sheet in landscape mode ?
For instance, let's see how to print the start sheet in landscape, on a device using the HP-LASERJET pcl.
- Edit the file $XPRINT_HOME/PCL/xpterm
- Search for the concerned Pcl
- Copy this Pcl under a new name
- Replace:
boprt=\EE\E&l1H\E&k2G,
to
boprt=\EE\E&l1H\E&l1O\E&k2G,
If you want also to modify the end Sheet:
- Change:
eodoc=\EZ\EE\E&l1H\E&k2G,
# eoprt=,
to
eodoc=\EZ\EE\E&l1H\E&l1O\E&k2G,
eoprt=\EZ\EE\E&l1H\E&k2G,
- Save the file.
- Add the new Pcl in the Xprint database : xpadd -pcl <pcl-name> -fi xpterm
- Create a device using that PCL : xpadd -dev <new-printer> -pc <pcl-name>
Note that these sheets have been built on a PORTRAIT base, therefore, they will be printed onto two pages in
LANDSCAPE.
A.9 How can I send escape sequences at the beginning or at the end of a
job ?
You must define a new Pcl, that will be used by each concerned printer
1) Edit the file $XPRINT_HOME/PCL/xpterm
2) Search for the concerned Pcl
3) Copy this Pcl under a new name
Comentários a estes Manuais