01-28-2009
HPUX model scirpt issue
hi,
I am using HPUX 11.31(Itanium) and HP 5100 printer.
I am using PCL5.nloo model script present in HPUX by default to print to printer.
I am finding issues in printing paper sizes and few other options.
Description of the problem:
When i give a print with option "half" and "Legal" paper, the job is getting printed in Legal paper but the paper size is scaled to A4. The output file of the model script with these options does not have a scaling command.
command executed for viewing output file:
PCL5.nloo 1 1 1 1 "half legal" /Inputfile > /outputfile.
I want to know has anybody used model script and have tried these options and working properly.
I also want to know whether a print method of HP-UX does not have a print command to solve this problem.
Thanks in advance.
9 More Discussions You Might Find Interesting
1. HP-UX
Hi i am just wondering is there a command in hp that you can find the server model on hpux?
Thanks (4 Replies)
Discussion started by: lnineill
4 Replies
2. Shell Programming and Scripting
Hi ,
can any one help me with a perl script for automating file transfer ?
At each step i need to check for the success or failure .
I am trying to connect to the target system for a specified number of times.if it doesnt connect even after 3 retries then the script should exit.
and i have to... (8 Replies)
Discussion started by: sveera
8 Replies
3. Shell Programming and Scripting
Hi,
Can anyone help me out how to login on server using public key autorization.I want to use this on system.
Thanks in advance. (1 Reply)
Discussion started by: LochanM
1 Replies
4. HP-UX
Hi All,
I am getting below error while igniting(restoring image) on 2470 server. i tried with different images it is giving same error. please help me out to resolve this issue
* Making VxFS filesystem for "/usr/aethos/snss/suppimpapp1",
(/dev/vg00/rsuppimpapp1).
*... (3 Replies)
Discussion started by: Prabhu H
3 Replies
5. Shell Programming and Scripting
Hi,
While trying to supress password prompt using ssh. I have added .ssh folder manually and generated public key and added to authorized_keys file in the remote machine. But still it's prompting for passwords with the following message:
Permission denied... (5 Replies)
Discussion started by: 116@434
5 Replies
6. Shell Programming and Scripting
Hi All,
I get the test result file daily after running the main test script. from the resultfile, need to fetch only server info and status and put them in tabular format in a file and as well in CSV format output file.
I tried using awk command but am not able to put them in tabluar... (6 Replies)
Discussion started by: Optimus81
6 Replies
7. HP-UX
Hi all,
There wasn't nsswitch.conf file in my HPUX server. So I copied /etc/nsswitch.files to /etc/nsswitch.conf and changed the content like below.
passwd: compat
group: compat
hosts: files dns nis
ipnodes: dns files
services: nis files
networks: nis... (2 Replies)
Discussion started by: sembii
2 Replies
8. Shell Programming and Scripting
Hi Gurus,
I am stuck with the step where i need to fetch the location & sales from the below procedure by taking it from table field using the for loop. any idea how this can be done in unix. From one column both the location and sales are taken out.
create or replace procedure newyork... (2 Replies)
Discussion started by: arun888
2 Replies
9. Shell Programming and Scripting
I am not getting 1 for the failure scenario for my below code. any help would be greatly appreciated. If the input is invalid i should get exit. But in the below scenario i am not getting the message exit o.
ksh -x client_check.ksh sun
+ + hostname
hn=us
+ ]
+
client_check.ksh: test:... (6 Replies)
Discussion started by: arun888
6 Replies
LEARN ABOUT REDHAT
escputil
ESCPUTIL(1) Gimp-Print Manual Pages ESCPUTIL(1)
NAME
escputil - maintain Epson Stylus inkjet printers
SYNOPSIS
escputil [ -P printer | -r device ] [ -m model ] [ -u ] [ -c | -n | -a | -i | -d | -o | -s | -l | -M | -h ] [ -q ]
DESCRIPTION
escputil is a command line utility to perform various maintenance tasks on Epson Stylus inkjet printers. These tasks include head align-
ment, head cleaning, nozzle check, printer identification, and retrieval of ink level from the printer.
OPTIONS
escputil accepts the following options:
-P, --printer-name=printer
Specify the name of the printer to operate on. The default is the default system printer.
-r, --raw-device=device
Specify the name of the device to write to directly rather than going through a printer queue. You must use this (rather than speci-
fying a printer) when retrieving ink levels or identifying the printer, or if you wish to perform head alignment without specifying
the printer model.
-m, --model=model
Specify the precise printer model for head alignment.
-u, --new
The printer is a new printer (Stylus Color 740 or newer).
-c, --clean-head
Clean the print head. This can also be performed from the printer front panel.
-n, --nozzle-check
Print a nozzle test pattern. Dirty or clogged nozzles will show as gaps in the pattern. If you see any gaps, you should run a head
cleaning pass or two.
-a, --align-head
Align the print head. CAUTION: Misuse of this option may result in poor print quality and/or damage to the printer. You must
either specify the printer model with the -m option, or use the raw printer device to allow escputil to detect the printer model.
-i, --ink-level
Obtain the ink level from the printer. This requires read/write access to the raw printer device.
-d, --identify
Query the printer for make and model information. This requires read/write access to the raw printer device.
-o, --align-color
Align the color print head (used by Stylus Color 480 and 580 only). CAUTION: Misuse of this option may result in poor print quality
and/or damage to the printer.
-s, --status
Retrieve printer status.
-l, --license
Display the license/warranty terms of this program.
-M, --list-models
List the supported printer models.
-h, --help
Display a list of all command line options.
-q, --quiet
Suppress the banner.
BUGS
USB-connected printers sometimes fail to identify or return ink levels. You may have to repeat the command. This is probably a timing
issue in escputil, not a flaw in the printer.
Anything requiring bidirectional communication with the printer (identify, ink levels, or head alignment without specifying the printer
model) requires read/write access to the printer port (for example /dev/lp0). This may require these operations to be performed as root.
In addition, kernel support is required for bidirectional communication. For Linux version 2.2, CONFIG_PRINTER_READBACK should be enabled;
this is called CONFIG_PARPORT_1284 on 2.4 and later kernels.
If the printer is performing self-test or head cleaning on power up, the identify and ink level commands will time out, although the
printer successfully receives the command. The command will need to be reissued when the printer is quiescent.
AUTHORS
Robert Krawitz.
COPYRIGHT
Copyright (C) 2000 Robert Krawitz (rlk@alum.mit.edu)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
OTHER INFORMATION
The homepage of the gimp-print project from which this utility was contributed is located at http://gimp-print.sourceforge.net/.
SEE ALSO
lp(4), tunelp(8).
Version 4.2.4 25 Nov 2002 ESCPUTIL(1)