Hi,
I wonder i can create flow if the overall image is less than 8"*10.5" then it would choose to print to 8.5"*11" paper but if it is a larger image it would set to print 11" * 17" paper using switch or pittstop pro server.
thank you.
Select printing paper based on pdf size
-
dkelly
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Sure you can. Switch's metadata can collect statistics about a job including PDF page size. You can route jobs using the connection line's "Condition with variables" with 2 conditions that check the page width and height are less than or equal to 612 and 792 respectively (8.5 x 11 inches in point units). If the page size is greater than that you would route to the other connection.
A couple of gotchas:
A couple of gotchas:
- Switch only collects stats about the 1st page in the PDF
- The units are in points not inches
- Be careful about rounding problems. Set the precision value to 0 or 2 so the page size values are consistently formatted


I thought i would be able to let switch automatically select those paper sizes and paper sources like what i would do manually in the picture.
Problem is if i set Yes for the 'Auto-choose paper source' in property. it would choose best fitting paper size for pdf so that is not always either letter or 11*17.
I want printer to choose only letter or 11*17 if its bigger than letter size.
Thank you
Hi,
flow might look like this

In Arguments line:Where "HPLaserJet" is name of your printer
Output: None
flow might look like this

In Arguments line:
Code: Select all
-sDEVICE=mswinpr2 -dBATCH -dNOPAUSE -dNoCancel -sPAPERSIZE=a3 -sOutputFile="%printer%HPLaserJet" "%1"Output: None
Aleksander
Unfortunately, I do not know mac.
See this page: http://www.gnu.org/software/ghostscript/devices.html
I suspect that you can use os2prn, or specified driver.
See this page: http://www.gnu.org/software/ghostscript/devices.html
I suspect that you can use os2prn, or specified driver.
Aleksander