[root@srv-1 usr-1]# cd /tmp
[root@srv-1 tmp]# wget http://www.linuxprinting.org/download/printing/align.ps
--07:04:32-- http://www.linuxprinting.org/download/printing/align.ps
=> `align.ps'
Resolving www.linuxprinting.org... 216.129.135.176
Connecting to www.linuxprinting.org[216.129.135.176]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,352 [application/postscript]
100%[====================================>] 5,352 28.10K/s
07:04:32 (27.98 KB/s) - `align.ps' saved [5,352/5,352]
[root@srv-1 tmp]# wget http://www.linuxprinting.org/download/printing/alignmargins
--07:04:39-- http://www.linuxprinting.org/download/printing/alignmargins
=> `alignmargins'
Resolving www.linuxprinting.org... 216.129.135.176
Connecting to www.linuxprinting.org[216.129.135.176]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8,089 [text/plain]
100%[====================================>] 8,089 4.03K/s
07:04:43 (4.03 KB/s) - `alignmargins' saved [8,089/8,089]
[root@srv-1 tmp]# chmod 700 alignmargins
[root@srv-1 tmp]# ./alignmargins
With this program you can adjust the margins and the position of the
printed contents on the paper. This way you get well-centered printouts and
you can make use of the whole imageable area of your printer, The driver
settings are overridden when this adjustment is used.
This is especially important when your printer is used with a driver for
another printer to which yours is compatible (for example many laser
printers are compatible to the HP LaserJet printers). Your printer prints
with this driver, but the non-printable margins are usually different or the
contents is even not centered. With this program you can fix these problems
The program can only be applied to local printer queues. The following
queues are available:
1 Each
2 One
3 sample
4 hp-laserjet-1200-1
Please enter the number of the desired printer and make sure that it is
connected to your computer and turned on.
Number: 4
Printing margin/offset adjustment page ...
Please read the instructions on the margin adjustment page and determine the
six numbers mentioned there. If you measure in cm and not in inches, devide
the measured quantities by 2.54 before you insert them into the equations
shown on the page. You do not need to create any file with PostScript
commands, this program will insert your settings into your printer's
configuration.
If the adjustment page did not come out of your printer, this method cannot
be applied, press Ctrl + C to stop this program. This can especially happen
with very old PostScript printers.
Note also that this adjustment does not necessarily work with every driver.
The concept is taken from GhostScript and the implementation of this program
is not much tested yet.
Please enter your results now:
ml: 13
mb: 40
mr: 23
mt: 40
x: 75
y: -225
|