Life is.

반응형

Bartender CommandLine

기본
"bartender 실행위치" "btw파일위치"
"C:\Program Files (x86)\Seagull\BarTender Suite\Bartend.exe" "C:\test.btw"

확장
/P /X /PRN="프린터이름" /?prompt="value" /?prompt2="value"

뒤에 붙는 옵션들 설명
/P
Executes a print job, leaving the status of the Use Database check box of the Print dialog unchanged. If this setting is checked, the various settings inside the Database Connection Setup dialog will be used as is, unless they are overruled by another command line parameter. Applies to all open BarTender documents unless the /AF= parameter has been used.

/PD
Same as /P, but also displays the Print dialog, thereby allowing the user to make changes as desired to the dialog settings and start the print job manually.

/QP
Forces the status of the Use Database check box of the Print dialog to disabled (or "unchecked"), so that no data is read in by BarTender from any external sources.

/QPD
Same as/QP, but also displays the Print dialog, thereby allowing the user to make changes as desired to the dialog settings and start the print job manually.

/FP
Forces the status of the Use Database check box of the Print dialog to enabled (or "checked"), so that data may be read from any properly specified data source file.

/FPD
Same as /FP, but also displays the Print dialog, thereby allowing the user to make changes as desired to the dialog settings and start the print job manually. (Often used with the Data Entry Form and Query Prompts.)

/C=n
Overwrites the currently specified value for the number of copies to print of each template.

/S=n
Overwrites the currently specified value for the number of serialized items to print.

/PRN=

Specifies a printer to use. This parameter can be used at anytime and will apply to all open BarTender documents.

/PRNFILE=

Specifies that BarTender should print to a file and specifies the file name that should be used. The parameter applies to only the active BarTender document.

/PRNMDL="[, ]"

Sets the printer model and, optionally, the port. This parameter is usually used as an alternative to /PRN when it is not certain that the desired printer will be on line. It will apply to all opened BarTender documents unless one of them has been specified as the active document using the /AF parameter. If used in addition to /PRN, the latter takes precedence. If the printer specified with /PRN cannot be found, BarTender will search for a printer of the specified model. If /PRNMDL= is used and more than one printer of the correct model is found, BarTender will choose the one on the closest port to the missing printer. Specifying /PRNMDL=, will cause BarTender to use a printer of that model on the specified port.

/PrintJobName=

Sets the visible name for the print job in the spooler.

/Tray=

Specifies the printer's paper tray to print from if multiple trays are available. The "tray name" string is compared to the list of tray names provided by the driver. Matching ignores whitespaces and is case-insensitive. If the specified tray is not available, this setting reverts to the default printer tray.

/?=""

최종적으로 btw 파일 안에 설정된 데이터베이스 설정을 그대로 사용하거나
계정 설정을 Script로 조정 가능한 내용을 찾지 못해서 사용하지는 못함
찾으면 업데이트

반응형

'개발' 카테고리의 다른 글

데이터 수정 이력에 관하여  (0) 2023.02.06
VB.NET DataRow to DataTable  (0) 2022.06.03
스마트팩토리 사업 진행하며 겪은 일들 (1)  (0) 2022.04.01
Client , Backend , Frontend 단어  (0) 2021.01.18