Command Line printing to scale

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
rm15062
User
Posts: 1
Joined: Mon Jan 04, 2010 10:07 pm

Command Line printing to scale

Post by rm15062 » Thu Jun 06, 2019 8:19 pm

Hello,

I am using the command line interface to PDFXEdit to print PDF's of engineering drawings. The problem is that I always want the print size to be scaled to landscape 8.5"x11" paper, and sometimes the drawings are 11x17 or other sizes.

I'm looking at the /ImportSettings command line option, hoping there is a way I can set the settings to "force" the print output always to be scaled to the paper size (8.5x11), but I can't figure out where to set those settings, or whether those settings are exported in Menu/Edit/Export Settings.

Is there a way to accomplish what I want, to force scaling to a certain page size, so I can automate printing PDF's that have different sizes?

What do I need to do in the Editor program to set this setting, and what is the best way to communicate this setting to the /ImportSettings command?

Bob

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2236
Joined: Wed Jan 03, 2018 6:52 pm

Re: Command Line printing to scale

Post by TrackerSupp-Daniel » Thu Jun 06, 2019 10:00 pm

Hello rn15062,

This should be possible as a general idea, although may be a bit less practical in practice. The /ImportSettings is only able to affect the options in the lower half of the print dialog, while the options in the upper half are pulled from the global profile (tied to your default printer)
image.png
So while you can definietely accomplish this command line printing, you would need to specify the page size and orientation, by changing the default settings of the default printer, and printing to it exclusively for these operations.

I hope this helps!
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply