大量の印字枚数を分けて印字をしたい:I want to print a large number of printed sheets separately

複数のPDFファイルがあります。
1つずつPDFの印字を考えています。
印字枚数が膨大なため1ファイルを分けて印字させたいです。
13000ページのものであれば2000ページずつの単位での印字です。
つまり、13000ページのものであれば、2000ページごとに6回で最後は、1000枚です。
2000ページ以下の場合は1回で印字と考えています。
印字の制御に関して教えてください。
よろしくお願いします。

There are multiple PDF files.
I’m thinking to print PDF one by one.
I want to print one file separately because the number of printed sheets is enormous.
If it is on 13000 pages, it is printing in units of 2000 pages.
In other words, if it is 13000 pages, it is 6 times every 2000 pages, and the last is 1000 copies.
In the case of 2000 pages or less, it is considered to be printed at one time.
Please tell me about printing control.
Thank you.

こんにちは。
要求された内容をできるだけ素朴な方法で作成してみました。
私も今後使えそうだったので、汎用化しました。
変数rangeに取得したい範囲を入れていただければ、PDFのページ数を取得後、rangeで指定した単位でファイルを生成します。残りが出たら1ファイルとしています。
※PDFのパッケージ(UiPath.PDF.Activities)は別途パッケージマネージャより入れてください。
Main.xaml (13.1 KB)

ご確認下さい。

2 Likes