04-12-2005
Solaris lp printer filters
I don't have much experience with solaris printers.
I've created a printer using lpadmin. When I tried to print something, I got a message that there a no filters on the server.
I went to docs.sun.com and got a script to add a filter (below)
for filter in *.fd;do
>name=`basename $filter .fd`
>lpfilter -f $name -F $filter
>done
I did run the script, and now when I print something, it has a black border on the page.
How do I list all the filters on my server?
How do I "undo" the above script?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello.
I am trying to make work HP printer Deskjet 692C. I have
Solaris 9 x86.
I tried to use admintool:
I choosed 'HP-printer' and 'Postscript filter' options.
When I want to print something, instead of the text, the printer prints many pages of some kind of code or whatever...
... (1 Reply)
Discussion started by: Peter123456789
1 Replies
2. UNIX for Dummies Questions & Answers
I want to reinstall a network printer (lexmark) on a solaris 8.
I had that working but now I have a Windos message "no printer installed"
I am a newbie... and hve no idea how to handle this situation.
Thanks
jose (2 Replies)
Discussion started by: reda
2 Replies
3. Solaris
Hi All,
Am Trying to configure a Network Printer (HP Laser Jet 4250n) Printer Name hari for a Solaris 5.9 server.
Output of lpstat:
root: lpstat -t
scheduler is running
no system default destination
device for hari: /dev/null
hari accepting requests since Mon Jul 28 10:38:51 2008... (0 Replies)
Discussion started by: efunds
0 Replies
4. Solaris
Hi,
I have a solaris 10 server that I have set up a number of printers on which are working fine. I have set these up from the print manager and used the default list of printers available within print manager to set them up.
There is two or three printers I need to set up which... (1 Reply)
Discussion started by: gwhelan
1 Replies
5. Solaris
Please someone help me to setup HP Cp3505n running with Solaris 10.
Thanks so much! (3 Replies)
Discussion started by: Caktus
3 Replies
6. Solaris
I have configured HP 9040 printer on my solaris server using lpadmin command and printer is working fine but customer is saying that printouts are coming on top of the printer not to side stacks. I would like to know how to send printouts to side stacks insted of top of the printer. Is that... (3 Replies)
Discussion started by: indlove
3 Replies
7. Solaris
Dear all,
we are running a Solaris 10 8/08 Sparc system called 'test-s' where
#lpstat -t shows such a line:
system for mps2_p: printer-s (as lpd://printer-s/printers/mps2_p#Solaris)
How can we get rid of this entry because #lpstat -x mps2_p says
'unknown printer'.
THX for any... (1 Reply)
Discussion started by: xunil321
1 Replies
8. Solaris
I have tried and tried again, to get an HP 4700dn laserjet printer to work on a GI Sun Solaris BOX. I have gone through and added the Printer server and IP to the Host file in the /etc folder and also added the printer ip and printer name itself. when I go to print something the printer shows up in... (7 Replies)
Discussion started by: kane4355
7 Replies
9. UNIX for Advanced & Expert Users
I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting.
Please help (2 Replies)
Discussion started by: solaris_1977
2 Replies
10. Solaris
Hi Guys,
How to configure the ZEBRA printer on Solaris .
only below information is provided.
like how it should appear in printers.conf
and IP to add in hosts file.
In printers.conf:
super_exp_zex2et9x:\
:bsdaddr=server1,super_exp_zex2et9x,Solaris:
super_exp_zex2et1x:\... (1 Reply)
Discussion started by: manalisharmabe
1 Replies
LEARN ABOUT XFREE86
cancel
cancel(1) cancel(1)
NAME
cancel - cancel print request
SYNOPSIS
cancel [ request-ID...] [destination...]
cancel -u user... [destination...]
The cancel utility cancels print requests. There are two forms of the cancel command.
The first form of cancel has two optional arguments: print requests (request-ID) and destinations (destination). Specifying request-ID with
destination cancels request-ID on destination. Specifying only the destination cancels the current print request on destination. If desti-
nation is not specified, cancel cancels the requested print request on all destinations.
The second form of cancel cancels a user's print requests on specific destinations.
Users can only cancel print requests associated with their username. By default, users can only cancel print requests on the host from
which the print request was submitted. If a super-user has set user-equivalence=true in /etc/printers.conf on the print server, users can
cancel print requests associated with their username on any host. Super-users can cancel print requests on the host from which the print
request was submitted. Superusers can also cancel print requests from the print server.
The print client commands locate destination information using the printers database in the name service switch. See nsswitch.conf(4),
printers(4), and printers.conf(4) for details.
The following options are supported:
-u user The name of the user for which print requests are to be cancelled. Specify user as a username.
The following operands are supported:
destination The destination on which the print requests are to be canceled. destination is the name of a printer or class of printers
(see lpadmin(1M)). If destination is not specified, cancel cancels the requested print request on all destinations. Specify
destination using atomic or POSIX-style (server:destination), names. See for information regarding using POSIX-style des-
tination names with cancel. See standards(5) for information regarding POSIX.
request-ID The print request to be canceled. Specify request-ID using LP-style request IDs (destination-number).
user The name of the user for which the print requests are to be cancelled. Specify user as a username.
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
/var/spool/print/* LP print queue.
$HOME/.printers User-configurable printer database.
/etc/printers.conf System printer configuration database.
printers.conf.byname NIS version of /etc/printers.conf.
printers.org_dir NIS+ version of /etc/printers.conf.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
lp(1), lpq(1B), lpr(1B), lprm(1B), lpstat(1), lpadmin( 1M), nsswitch.conf(4), printers(4), printers.conf(4), attributes(5), standards(5)
POSIX-style destination names (server:destination) are treated as print requests if destination has the same format as an LP-style request-
ID. See standards(5).
Some print servers send cancelation notification to job owners when their print jobs have been cancelled. This notification usually comes
in the form of an email message. Cancelation notices cannot be disabled on a Solaris server.
23 Feb 2005 cancel(1)