Operating System - HP-UX
1752857 Members
4021 Online
108790 Solutions
New Discussion юеВ

Lexmark T622-on HP-UX 11.00

 
Praveen Kumar BOJJA
Occasional Contributor

Lexmark T622-on HP-UX 11.00

I installed Lexmark Enhanced Drivers.By lexprt I am invoking lexmark GUI based Tool.To create virtual device and Queue.I could create virtual device.But when I am not able to create queue.System is telling me that Print Subsystem is not able start and creation of queue is not successful.
1.Is there any way over come this problem?
2.Is there any other methods to print from HP-UX by using lexmark T622 printer?

Praveen Kumar BOJJA
6 REPLIES 6
Geoff Wild
Honored Contributor

Re: Lexmark T622-on HP-UX 11.00

This is how I setup my Lexmark printers:

The Lexmark driver package must be installed first.

The file to download from http://drivers.lexmark.com/ is DRIVERS-HPUX1X.PKG.Z

uncompress it then swinstall it.

It will install "Lexmark Enhanced Printer Drivers Package" and "Lexmark Screen Fonts Package". After completion, run: /opt/lexmark/setup.print (use the default of bin for Administrative group, and install fonts as an additional font directory.

Then use lexprt program to add queues.

See Enhanced Printer Drivers for UNIX Systems for more information.

Here's a sample session:

Lexmark Enhanced Printer Drivers for UNIX(R) Systems. Version 4.6
By Lexmark

------------------------------------------ [ Main menu ] ------------------------------------------

1) Create a virtual device (mklexdev)
2) Change a virtual device (chlexdev)
3) List virtual device settings (lslexdev)
4) Remove virtual devices (rmlexdev)

5) Create a queue (mklexque)
6) Change a queue (chlexque)
7) List queue settings (lslexque)
8) Remove queues (rmlexque)

9) List queue status (lpstat -p)



---------------------------------------------------------------------------------------------------
Numbered item, [r] Redraw Screen, [?] Help, [e] Exit
Choice:


First, you must create the virtual device:

1) Create a virtual device (mklexdev), enter device name (same as queue) then 3) Network connection then accept.

Next, change the Logfile absolute path to: /var/adm/lp/.log
where is the queue name.

Second, create the queue by selecting 5) Create a queue (mklexque)

The print queue subsystem must be
shutdown to create the queue.
Do you want to continue?

[y] Yes, [n] No, [r] Redraw Screen, [e] Exit
Choice:


Answer y (only if monitoring is disabled - " /tmp/iprprt.lock ").

Enter the queue name (same as virtual device), press a to accept, then select the virtual device from the list. Use the following settings:

Current Printer Lexmark 2390 plus Printer
Printer Language Raw


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mark Greene_1
Honored Contributor

Re: Lexmark T622-on HP-UX 11.00

To start the Print subsystem, launch sam, select Printers and Plotters, select LP Spooler, select Printers and Plotters, select Actions from the menu, and then select Start Spooler.

HTH
mark
the future will be a lot like now, only later
Praveen Kumar BOJJA
Occasional Contributor

Re: Lexmark T622-on HP-UX 11.00

Hi Geoff,

I succeded untill creating the virtual device.But When I am creating the queue as you said i faced with the question
"The print queue subsystem must be
shutdown to create the queue.
Do you want to continue? "

I responded with "Y".
But there is no file " /tmp/iprprt.lock ".
And I got the message Creation is of Queue is not successful.
Error:Unable to start print subsystem.Please contact your system administrator.

Regqads,
Praveen Kumar BOJJA





Geoff Wild
Honored Contributor

Re: Lexmark T622-on HP-UX 11.00

Don't worry about the .lck file - that's only something I have for MC Service Guard.


Error: Unable to start print subsystem

Hmnn...are you root? I'm assuming yes.

What happens when you:

lpshut
lpsched -v

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Praveen Kumar BOJJA
Occasional Contributor

Re: Lexmark T622-on HP-UX 11.00

# lpshut
scheduler stopped
# lpsched -v
scheduler is running

Regards,
Praveen Kumar BOJJA
Geoff Wild
Honored Contributor

Re: Lexmark T622-on HP-UX 11.00

When you created the queue, when you got to the "Printer Language" screen, and selected 2 for RAW - did the "Print subsystem" shutdown?

Where are you putting your logfiles? make sure that directory exists....

I wonder if it's a permission issue with one of the lp directories....

Do a :

ls -ld /etc/lp

ls -ld /var/adm/lp

ls -ld /var/spool/lp

Did you run the setup.print in the /opt/lexmark directory?

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.