Our product processes documents on linux servers using Aspose. This works like a charm and we are very happy with it.
In the future we intend to use Aspose’s new ability to print, this way our customers can not only be provided with documents in their preferred format, but they may also retrieve a printed version from a printer near them.
In order to print to different trays as specified by our users we need to answer the following question: How can we find out the specific tray identifiers for the different printers?
Using these identifiers we intend to tell Aspose to print certain pages to certain paper types.
Kind regards,
Frederik Bonte
InteractionNext
Rijssen, Nederland
Hi Rijssen,
Hi Frederik,
Thanks very much for your response.
I’m (unfortunately) hypersensitive to word choices.
Your response states that ALL pages of the document can be sent to A (i.e. ONE) specific tray.
Is is also possible for EACH page of the document to be sent to a DIFFERENT specific tray?
Also the original question was related to actually identifying the different trays that are available to me. In order to control the tray to which each page is printed a certain (magic?) number is required by Aspose.
In what way can we use Aspose to retrieve the list of supported tray numbers?
Kind regards,
Frederik Bonte
Frederik:Is is also possible for EACH page of the document to be sent to a DIFFERENT specific tray?
Document doc = new Document("c:\\temp\\first.docx");for (int pageIndex = 0; pageIndex < doc.getPageCount(); pageIndex++)
{
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.JPEG);
options.setPageIndex(pageIndex);
options.setPageCount(1);
doc.save(“c:\temp\out_” + pageIndex + “.jpg”, options);
}
Frederik:Also the original question was related to actually identifying the different trays that are available to me. In order to control the tray to which each page is printed a certain (magic?) number is required by Aspose.In what way can we use Aspose to retrieve the list of supported tray numbers?
Thanks very much for you clear exposition. It is greatly appreciated.
Kind regards,
Frederik Bonte