12-04-2013
Please gives as output
lpstat -o
and
lpstat -r
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Has anyone used the above microsoft tool that creates a backup / cab file of printers & drivers on a PC. If so any had the following message -
EnumPorts failed with 7a
As a result no ports are backed up, any ideas ?? (0 Replies)
Discussion started by: gefa
0 Replies
2. UNIX for Advanced & Expert Users
I have a printer on sun solaris configured on a terminal server I want to print on this printer from windows xp or windows 2003 I put the devices that want to print in the hosts and hosts.lpd file
and the I use the comman lpr -S my_server -P unix_printer my_file
but the job didn't go . can I... (1 Reply)
Discussion started by: maher2000@hotma
1 Replies
3. HP-UX
Hi,
Could any one please let me know what is the option
available in UNIX to print by specifying the paper size?
We are using Unix11i. I could n't see any option specified in the 'lp' command to print the report by specifying the size of the paper. It would be of great help to me, if... (1 Reply)
Discussion started by: ukarthik
1 Replies
4. HP-UX
Hello
I've been google'ing to try to find an answer to my question but can't seem to find it.
What I want to do is to pass the email address of a user printing from the HP-UX to a printer attached to a Windows 2003. The printing is done using lp.
I can see that the printjob on windows has... (0 Replies)
Discussion started by: jacma
0 Replies
5. SCO
i have application of gestion instaleled in sco openserver but i want to config my printing in my windows xp
name of my print is epson lq 2080
and it's instaled in windows xp
thank all ;);):):b::b::b:
i accede to my server sco open whith logiciel putty (2 Replies)
Discussion started by: skambram
2 Replies
6. Programming
Sorry, I meant to type "porting C codes from Solaris 10, x86 to cygwin in Windows"
I just installed cygwin 1.7 to my Windows PC.
I have a C program that compiles fine using gcc on Solaris 10, x86. This C program contains system calls like:
system ("ls -l > file.txt");
and
system... (3 Replies)
Discussion started by: serendipity1276
3 Replies
7. Shell Programming and Scripting
abc.dat
tty cpu
tin tout us sy wt id
0 0 7 3 19 71
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 133.2 0.0 682.9 0.0 1.0 0.0 7.2 0 79 c1t0d0
0.2 180.4 0.1 5471.2 3.0 2.8 16.4 15.6 15 52 aaaaaa1-xx
I want to skip first 5 line... (4 Replies)
Discussion started by: kchinnam
4 Replies
8. Shell Programming and Scripting
Hi,
I have to print a excel file in solaris server. I am using lexmark printer with post script printer driver . But the problem is when i am using " lp -d <printer name> <somefile name.xls>" command it is not printing correctly. but for pdf file using the same command it printing correctly.
... (2 Replies)
Discussion started by: Sambuddha
2 Replies
9. UNIX for Dummies Questions & Answers
Currently, I have a print filter that takes a text file, that convert it into PCL which then gets to a HP printer. This works.
Now I need to embedded a image file within the text file.
I'm able to convert the image file into PCL and I can cat both files together to into a single document... (1 Reply)
Discussion started by: chedlee88-1
1 Replies
10. AIX
Hopefully this is the correct place to post this, if not please let me know.
I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies
accept(1M) System Administration Commands accept(1M)
NAME
accept, reject - accept or reject print requests
SYNOPSIS
accept destination...
reject [-r reason] destination...
DESCRIPTION
accept allows the queueing of print requests for the named destinations.
reject prevents queueing of print requests for the named destinations.
Use lpstat -a to check if destinations are accepting or rejecting print requests.
accept and reject must be run on the print server; they have no meaning to a client system.
OPTIONS
The following options are supported for reject:
-r reason Assigns a reason for rejection of print requests for destination. Enclose reason in quotes if it contains blanks. reason
is reported by lpstat -a. By default, reason is unknown reason for existing destinations, and new printer for destinations
added to the system but not yet accepting requests.
OPERANDS
The following operands are supported.
destination The name of the destination accepting or rejecting print requests. Destination specifies the name of a printer or class of
printers (see lpadmin(1M)). Specify destination using atomic name. See printers.conf(4) for information regarding the
naming conventions for atomic names.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/lp/* LP print queue.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|CSI |Enabled (see NOTES) |
+-----------------------------+-----------------------------+
SEE ALSO
enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), printers.conf(4), attributes(5)
NOTES
accept and reject affect only queueing on the print server's spooling system. Requests made from a client system remain queued in the
client system's queueing mechanism until they are cancelled or accepted by the print server's spooling system.
accept is CSI-enabled except for the destination name.
SunOS 5.10 8 Feb 1999 accept(1M)