Visit The New, Modern Unix Linux Community


Can I use a general printer(HP LaserJet 1200) on solaris?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Can I use a general printer(HP LaserJet 1200) on solaris?
# 1  
Can I use a general printer(HP LaserJet 1200) on solaris?

can it be used?

how to config it?

thanks
# 2  
The answer is yes you can.

I can't remember if this printer has an in built jetdirect card or not, if it hasn't you can buy one.

Then you can either download the jetdirect software from the web and install the printer through the software

or

for a basic setup you can just and the ip address of the printer to the /etc/host file and add the printer queue like so.

lpadmin -p (printer queue name) -s ( Host name of printer)

i.e lpadmin -pmyqueue -sofficeprinter

To test the printer key in
lp -dmyqueue /etc/group
# 3  
Thanks a lot.

But I'm still somewhat confusing. Would you please tell me what the 'printer queue name' mean???
Smilie Smilie Smilie

Thanks again
# 4  
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.

i.e
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 172.26.3.30.
You then edit your /etc/hosts file and add the line 172.26.3.30 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
Mark
# 5  
If you want me to send you the jetdirect software, give me your email address and I'll pass it on.

Mark
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #707
Difficulty: Medium
The Web console is a debugging tool in the browser which should only be opened and used by web development experts.
True or False?

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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

Featured Tech Videos