# 印表機設定
## Step 1 Download config from NetSuite
```
{"url":"https://2130928.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=56&deploy=1&compid=2130928&h=1ca1faf4deaca07cc34e","payload":{"companyId":"2130928","subsidiary":1,"gui":"16307131","encryptedText":"C60E22AC5C485515D715CBF6347009B6283909F083DC6143BF8B15AE68629EF2C51FCBC823A38C401DF32BC240BD5044F30E16EACA16189804314DCA2F7AD7AC655DAEB644C13BECB641F36EDD2F126EF6DCA55C71A12B1E5682CFB5A002FE66836855EF84F87690B18C25CDDE5A7F4781397F6063A42A4CE0A3D0F3D8E7B668","encryptedIv":"C42ABFED391B8AF73094396936B52270"}}
```
## Step 2 Decrypt
post url => use url node value from Step 1
post body sample
```jsonld=
{
"payload":
{
"companyId": "2130928",
"subsidiary": 1,
"gui": "16307131",
"encryptedText": "C60E22AC5C485515D715CBF6347009B6283909F083DC6143BF8B15AE68629EF2C51FCBC823A38C401DF32BC240BD5044F30E16EACA16189804314DCA2F7AD7AC655DAEB644C13BECB641F36EDD2F126EF6DCA55C71A12B1E5682CFB5A002FE66836855EF84F87690B18C25CDDE5A7F4781397F6063A42A4CE0A3D0F3D8E7B668",
"encryptedIv": "C42ABFED391B8AF73094396936B52270"
}
}
```
result should be
```
{
"success":true,
"content":[
{
"printerName":"Test Printer 1",
"printerKey": "D09C3912BDA985BB1051F6F9E5C559531A5D5529FF557634352044BCB7438907"
}
],
"error":
{
"code":"",
"message":""
}
}
```