1836605 Members
1631 Online
110102 Solutions
New Discussion

Re: About Printing

 
juno2
Super Advisor

About Printing

Our HPUX is connecting a printer through a jet direct print server , now we want to print a graphic ( eg. banner ) on the unix shell , is it possible ? thx.
3 REPLIES 3
Michael Steele_2
Honored Contributor

Re: About Printing

vi the following file:

/etc/lp/interface/pr1

...where pr1 is the name of your printer.

Search for the "banner" variable and uncomment it out, or, make it say "banner = yes"

Alternatively:

#lp -d -t "title" pr1

The lp command is often hard coded in gui interface software. If this is the case the add "-t title".

Cheers - hic
Support Fatherhood - Stop Family Law
Rajeev  Shukla
Honored Contributor

Re: About Printing

Can you please explain what exactly you want to print? coz. in unix you can print anything as long as the printer is configured properly using the right model script and you have a file for the graphic you want to print.
Try
#banner hello|lp -d

If you just want to print the banner called hello
juno2
Super Advisor

Re: About Printing

I don't know that when I submit a print job ( eg . printf "xxx" /dev/tty " , how to attach a graphic file that on the UNIX system? thx.