04-18-2007
Printer Model
Are you using the HPLaserJet printer model?
Are you sending raw and text files to the printer?
To find the contents of the print files add a 'cp' statement to the driver file in /usr/spool/lp/admins/lp/interfaces to save a copy somewhere, then examine the file using 'vi' or whatever.
Also see what escape sequences the printer model might add to the print stream though echo statements.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a printer in another state that is setup as follows:
lj8100 printer connected to their printserver (a w2k box);
users connect to a unix app on our Sun server via Exceed (we are two states away via WAN);
users submit print jobs through an established print queue through the unix app to... (0 Replies)
Discussion started by: antalexi
0 Replies
2. UNIX for Dummies Questions & Answers
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies
3. Solaris
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies
4. HP-UX
Hello,
I have a print queue that the jobs are getting stuck in. I've disabled and enabled the queue, lpshut and lpsched the print spooler, and killed a suspected corrupt job. But new requests still get stuck. I can ping the printer by DNS with no problem. What else can I look for? I'm a little... (3 Replies)
Discussion started by: mizzleman
3 Replies
5. Shell Programming and Scripting
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance
sagii (2 Replies)
Discussion started by: sagii
2 Replies
6. Shell Programming and Scripting
Hi,
i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks
sagii (2 Replies)
Discussion started by: sagii
2 Replies
7. Programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
client:Knock Knock
server:who's there
client: Eric
Server:Eric,Welcome.
client:exit
all process terminated
... (1 Reply)
Discussion started by: ouou
1 Replies
8. UNIX for Advanced & Expert Users
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
10. AIX
Hi, have an aix system with something I've never seen happening. All printers are not printing. I see jobs Queued and printer status as READY but jobs just keep getting queued and nothing's printing. Seems to be a system wide problem since it's affecting all printers. Help... (2 Replies)
Discussion started by: flash88
2 Replies
LEARN ABOUT SUSE
escputil
ESCPUTIL(1) Gutenprint 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 Gutenprint project from which this utility was contributed is located at http://gimp-print.sourceforge.net/.
SEE ALSO
lp(4), tunelp(8).
Version 5.2.4 26 Jul 2009 ESCPUTIL(1)