We have an application that generates PDF files from time to time,. This will operate under Ubuntu.
I need to automate the printing of these.
What I mean is that I need to be able to have a simple script that will cause the PDF file to be printed on the default printer.
I need to add that while I believe that I know what I am doing as a programmer I have NO experience in sending anything to the printer other than from applications such as openOffice.
The one other thing that is related that I need to do is determine how many pages the print will actually take.
I sort of suspect that ghostscript is to be used here with the bbox device but even this is not obvious to me as to what it is telling me