Operating System - HP-UX
1820636 Members
1851 Online
109626 Solutions
New Discussion юеВ

how do i print a file using jetdirect software

 
Keith Fuller_2
Occasional Contributor

how do i print a file using jetdirect software

I have installed the jetdirect software and printer a test page from the diagnostics menu, but I do not know how to print files normally from the command line. Please can someone help me or show me where i can get further information on this.

Regards


Keith Fuller
6 REPLIES 6
Clemens van Everdingen
Honored Contributor

Re: how do i print a file using jetdirect software

Hi,

Look in: man lp

Here you will find all the options you could use to print a file form command line.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Keith Fuller_2
Occasional Contributor

Re: how do i print a file using jetdirect software

so you use the lp commands with a jetdirect printer ??
Pete Randall
Outstanding Contributor

Re: how do i print a file using jetdirect software

Keith,

In it's simplest form

lp -d name-of-file-you-want-to-print


Pete

Pete
Clemens van Everdingen
Honored Contributor

Re: how do i print a file using jetdirect software

Hi,

Yes I do !
Simple form example in answer before this one.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Wayne Green
Frequent Advisor

Re: how do i print a file using jetdirect software

For diagnostics I have used the hpnpf and hpnpadmin commands. hpnpf will print to a network printer and hpnpadmin lets you query network printers. The printer doesn't have to be added to the lp spooler.Check out the man pages.

Once the printer is configured in the lp spooler you will see hpnpf messages in the /var/adm/lp/log file as the drivers loaded with the jetdirect software use hpnpf.
I'll have a beer, thanks
Sean OB_1
Honored Contributor

Re: how do i print a file using jetdirect software


cat filename | lp -d printername