How to set paper color when printing using SDK 追蹤


Hello everyone!

I have created 3 templates using designer. The only difference between them is their paper color and their printer tray in page setup so I could print them in my desired paper color. Supposedly, print engine sets the paper color to white by default  and because paper color is set for each of my printer's trays, printer does not print and holds them.

I want to know if there is any way to set the paper color when printing a document.



1 意見

Shotaro Ito
評論操作 永久連結

Hi Armin,

Do you mean how to specify paper tray on printer at print time?

Tray can be specified in BarTender designer's Print dialog > Document properties (setting kept in each btw file).

On Automated printing you can specify Tray in 

- In Integration > Print Document action > Print Option Overrides > Paper Tray 

- In BTXML, PaperTray tag

 - In Command line option,  /Tray=<tray name>

 - In .NET SDK, PageSetup.Tray property