06-09-2005
How do you send printer codes to an IP printer
We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp spooler now. When we do this the codes are ignored as the line is too long. Is there away to send raw text to an IP printer that is using the Jet Direct card to setup the queues? I saw an stty option on the lp command, can that be used to put it in raw mode?
Thanx for your help
Jeff
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Experts
How can I configure my workstation in order to be able to sent print?
I am working on a sun workstation with Solaris 8 as its OS. My printer is an HP8000 series and is connected somewhere to our network. I know the IP address of the printer and I have put it in /etc/hosts file. So I... (8 Replies)
Discussion started by: Reza Nazarian
8 Replies
2. Linux
I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
3. Solaris
Hello
how can i send simple txt file to printer from sun ?
tnx (1 Reply)
Discussion started by: umen
1 Replies
4. Solaris
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies
5. AIX
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies
6. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
7. Solaris
Solaris 10:
Having some trouble with a new printer printing control codes. This is an HP MFP M632.
Tried a few ppd files and without a ppd file using commands similar to the follow:
lpadmin -p L4102A -v /dev/null -m netstandard -n... (1 Reply)
Discussion started by: kuliksco
1 Replies
rlpstat(1M) rlpstat(1M)
NAME
rlpstat - print status of LP spooler requests on a remote system
SYNOPSIS
printer] user] [id]...
DESCRIPTION
reports the status of the specified jobs or all requests associated with the specified users on the specified printer. At least one id or
the name of a printer must be specified.
For each request submitted (by command -- see lp(1)) reports the request ID, user's name, total size of the request, date of the request,
and, if it is being transferred, the device.
This command is intended to be used only by the spool system in response to the command and should not be invoked directly (see lpstat(1)).
Options
recognizes the following options and command-line arguments:
Status is requested on the specified printer.
Status is requested on all requests for the user who executed the
command on the specified printer (see the option). You can repeat the option to specify more users. The maximum
number of users that can be specified is 50.
id Status is requested on the specified request IDs (as returned by All the request IDs must be for the same printer.
The maximum number of request IDs that can be specified is 50.
AUTHOR
was developed by the University of California, Berkeley, and HP.
FILES
SEE ALSO
enable(1), lp(1), lpadmin(1M), lpsched(1M), lpstat(1), rcancel(1M), rlp(1M), rlpdaemon(1M).
rlpstat(1M)