Search found 164 matches

by tdeschamps
Wed Aug 19, 2026 12:20 pm
Forum: Switch
Topic: pdf print to local printer
Replies: 8
Views: 53961

Re: pdf print to local printer

On Windows I have used a node.js script with this package https://www.npmjs.com/package/pdf-to-printer This has worked very well sending labels to a Zebra label printer. On windows, you can also install Sumatra PDF, who does have a CLI for printing : https://www.sumatrapdfreader.org/docs/Command-li...
by tdeschamps
Wed Aug 19, 2026 12:15 pm
Forum: Switch
Topic: Recycle bin v3
Replies: 7
Views: 33579

Re: Recycle bin v3

In addition, it's not so much the fact that the job waits in front of the element that bothers me the most, but rather the change in behavior. Here is an example: https://i.postimg.cc/k5ptGxpY/Sans-titre.png In this case, the job is held with a constraint folder, and the Hot Folder Monitor will no l...
by tdeschamps
Fri Jul 10, 2026 3:15 pm
Forum: Node.js scripting
Topic: sorting jobs with a script expression
Replies: 1
Views: 3829

Re: sorting jobs with a script expression

Hi, console.clear() function calculateNumberOfTiles (jobHeight:number, jobWidth:number, sheetWidth:number, sheetHeight:number, gutter:number, rotation:boolean):{row:number, column:number, tiles:number, rotation:boolean}{ const width = rotation ? jobHeight : jobWidth const height = rotation ? jobWidt...
by tdeschamps
Wed Jun 17, 2026 3:17 pm
Forum: Node.js scripting
Topic: Vibe coding switch scripts
Replies: 12
Views: 10162

Re: Vibe coding switch scripts

Maybe I’m old fashioned, but I prefer to keep full control and a clear understanding of what is built. But our difference of opinion surely stems from different objectives @Bob Tucker. I’m not an end user in a print shop or agency. I’m a reseller of Enfocus products, an automation consultant, and a ...
by tdeschamps
Wed Jun 17, 2026 10:58 am
Forum: Node.js scripting
Topic: Vibe coding switch scripts
Replies: 12
Views: 10162

Re: Vibe coding switch scripts

As much as I enjoy AI-related tools and the productivity boost they bring when developing scripts, I rarely let them generate an entire solution, especially for production environments. The technology improves every day, but even with proper documentation available, current models still tend to take...
by tdeschamps
Wed Jun 17, 2026 10:51 am
Forum: Flows
Topic: Injecting and routing with XML - help
Replies: 18
Views: 53792

Re: Injecting and routing with XML - help

It depends on the XML pickup setting. If the XML is provided as metadata alongside the asset, Switch will perform a one-to-one PDF/XML match based on the name. In this case, the XML waiting in front of the element is consumed by the application and associated with a single file. If you need to assoc...
by tdeschamps
Wed Jan 14, 2026 1:52 pm
Forum: Flows
Topic: Command Line Error
Replies: 1
Views: 10040

Re: Command Line Error

Hi, For standard command execution, I would recommend trying the Run command app. It is generally much simpler and more robust than the default Execute Command element. That said, the issue you are encountering is very likely related to a space in the path to your Python executable or script. In tha...
by tdeschamps
Fri Dec 05, 2025 7:11 pm
Forum: Switch
Topic: Long Processing Times After Module Updates
Replies: 6
Views: 35386

Re: Long Processing Times After Module Updates

Hi, While it’s still true overall, we’ve noticed a clear improvement in update times with Switch 25.11.

Updating PitStop on my test machine (with 400+ flows) used to take ages, but now it only takes about ~5 minutes, just enough time to take a well-deserved break:)
by tdeschamps
Wed Nov 26, 2025 9:15 am
Forum: PitStop Pro
Topic: Need help generating bleed around outer + inner cutouts (PitStop Pro 25.11)
Replies: 2
Views: 12251

Re: Need help generating bleed around outer + inner cutouts (PitStop Pro 25.11)

Hi there,
Just to add a quick note, verify that all paths in your cut contour are fully closed.
If any segment is open, PitStop won’t be able to generate the bleed as expected. There is an existing Action List that can help close paths if needed.

Hope this help!
by tdeschamps
Fri Nov 21, 2025 9:08 pm
Forum: Flows
Topic: Safe Webhooks in Switch
Replies: 2
Views: 10580

Re: Safe Webhooks in Switch

Switch Mitter is really easy to use and already covers quite a few of the security points you mentioned, with the only downside being that it’s not as fast as a direct Switch webhook. If you need stronger protection on endpoints that are exposed to the internet, using a reverse proxy is usually the ...
by tdeschamps
Thu Nov 13, 2025 10:09 am
Forum: Flows
Topic: Force Release Assemble Job
Replies: 6
Views: 17392

Re: Force Release Assemble Job

Without using any additional app, it’s entirely possible to assign a common number that increases every five files, using only Switch’s basic elements. In PrivateData, you can use the following sequence: myGroupID = [Switch.Calculation:Expression="round([Switch.Counter:Width="9",Id=&q...
by tdeschamps
Mon Oct 27, 2025 11:00 am
Forum: PitStop Server
Topic: Lock PDF
Replies: 8
Views: 27180

Re: Lock PDF

Hi Loïc, From here, we have quite a few customers who rely on PDFTK for this purpose. They typically use it either for: Proofing, by restricting permissions (allowing only viewing, but not printing or modifying the file — making it unusable for other print shops), or GDPR-related reasons, requiring ...
by tdeschamps
Fri Oct 24, 2025 8:43 am
Forum: Flows
Topic: Formating numbers rules for PageLabels
Replies: 2
Views: 7179

Re: Formating numbers rules for PageLabels

Hi AF, In the Split PDF tool, you can actually do this automatically no need to use a Rename Job after! In the Prefix / Suffix properties, you can set up some built-in variables. They add the correct number of leading 0 as needed. Note that other variables like Private Data do not work in those prop...
by tdeschamps
Fri Oct 24, 2025 8:35 am
Forum: Flows
Topic: Count Number of Jobs Processed Thru Flow
Replies: 3
Views: 10296

Re: Count Number of Jobs Processed Thru Flow

Hi, There are many options for tracking job counts in Switch, and the best choice depends on why and how you want to use those statistics. Here is a quick overview of the main approaches, listed in my personal order of preference. 1. Base Switch Function – [Switch.Counter] This is the simplest, buil...
by tdeschamps
Fri Oct 24, 2025 8:08 am
Forum: Flows
Topic: Automating variable PDF resizing with PitStop Pro / Server
Replies: 2
Views: 7452

Re: Automating variable PDF resizing with PitStop Pro / Server

Hi, What you described is actually a perfect fit for PitStop, you’ve basically outlined the sequence an Action List would follow! If you want to take it further and automate everything, you’ll need PitStop Server plus the base version of Enfocus Switch (which comes with it). You can do this manually...