This utility allows the generation of documents with format adjusted to pre-defined measurements such as invoices, delivery notes, dispatch notes, etc. Instead of allowing the system to autosize the form and expand layout to accommodate the destination page, the user can decide font size, family and any other aspect of each field or data block. This fine-tuning simplifies the design of documents such as purchase orders or invoices.
 

1 Automatic Printing

Forms can be printed without having to make any type of adjustment. This printing is configured by default in Axional Studio.

Printing default options are:

  • Header with information about form (application, name), printing date and user name.
  • Adjustment of the data to the document size without margins.
  • Print in portrait size DINA4
  • Page number at the page bottom and left-justified.

Users can make a document preview. The final impression corresponds to a pdf.

 

2 Customized Printing

 

2.1 Basic options

In the lower part of the form layout screen you can configure the basic form printing options:

  • Hide header: displays/hides information about form (application, name), date and user name.
  • Align page numbers: displays/hides page number and controls its position at the bottom of the page (left/center/right)
  • Size: select desired page size between portrait (DIN A4, DIN A3, DIN A5, B5, US_LETTER, US_LEGAL) and landscape (DIN A5).
  • Margins: top/bottom/left/right margins in centimeters. The top margin will be doubled when header is displayed.
  • SQL statement: define SQL statement to be performed before or after printing.
 

2.2 Document Printing

TO DO

This section is incomplete and will be concluded as soon as possible.
 

2.3 Book Quality Reporting

TO DO

This section is incomplete and will be concluded as soon as possible.
 

2.4 Worksheet

Ideal for departments and businesses, the Worksheet offers to leverage content from databases for sophisticated label and card designs.

Minimize manual data entry by using data from databases. Select and query database records effortleslly and make configurable printing processes easily. This way you can reduce label maintenance, maximize printing performance and stay in compliance with changing standards.

 

2.4.1 Barcode Reports

Axional Studio includes a barcode generation library as part of XSQL script language.

Versión Html Versión Pdf
Code Sample PDF Version

 

Types

Barcodes of different types can be generated using the barcode tag.

Type Description
code128 Code 128 is a very high-density barcode symbology. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1
code128A 128A (Code Set A) – ASCII characters 00 to 95 (0–9, A–Z and control codes), special characters, and FNC 1–4
code128B 128B (Code Set B) – ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1–4
code128C 128C (Code Set C) – 00–99 (encodes two digits with a single code point) and FNC1
UCC128 The GS1-128 is a special form of the Code 128. It's used for goods and palettes in commerce and industry. The name GS1-128 replaces the old name EAN/UCC 128.
ean The International Article Number (also known as European Article Number or EAN) is a standard describing a barcode symbology and numbering system used in global trade to identify a specific retail product type, in a specific packaging configuration, from a specific manufacturer.
ean128 GS1-128 is an application standard of the GS1 implementation using the Code 128 barcode specification. The former correct name was UCC/EAN-128. Other no longer used names have included UCC-128 and EAN-128. GS1-128 uses a series of Application Identifiers to include additional data such as best before dates, batch numbers, quantities, weights and many other attributes needed by the user.
USPS The Intelligent Mail Barcode (IM barcode) is a 65-bar barcode for use on mail in the United States. The term “Intelligent Mail” refers to services offered by the United States Postal Service for domestic mail delivery (USPS).
ShipmentIdentification .
parseEAN128 .
SSCC18 The serial shipping container code (SSCC) is an 18-digit number used to identify logistics units. In order to automate the reading process, the SSCC is often encoded in a barcode, generally GS1-128, and can also be encoded in an RFID tag. It is used in electronic commerce transactions.
GlobalTradeItemNumber Global Trade Item Number (GTIN) is an identifier for trade items, developed by GS1. GTINs may be 8, 12, 13 or 14 digits long, and each of these four numbering structures are constructed in a similar fashion, combining Company Prefix, Item Reference and a calculated Check Digit (GTIN-14 adds another component- the Indicator Digit, which can be 1-8). GTIN-8s will be encoded in an EAN-8 barcode. GTIN-12s may be shown in UPC-A, ITF-14, or GS1-128 barcodes. GTIN-13s may be encoded in EAN-13, ITF-14 or GS1-128 barcodes, and GTIN-14s may be encoded in ITF-14 or GS1-128 barcodes. The choice of barcode will depend on the application; for example, items to be sold at a retail establishment could be marked with EAN-8, EAN-13, UPC-A or UPC-E barcodes
Bookland Bookland" is the informal name for the Unique Country Code (UCC) prefix allocated in the 1980s for European Article Number (EAN) identifiers of published books, regardless of country of origin, so that the EAN namespace can catalogue books by ISBN rather than maintaining a redundant parallel numbering system.
UPCA The Universal Product Code (UPC) is a barcode symbology that is widely used in the United States, Canada, United Kingdom, Australia, New Zealand, in European and other countries for tracking trade items in stores
RandomWeightUPCA
Std2of5 .
Int2of5 Interleaved 2 of 5 (ITF, from Interleaved Two of Five) is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film, for ITF-14 barcodes, and on cartons of some products, while the products inside are labeled with UPC or EAN.
code39 Code 39 (also known as Alpha39, Code 3 of 9, Code 3/9, Type 39, USS Code 39, or USD-3) is a variable length, discrete barcode symbology.
3of9 Code 39
USD3 Code 39
codabar Codabar is a linear barcode symbology developed in 1972 by Pitney Bowes Corp. It and its variants are also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4
USD4 Codbar variant
NW7 Codabar variant
monarch Codabar variant
2of7 Codabar variant
postnet POSTNET (Postal Numeric Encoding Technique) is a barcode symbology used by the United States Postal Service to assist in directing mail. The ZIP Code or ZIP+4 code is encoded in half- and full-height bars.
pdf417 PDF417 is a stacked linear barcode symbol format used in a variety of applications, primarily transport, identification cards, and inventory management. PDF stands for Portable Data File. The 417 signifies that each pattern in the code consists of 4 bars and spaces, and that each pattern is 17 units long.

 

