1825775 Members
2074 Online
109687 Solutions
New Discussion

printing multiple files

 
Dorian Hunt
Occasional Contributor

printing multiple files

I am running HP UX 10.2 and I am having a bit of a problem when trying to print
multiple files to a Fiery(tm) print server. You see, when I send one file by
typing something like:
lp -d /file
everything progresses smoothly but if I an in a directory with multiple files
that start with 'D', for example, and I type:
lp -d D*
only the first file in the list gets printed while the others are unfortunate
enough to vanish into the ethers. Suggestions would be greatly appreciated.
Thanks.
2 REPLIES 2
Lino Martinez_1
Occasional Contributor

Re: printing multiple files

You could attempt it of the following form and revise the outputs:

lp -d FILENAME

PRINTERNAME= name of the printer
FILENAME= name of the file, you can use *

for example: lp -dLASERJET D*

This command will print all the files whose it name
begin with the D letter (DATE, DOS, Date) in the printer LASERJET.

Good luck!
Dorian Hunt
Occasional Contributor

Re: printing multiple files

hmmm..that is the syntax I have been trying to use but it seems that when I
type, say:

lp -d printername D*

in a directory with files

DA DB DC

only the first(DA) is printed, while the others vanish.

I may be missing some subtle point here.

In dire need of guidance,
Dorian