02-26-2009
printing configuration, line width
Hello,
I have to configure printing format under aix 5.3,
but don t manage to change size of lines.
Thanks if you can help me :
--- Printer description :
I have a printer "pcltest" using HPJetDirect : hplj-4+ (PCL)
I have a queue "qtest" defined on printer hp@pcltest
--- Queue configuration :
papersize is A4.
Default VERTICAL SPACING (lines per inch) 6
--- Print Job configuration :
TYPESTYLE and PITCH courier 10
Print file TYPE c
CODE PAGE of print file [ISO8859-1]
LINES per page [64]
--- driver :
I did install a driver : "/home/root/printers/lexmark-T644-print-drivers-aix5-sysv.pkg" but don t know how to use it.
--- Question :
My probleme is that each line width is about 0,01 centimeter to little.
Therefore, each line is more and more missplaced, and the last line is about 0,5 centimeter up from where it should be printed on the page.
If my question isn t detailed enough, I can send other informations.
Thank You
Last edited by astjen; 02-27-2009 at 04:55 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can someone please tell me how i can increase the number of characters that can be input on the command line? (2 Replies)
Discussion started by: Scoogie
2 Replies
2. Shell Programming and Scripting
Hi,
I need some help with breaking up a given line based on 'fixed width' file.
Something like this:
After the breaking up, I need to have this output format...
First line should have the first 134 characters.
Starting from second line, I should have one line every 61... (3 Replies)
Discussion started by: rputtagunta
3 Replies
3. Shell Programming and Scripting
Hello friends,
Only very recently i started learning sed command...an i found that sed is faster in finding the patterns than some of my scripts that uses grep to check the patten inside a file using line by line search method which is time consuming.
The below script... (4 Replies)
Discussion started by: frozensmilz
4 Replies
4. Shell Programming and Scripting
Source File:
abcdefghijklmnop01qrstuvwxyz
abcdefghijklmnop02qrstuvwxyz
abcdefghijklmnop03qrstuvwxyz
abcdefghijklmnop04qrstuvwxyz
abcdefghijklmnop05qrstuvwxyz
Whatever characters are in 17-18 on each line of the file, it should be concatenated to the same line at the character number... (6 Replies)
Discussion started by: tamahomekarasu
6 Replies
5. Shell Programming and Scripting
Hi everyone,
I have been working on a pretty laborious shellscript (with bash) the last couple weeks that parses my firewall policies (from a Juniper) for me and creates a nifty little columned output. It does so using awk on a line by line basis to pull out the appropriate pieces of each... (4 Replies)
Discussion started by: cixelsyd
4 Replies
6. Shell Programming and Scripting
I have a file with different record length. The file as to be converted into fixed length by appending spaces at the end of record. The length should be calculated based on the record with maximum length in the file.
If the length is less than the max length, the spaces should be appended... (4 Replies)
Discussion started by: Amrutha24
4 Replies
7. UNIX for Dummies Questions & Answers
Help,
I have a text file which looks like
disco 5674536
3456 jambo
disco 453678
4578 jambo
I would like to have an output which looks like below
disco 3456 disco 4578 (4 Replies)
Discussion started by: Indra2011
4 Replies
8. Shell Programming and Scripting
Dear All,
fileName: therm.txt
nc3h7o2h 7/27/98 thermc 3h 8o 2 0g 300.000 5000.000 1390.000 41
1.47017550e+01 1.71731699e-02-5.91205329e-06 9.21842570e-10-5.36438880e-14 2
-2.99988556e+04-4.93387892e+01 2.34710908e+00 4.34517484e-02-2.65357553e-05 3
... (7 Replies)
Discussion started by: linuxUser_
7 Replies
9. Shell Programming and Scripting
Hi Forum.
I have the following script that splits a large fixed-width file into smaller multiple fixed-width files based on input segment type.
The main command in the script is:
awk -v search_col_pos=$search_col_pos -v search_str_len=$search_str_len -v segment_type="$segment_type"... (8 Replies)
Discussion started by: pchang
8 Replies
10. Shell Programming and Scripting
My file (the output of an experiment) starts off looking like this,
_____________________________________________________________
Subjects incorporated to date: 001
Data file started on machine PKSHS260-05CP
**********************************************************************
Subject 1,... (9 Replies)
Discussion started by: samonl
9 Replies
LEARN ABOUT OSF1
printmgr
printmgr(1M) System Administration Commands printmgr(1M)
NAME
printmgr - Solaris Print Manager is a graphical user interface for managing printers in a network
SYNOPSIS
/usr/sadm/admin/bin/printmgr
DESCRIPTION
Solaris Print Manager is a Java-based graphical user interface that enables you to manage local and remote printer access. This tool can be
used in the following name service environments: LDAP, NIS, NIS+, and files. You must be logged in as superuser to use this tool.
Using Solaris Printer Manager is the preferred method for managing printer access because Solaris Print Manager centralizes printer infor-
mation when it is used in a name service environment.
Adding printer information to a name service makes access to printers available to all systems on the network and generally makes printer
administration easier because all the information about printers is centralized.
Solaris Print Manager may be run on a remote system with the display sent to the local system. See the System Administration Guide:
Advanced Administration for instructions on setting the DISPLAY environment variable.
Using Solaris Print Manager to perform printer-related tasks automatically updates the appropriate printer databases. Solaris Print Manager
also includes a command-line console that displays the lp command line for the add, modify, and delete printer operations. Errors and warn-
ings may also be displayed when Printer Manager operations are performed.
Help is available by clicking the <Help> button.
USAGE
Solaris Print Manager enables you to do the following tasks:
Select a Name Service
Select a name service for retrieving or changing printer information.
Add Access to a Printer
Add printer access on a printer client using Solaris Print Manager.
Add an Attached Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Add a Network Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Modify Printer Properties
After adding access to a printer or adding an attached or network printer, you can modify certain printer attributes.
Delete a Printer
Delete access to a printer from the print client or delete a printer from the print server or from the name service environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWppm |
+-----------------------------+-----------------------------+
SEE ALSO
ldap(1), lpget(1M), lpset(1M), attributes(5)
System Administration Guide: Advanced Administration for information on LDAP server replication.
Although users can use the LDAP command line utilities ldapadd(1) and ldapmodify(1)to update printer entries in the directory, the pre-
ferred method is to use lpset. Otherwise, if the lpadd and lpmodify utilities are used, the administrator must ensure that the printer-name
attribute value is unique within the ou=printers container on the LDAP server. If the value is not unique, the result of modifications done
using lpset or the Solaris Print Manager, printmgr(1M) may be unpredictable.
SunOS 5.10 23 May 2003 printmgr(1M)