
Xprint F.A.Q. Document revision 10 (16.09.2008)
Page 5/89
For example, if you have a shell script that uses the output from the
A.3 How to configure a Xprint domain ?
The steps to configure a Xprint domain are the followings:
1.
Create an entry "Xprint_db" in the file /etc/services:
Xprint_db xxxx/tcp
where xxxx is a port number which must be the same on all the hosts belonging to the domain.
2. Install Xprint and the licence on each computer.
3. On the first host of the hierarchy, execute the DBinstall command:
$XPRINT_HOME/bin/DBinstall
Answer YES to the question 'is it the first configuration ?', and ATT for the system type.
4. Start Xprint on this host.
5. Define the other hosts of the domain, with
xpadd -hos <host_name> -re <responsibility>
where <host_name> is the host name as defined in /etc/hosts, and <responsibility> is
"POTENTIAL_MASTER"
or "SLAVE"
6. On the other hosts newly defined, execute the DBinstall command:
$XPRINT_HOME/bin/DBinstall
Answer NO to the question 'is it the first configuration ?', and giving the name of the first host started.
As an alternative, you can also use the parmeter "h" of the DBinstall command like this
$XPRINT_HOME/bin/DBinstall -h
7.
Start Xprint on the other hosts.
A.4 How Can I change the left margin values on header & trailer pages ?
For instance, let's see how to have a left margin of 0.4i, on a device using the PJL-PCL5e pcl.
- first create a new PCL similar to the PJL-PCL5e
- modify some capabilities: pboj, pbod, peod with the left margin sequence :"\E&l#U" where # is the number of
decipoints (1/720 inches).
To have a left margin of 0.4i on Header Page:
- set in the pboj capability the sequence: \E&l288U
- set in the pbod capability the sequence: \E&l0U
To have a left margin of 0.4i on Trailer Page:
- set in the peod capability the sequence: \E&l288U
Kommentare zu diesen Handbüchern