Sample

The following example uses a FO (Apache FO) template to generate a PDF using barcode calls. Barcodes are generated as SVG text and placed inline in FO generation.

Copy
<xsql-script name='fo_test1'><body><file.writer.open id='out1' encoding='ISO-8859-1'><file name='fo_example1.fo' type='absolute' /></file.writer.open><file.writer.print id='out1'><fo.xml /><fo.root><fo.layout-master-set><fo.simple-page-master
                            master-name='Portrait'
                            page-width='21.0cm'
                            page-height='29.7cm'
                            margin-top='0.5cm'
                            margin-bottom='0.5cm'
                            margin-left='0.5cm'
                            margin-right='0.5cm'
                        ><fo.region-body margin-bottom='0.5cm' margin-top='1.5cm' /><fo.region-before extent='1.5cm' precedence='true' /><fo.region-after extent='0.5cm' /></fo.simple-page-master></fo.layout-master-set><fo.page-sequence force-page-count='no-force'
                        master-reference='Portrait' initial-page-number='1'><fo.flow flow-name='xsl-region-body'><fo.table font-size='14pt' font-family='sans-serif'
                                space-before.optimum='0.05cm' table-layout='fixed' width='30%'><fo.table-column column-width='5cm'     /><fo.table-column column-width='5cm'     /><fo.table-column column-width='5.5cm'   /><fo.table-header><fo.table-row><fo.table-cell padding-top='2.0pt' padding-left='2.0pt'
                                            border-style='solid' border-width='0.5pt' border-color='black'
                                            background-color='lightGreen' font-family='sans-serif'><fo.block> Codigo Ciudad </fo.block></fo.table-cell><fo.table-cell padding-top='2.0pt' padding-left='2.0pt'
                                            border-style='solid' border-width='0.5pt' border-color='black'
                                            background-color='lightGreen' font-family='sans-serif'><fo.block> Ciudad </fo.block></fo.table-cell><fo.table-cell padding-top='2.0pt' padding-left='2.0pt'
                                            border-style='solid' border-width='0.5pt' border-color='black'
                                            background-color='lightGreen' font-family='sans-serif'><fo.block> Ciudad </fo.block></fo.table-cell></fo.table-row></fo.table-header><fo.table-body><foreach><select prefix='m_'><columns>codigo, nombre, cif</columns><from table='ctercero' /></select><do><fo.table-row><fo.table-cell padding-top='2.0pt'
                                                    padding-left='2.0pt' border-style='solid' border-width='0.5pt'><fo.block><m_codigo /></fo.block></fo.table-cell><fo.table-cell padding-top='2.0pt'
                                                    padding-left='2.0pt' border-style='solid' border-width='0.5pt'><fo.block><m_nombre /></fo.block></fo.table-cell><fo.table-cell padding-top='2.0pt'
                                                    padding-left='2.0pt' border-style='solid' border-width='0.5pt'><fo.block><fo.instream-foreign-object
                                                            content-width='5.0cm' content-height='1.5cm'><barcode.svg type='code128' height='2.0' text='true'
                                                                value='#m_cif' /></fo.instream-foreign-object></fo.block></fo.table-cell></fo.table-row></do></foreach></fo.table-body></fo.table></fo.flow></fo.page-sequence></fo.root></file.writer.print><file.writer.flush id="out1" /><file.writer.close id='out1' /><file.bytes.write encoding-src="ISO-8859-1"
                encoding-dst="ISO-8859-1"><file name='ctercero.pdf' type='absolute' /><file.bytes.read encoding='ISO-8859-1'><fop.transform type='pdf'><file name='fo_example1.fo' type='absolute' /></fop.transform></file.bytes.read></file.bytes.write></body></xsql-script>
 

2.5 Mailing

Any modern business that wants to get messages out to customers successfully can’t afford to neglect the power of technology: use your databases for a mail merge.

 

2.5.1 Sample

Copy
<select>
    <columns>
    	DISTINCT 
			customer.fullname	AS send_fullname, 
	  		customer.address1	AS send_address, 
	  		(customer.city || ', ' || customer.state_province || ' ' || customer.postal_code) AS send_location, 
	  		customer.country	AS send_country,
	  		
        	store_ragged.store_manager			AS rec_fullname, 
	  		store_ragged.store_street_address	AS rec_address, 
	  		(store_ragged.store_city || ', ' || store_ragged.store_state || ' ' || store_ragged.store_postal_code) AS rec_location, 
	  		store_ragged.store_country			AS rec_country,
	  		        	
        	'June ' || <day><today /></day> || ', ' || <year><today /></year> AS date,
        	
        	store_ragged.store_name
    </columns>
    <from table='sales_fact_1997'>
    	<join table='customer'>
    	    <on>sales_fact_1997.customer_id = customer.customer_id</on>
    	</join>
    	<join table='store_ragged'>
    	    <on>sales_fact_1997.store_id = store_ragged.store_id</on>
    	</join>
    </from>
</select>

TO DO

This section is incomplete and will be concluded as soon as possible.