有沒有辦法使用Chrome打開圖像URL,並在啓動時使用命令行開關(啓動參數)打印該圖像。 它可以是無頭的或非無頭的。打印到默認打印機也很好。 This appears to be a complete list of chrome command line switches,但我沒有看到任何我想要的東西,雖然有大約1,300個選項,所以我可能會錯過一些東西。
我想運行firefox無頭。 不隱藏瀏覽器窗口或在虛擬桌面中打開它,Firefox使用「-headless」標誌支持無頭模式。 問題是我知道如何使用chrome而不是Firefox。 我的代碼: using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
us