Settings

Previous Next

Set Print Width on POS printer


Video help (Setting POS printing 60mm or 80mm paper)


Open the file SShop.exe.config in your default text editor.


Contents of file:
<?xml version="1.0" encoding="utf-8" ?>

<configuration>

   <configSections>

   </configSections>

   <connectionStrings>

       <add name="SShop.Properties.Settings.sshopConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\sshop.mdb;Persist Security Info=True;"

           providerName="System.Data.OleDb" />

       <add name="SShop.Properties.Settings.dbConnectionString" connectionString="Data Source =&quot;.\db.sdf&quot;"

           providerName="Microsoft.SqlServerCe.Client" />

   </connectionStrings>

 <appSettings>

   <add key="PrinterWidth" value="80"/> <!--60 ali 80-->

   <add key="AlternatePrinterWidth" value="210"/> <!--210-->

   <add key="DBBackupPath" value=".\Kopija\" />
   <add key="AttachmentPath" value=".\Priponka\" />

   <add key="DefaultCulture" value="sl-SI" />    <!-- sl-SI   en-US   de-DE   hr-HR   http://www.obout.com/calendar/tutorial_culture.aspx -->

   <add key="OnlyOnePrintCopy" value="true"/>

   <add key="LogLevel" value="ERROR" /> <!--ERROR, WARNING, INFO, DEBUG-->

 </appSettings>

</configuration>


To change the print width in millimeters (width of paper) to change the text is highlighted in yellow:
<add key="PrinterWidth" value="80"/> <!--60 ali 80-->


Possible choices:
60

80


Setting the path for storing the database backup

To change the database storage paths in making backups changed text is highlighted in yellow:
<add key="DBBackupPath" value=".\Kopija\" />


Setting the path for saving attachments A4 production accounts (add attachment)

To change the storage path in the manufacture of badges A4 accounts (add attachment) to change the text is highlighted in yellow:
<add key="AttachmentPath" value=".\Priponka\" />


Other settings


Setting the language of the programming interface:
<add key="DefaultCulture" value="sl-SI" />


Possible choices:
sl-SI

en-US

de-DE

hr-HR


On or Off features a double copy of the invoice:
<add key="OnlyOnePrintCopy" value="true"/>


Possible choices:
true

false


On or off the functions of writing the program log:

<add key="LogLevel" value="ERROR" /> <!--ERROR, WARNING, INFO, DEBUG-->


Possible choices:

ERROR

WARNING

INFO

DEBUG

Disable Log is done by deleting all rows (<add key="LogLevel" value="ERROR" /> <!--ERROR, WARNING, INFO, DEBUG-->).


The backup program:
Shop Simple program can be run with the following parameters (parameters set in the shortcut of the program):

-The default startup mode:
SShop.exe
-Disabled Backup database:

SShop.exe -dbuoff
-Enabled automatic database backups:

SShop.exe -dbuon
-Enabled the backup database - basic way:

SShop.exe -dbunormal