10-01-2003
this seems like a mis configured print filter on your sun machine.
what you need to do instead is configure your solaris machine to
be its own print server for the printer, so the solaris interface script will send the right format to the printer
Do the following:
lpadmin -x printer_name
lpadmin -p printer_name -v /dev/null -m netstandard
lpadmin -p printer_name -T unknown -I any
lpadmin -p printer_name -o protocol=tcp -o dest=printer_ipaddres:9100
/usr/bin/enable printer_name
/usr/sbin/accept printer_name
Note:
printer_name will be the name of your printer while printer_ipaddress is the ip address of your printer.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there any documentation as to how to set up/register a printer in Sun Solaris server?
Thanks in advance. (1 Reply)
Discussion started by: simt
1 Replies
2. Shell Programming and Scripting
Hello, Im using a terminal that can configure colors and backgrounds for determinate text with format, but.... how i can put format to some text?
For example, i use:
echo "Hello my friend"
but i want as output
Hello my friend
the colors will be configured in the terminal but how i... (3 Replies)
Discussion started by: Lestat
3 Replies
3. UNIX for Advanced & Expert Users
Hi,
I work at IT department of a home furnishing company in Canada. Presently we are working on printer issue on UNIX system and we like to set up a dummy printer on the system. We are not much sure about the procedure to try it and it woul dbe great if we get some advice to go ahead.
Thanks... (3 Replies)
Discussion started by: srabanti
3 Replies
4. AIX
Fairly simple question, I think. Still trying to get my head around AIX print queues. Most of our problems seem to stem from print queues going down. This generates help-desk calls when users call up to get their queues started or to get rid of the emails that qdaemon sends them.
Looking at... (0 Replies)
Discussion started by: alexop
0 Replies
5. AIX
Hi all,
I am a beginner in AIX. I am facing a problem with remote printing in AIX.
HP laser jet 1320 printer is connected to a printer server (PCI Mini - 100U3), which is configured as remote printer from AIX server.
But I am not able to print from the AIX server by using "lp -d... (0 Replies)
Discussion started by: Rainy
0 Replies
6. UNIX for Dummies Questions & Answers
Currently whenever i run date command output is shown like
Mon Apr 12 05:17:21 IST 2010
When its 17:17 Here.
How would i change it so that it should show.
Mon Apr 12 17:17:21 IST 2010 (8 Replies)
Discussion started by: pinga123
8 Replies
7. SCO
1. Does all the man pr commands work as expected on SCO 5?
2. Do I have to do some special printer setup to connect the printer to the server before trying to print?
Thanks - Much. (1 Reply)
Discussion started by: ggats11
1 Replies
8. Shell Programming and Scripting
Hi,
I have been stuck in this requirement where my file contains the below format.
20150812170500846959990854-25383-8.0.0
"ABC Report" hp96880
"4952"
20150812170501846959990854-25383-8.0.0 End of run
20150812060132846959990854-20495-8.0.0
"XYZ Report" vg76452
"1006962188"... (6 Replies)
Discussion started by: Chinmaya Kabi
6 Replies
9. AIX
Hi All
We have a Zebra LP 2824 that we are wanting to use to print mailing labels from our AIX 7.1 server.
We have around 350 printers of various types and manufactures already installed and functioning so, we don't want to install CUPS.
I can get the printer to print using Line Mode but,... (3 Replies)
Discussion started by: DLooney
3 Replies
LEARN ABOUT SUSE
xpgetprinterlist
XpGetPrinterList(3Xp) XPRINT FUNCTIONS XpGetPrinterList(3Xp)
NAME
XpGetPrinterList - Retrieves a list of all printers supported on an X Print Server.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
XPPrinterList XpGetPrinterList ( display, printer_name, list_count_return )
Display *display;
char *printer_name;
int *list_count_return;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from XOpenDisplay.
printer_name
Specifies the name of the printer for which information is desired. If NULL, then information is returned for all printers associ-
ated with the server.
list_count_return
Returns the number of printers in the list.
DESCRIPTION
XpGetPrinterList returns a list of printer records where each record describes a printer supported by the X Print Server, or NULL if any
errors occur.
If printer_name is NULL, then a list of all printers supported is returned. If printer_name is non-NULL, only print records matching
printer_name are returned, and if no records match printer_name , then NULL is returned.
printer_name is a COMPOUND_TEXT string, and the name and desc fields in the returned list will be in COMPOUND_TEXT (note, ISO 8859-1
(Latin-1) is a proper subset of COMPOUND_TEXT, so can be used directly). If printer_name is in a code-set that the X Print Server cannot
convert (into its operating code-set), then the X Print Server may fail to locate the requested printer. If printer_name is NULL, then all
printer names, regardless of their code-set, can be returned, leaving the task of specific printer recognition up to the caller.
When XpGetPrinterList is called, the caller's locale (see XpSetLocaleHinter) is included in the request as a "hint" to the X Print Server.
If supported by the implementation, the X Print Server will use the hint to locate a localized description for each printer in the list. If
the X Print Server cannot understand the hint, the X Print Server will choose a default. The returned printer list can be freed by calling
XpFreePrinterList.
The XPPrinterList structure defined in <X11/extensions/Print.h> contains:
typedef struct {
char *name; /* name */
char *desc; /* localized description */
} XPPrinterRec, *XPPrinterList;
DIAGNOSTICS
BadAlloc Insufficient memory.
SEE ALSO
XpFreePrinterList(3Xp), XpSetLocaleHinter(3Xp)
X Version 11 libXp 1.0.0 XpGetPrinterList(3Xp)