English Boards > Support

help : preprinted papers

(1/1)

icemax:
 8) Hello everyone


I want to use a4 preprinted numbered papers  for "invoice"

1 - how can ?  :'(
2 - generic example template ?

thanks for all reply ..and .. congratulations,   :) real fantastic software

Massimo
(from sicily)

spanky:
Just put as printer model html or text.
an example of a template could be this:

model header
<XCT 27, 51, 0>
<BMP>E:\disegno.bmp
<T>FATTURA
<F>-
<C00>Intestazione
<C00>Indirizzo
<C00>Città
<C00>P.IVA
<F>-
<J00>Fattura N°:{NOTE}|Data: {TICKET DATE}
<F>-
<L00>CLIENTE
<L00>Nome: {ACC NAME}
<L00>Indirizzo: {ACC ADDRESS}
<L00>{ACC NOTE}
<F>-
model line
<J00>- {QUANTITY} {NAME}| {TOTAL}|{TOTAL AMOUNT}
shape footer
<F>-
<R00>Euro
<J00>Imponibile:|[= Format (ToNumber (ToNumber ('{TICKET TOTAL}') - (ToNumber ('{TAX TOTAL}'))))]
{TAX DETAILS}
<J10>Totale:|{TICKET TOTAL}

Where ticket notes enter the invoice number.
Altrimondi you may create a new numerator called "Invoice"

emre:
Hello Sicily.
Massimo, there is no example for now but it won't be hard.

Create a new printer and it's type will be "Text Printer". "Line Character Count" will be the width of paper. It might be 80 for A4. It is important because SambaPOS calculates line alignments of lines with that value. You can fine tune it for your paper design.

Duplicate "Ticket Template" and add empty lines and spaces to fit it for your design. While testing your design you can create an additional printer and set it as demo printer. Enter a fake printer name and open Notepad application. The output will sent to notepad instead of printer.

Finally create a new print job, Enter button header as "Print Invoice". Enter a new mapping and choose your new printer and template. Open "Terminals", open default terminal and add this printjob in "printjobs" list. Now you should have a button titled as "Print Invoice" in your ticket.

Share your template and results here so it will be an example for new users :)

Thanks.

icemax:
 :) Thanks .. very much


--- Quote ---Share your template and results here so it will be an example for new users :)
--- End quote ---

 .. . . absolutely !!

bye

Navigation

[0] Message Index

Go to full version