Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic (and Useful) HTML & CSS Break (to start on a new line) Horizontal Rule (a line across the page) Image (more on this later) Unordered List.

Similar presentations


Presentation on theme: "Basic (and Useful) HTML & CSS Break (to start on a new line) Horizontal Rule (a line across the page) Image (more on this later) Unordered List."— Presentation transcript:

1

2

3

4

5

6 Basic (and Useful) HTML & CSS Break (to start on a new line) Horizontal Rule (a line across the page) Image (more on this later) Unordered List (bullet points) Ordered List (numbered) List Item (required for both unordered and ordered lists) Enclosures to format fonts Enclosures to format borders (block-level) Similar to DIV, but has inherent properties style=""Tag for formatting (always separate and end with a semi-colon) font-family:arial, "Times New Roman" "Free 3 of 9" font-size:12pt, 2em - play with the numbers until you find the right size text-align:left, center, right (adjusts font within a block, not the block itself) border:2px solid #000000 (2 pixels think, solid [not dashed], and black [only option?])

7 Inserting an Image Image src=""path to image (required) width=""width in pixels (optional) height=""height in pixels (optional) Examples: Image on the web: Image on local computer: Image on network server: Images from the web or network are easy to update once for all computers, but might be slower Images from local computer are most reliable, but also need to be managed on each individual computer Slashes can go either way Remember receipt printers (probably) only print in black & white This lets you add QR codes, too!

8

9 Printing a Scannable Barcode This lets you print a barcode on a receipt, that can be scanned Saves staff from retyping patron barcode if they don't have they're card Will work with self-check machines too Can use for patron or item barcodes Requires a barcode font to be installed on the computer (each computer) http://www.dafont.com/barcode-font.font (shows plain text under barcode lines) http://www.dafont.com/3of9-barcode.font (just barcode lines) Code to make it happen: *%PATRON_BARCODE%* (replace "font-family" with other font name if using a different style of barcode) Tips: Barcode number (%PATRON_BARCODE%) must have an * before and after it to trigger scanner There is a minimum size that will work, so play around Will still work if the receipt gets crinkled

10

11 Special Macros and Conditional Printing “Sum” - Allows for summing of values throughout a slip. The sum sources can include a single leading non-digit character, such as a dollar sign. The fixed="2" in the example below tells the code to always include exactly 2 decimal places when placing the sum into the field. In the “Line Item” box: %price% In the “Footer” box: Cost of buying these items: $ Cost of using the library: Priceless! This does not display in the preview window, or when not using Mozilla print strategy

12 Special Macros and Conditional Printing “Swap Slip” - Allows changing out parts of a slip based on a different part of the slip. %some_replace% Code1 Code2 This does not display in the preview window, or when not using Mozilla print strategy

13 Special Macros and Conditional Printing More information is on the MassLNC site at: http://masslnc.cwmars.org/node/2528 A PDF version is at: http://www.chelmsfordlibrary.org/temp/EGReceiptTricks-MVLC.pdf


Download ppt "Basic (and Useful) HTML & CSS Break (to start on a new line) Horizontal Rule (a line across the page) Image (more on this later) Unordered List."

Similar presentations


Ads by Google