SambaPOS

Open Source Restaurant POS Software

User Tools

Site Tools


Sidebar

Writing /var/www/doc.sambapos.org/public_html/data/meta/en/guide/printformattingcommands.meta failed
Unable to save metadata file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/doc.sambapos.org/public_html/data/cache/7/77ee8123bb2fad258fdddb215629ddd1.metadata failed
Writing /var/www/doc.sambapos.org/public_html/data/cache/7/77ee8123bb2fad258fdddb215629ddd1.xhtml failed

Languages:

Links


en:guide:printformattingcommands
Writing /var/www/doc.sambapos.org/public_html/data/cache/d/dcf8e48596d7734767fa89891d0cd3a9.xhtml failed

This is an old revision of the document!


The do plugin requires the sqlite plugin. Please install it

Print Formatting Commands

SambaPOS uses simple commands for formatting printouts.

  • <T> (Title) : When used it will format line as a title.
  • <F> (Fill) : For example <F>- creates a line with - chars or <F>= creates a line with = chars.
  • <EB> (Enable Bold) Prints everything Bold until <DB> command.
  • <DB> (Disable Bold) Ends <EB> command
  • <Jxx> (Justified) Justifies a line from pipe char. <J00>Total:|0.00 will seperates line from pipe (|) char, aligns Total: part left and 0.00 part right. When used on a ESC/POS compatible ticket printer numeric parts sets font size. First number sets font height and second number sets font width. For example <J10> sets font height to 1 and font width to 0.
  • <Cxx> (Center) Same as <J00> but this command centers text.
  • <Lxx> (Left) Same as <J00> but this one left aligns text.
  • <Rxx> (Right) Same as <J00> but this one right aligns text.
  • <BEEP> (Beep Sound) If ticket printer supports printer will beep on this command. Generally used at the end of ticket template to inform user about something printed. Generally useful on kitchen printers.
en/guide/printformattingcommands.1318276690.txt.gz · Last modified: 2012/09/07 09:30 (external edit)