Visit The New, Modern Unix Linux Community

Top Forums UNIX for Dummies Questions & Answers Can I use a general printer(HP LaserJet 1200) on solaris? Post 31025 by miredale on Thursday 31st of October 2002 07:34:59 AM
Printer queues...

If you run the command below, it will show you what printers you currently have setup on your Solaris server.

lpstat -t | more

You will see a device name (i.e queue name) and then the physical (server) name of the printer.

system for hp2: accounts1 (as printer lpt1_text)
system for bighp1: accounts1 (as printer lpt1_text)

hp2 as above is a queue name that gets used by an application.
This queue actual prints out on a physical server called accounts1. Accounts 1 is the name of the printer in the /etc/hosts files

The same printer is also known as printer queue bighp1 for another application, but physically is the same printer as hp2.

What you need to do,

Attach your HP printer to the network via a jetdirect card. Lets say you set the IP address of the jetdirect card as
You then edit your /etc/hosts file and add the line hp_printer

you should now be able to ping hp_printer (to make sure hp_printer is found over the network)

No lets say you want to create a printer queue called mark for instance to the hp_printer printer.

-p queue name
-s what the printer is known as in the /etc/hosts file
-T interface file hplaser is standard for hp printers
-I font type

lpadmin -p mark -s hp_printer -T hplaser -I pcl

run the lpstat -t | more command again and you should see your queue called mark against a physical printer hp_printer

test the printer by running a native print commnad to the printer queue mark.

-d queue name to send a print request to.
/etc/group is the name of the file to print

lp -d mark /etc/group

The printer should burst into life.

Hope it helps
Test Your Knowledge in Computers #532
Difficulty: Medium
UTF-8 uses a fixed number of bytes to encode characters.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

TRUE Unix-64 Printer Driver for HP-6L laserjet.

Can anyone suggest me from where to download the printer driver for HP 6L laserjet printer for servers/desktops having TRUE Unix-64 and Unixware 7.0 OS. (1 Reply)
Discussion started by: parbende
1 Replies

2. UNIX for Dummies Questions & Answers

Setting a HP printer under Solaris 9

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

3. Solaris

Printer Config for Solaris 5.9

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

Printer can't be removed under Solaris 10

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

5. Solaris

General question about configuring DHCP on Solaris

Dears, my question is that possible to configure any server to work in solaris zone i mean any server cos i read that DHCP can't be work on solaris zone is that real or not Best Regards Alexander Corvinus (4 Replies)
Discussion started by: corvinusbsd
4 Replies

6. Solaris

eXceed and Solaris 10 - General Problems

Greetings! I do no like Exceed, but it all I have. First of all, I started my Solaris 10 with a bare minimum base install. I have built up from it with additions like sudo, gcc, and various other packages that I have needed. Now, I am trying to get Exceed to connect with the server and display a... (17 Replies)
Discussion started by: adelsin
17 Replies

7. UNIX for Advanced & Expert Users

Printer setting in Solaris

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

8. Solaris

Solaris 5.9 - HP Laserjet 9050dn

Hi there, I hope someone could shed a light on my problem. OS is running in local zone (global zone - 5.10). We use many printers from Ricoh etc. Most of them are running fine if configured as below (for Ricoh printers I use their installer): lpadmin -p _printer_ -v /dev/null -A write -i... (0 Replies)
Discussion started by: cyjan
0 Replies

9. OS X (Apple)

12-Core MacPro (2013) kernel_task over 1200%

Yesterday someone asked me to install TeamViewer and share my Mac screen with them while on a conference call. I shut down my Mac before sleeping and woke up to some major problem with my 12-core CPU in hyperdrive, and the system activity monitor showed my Mac kernel_task was at 1,200% and the... (30 Replies)
Discussion started by: Neo
30 Replies
rcancel(1M)															       rcancel(1M)

rcancel - remove requests from a remote printer spooling queue SYNOPSIS
[id ...] [printer] user] DESCRIPTION
The command removes a request, or requests, from the spool queue of a remote printer. is invoked by the command (see lp(1)). At least one id or the name of a printer must be specified. This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly. Options The command recognizes the following options: id Specifying a request ID (as returned by (see lp(1))) cancels the associated request, even if it is currently printing. The maximum number of ids that can be specified is 50. printer Name of the printer (for a complete list, use (see lpstat(1))). Specifying a printer cancels the request which is cur- rently printing on that printer, if the request is owned by the user. If the or the option is specified, this option only specifies the printer on which to perform the corresponding cancel operation. Remove all requests owned by the user on the specified printer (see printer). The owner is determined by the user's login name and host name on the machine where the command was invoked. Empty the spool queue of all requests for the specified printer. This form of invoking is useful only to users with appropriate privileges. Remove any requests queued belonging to that user (or users) for the specified printer. You can repeat the option to specify more users. The maximum number of users that can be specified is 50. This form of invoking is useful only to users with appropriate privileges. WARNINGS
A remote print request can be canceled only from the system on which the the original command was issued, and if the restrict cancel fea- ture (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by the system admin- istrator or the user who requested it. This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly. AUTHOR
was developed by the University of California, Berkeley, and HP. FILES
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). rcancel(1M)

Featured Tech Videos

All times are GMT -4. The time now is 01:57 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy