pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.33k stars 337 forks source link

Print Sheets with Windows Print to PDF ignores naming format. #930

Closed Asizeableflav closed 4 years ago

Asizeableflav commented 4 years ago

Describe the bug The Print Sheets function does not name PDFs when using Windows Print to PDF. They must be manually named.

To Reproduce Steps to reproduce the behavior:

  1. Go to Print Sheets
  2. Click on MIcrosoft Print to PDF as the printer
  3. Use any naming format you want.
  4. Press print.
  5. Be annoyed when you have to manually name 50 PDFs.

Expected behavior I expected my PDFs to be saved to a folder with the naming format I chose.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Asizeableflav commented 4 years ago

Further testing with PDF24 as the printer:

Naming format is used automatically, but the output is set to a default location that must then be moved. Is it possible to chose the file destination for each batch print?

eirannejad commented 4 years ago

This seems more like a print configuration. pyRevit uses Revit's internal printing API so it is agnostic of the actual PDF printer used. Let me test this and I'll see what I can do

Asizeableflav commented 4 years ago

Hi Ehsan, thanks for the response. Microsoft Print to PDF has minimal user settings, while PDF24 has a dizzying amount to customisation available. I wonder if these may be 2 exceptions to the rule for printing with Revit. i won;t be back in the office until monday so if you want any more information just let me know and I'll get it to then.