Home
Beta Test Release notes
Contents
1. The File Management page is used to add and view and edit stored Forms Overlays Fonts and ini files you can also enable the diagnostic from this page 21 Copyright 2005 William Matthew Limited All rights reserved As you can see each section of the page is associated with a colour code Green section Displays the Forms Overlays Fonts stored on the Tempest DSM allowed file extensions include ovly prn frm and form A simple way to create a form or overlay is to use a commonly used word processor such as Microsoft Word Lay out your form and print the file to a file using a HP LU4plus PCL5 printer driver the resultant file will have a file extension of prn This file can be uploaded to the Tempest DSM using the add file button on this page The files when uploaded will automatically assigned an internal MAC number the first file being 1000 MAC This File is now ready and available to be used with any print queue You can view the data in the file or delete it at any time Blue Section This displays the internal MAC numbers of the files in the Green Section and internally generated ini files associated with each queue You can view the contents of these files Mauve Section If you enable diagnostics and click the set button the Tempest DSM will produce a Prefilter out and Postfilter out file for the last print job Viewing these files will help in problem solving as the Prefilter is
2. Raw Raw Settings Port Number LPR Settings Byte Counting Enabled C SNMP Status Enabled 26 Copyright 2005 William Matthew Limited All rights reserved If you whish to use raw port printing Select RAW The following default Port numbers can be used to print from each physical output port or network printer set up on the unit Alternatively you set none standard port number of your choice but make sure you use the same port numbering convention when setting up the queues on the DSM Appliance 9100 USB1 9101 USB2 9102 USB3 9103 USB4 9111 9160 network printers 1 50 e g Network printer 1 2 port 9111 Network printer 5 port 9115 Network printer 45 2 port 9155 This completes the port setup you can select your printer type and driver as normal 27 Copyright 2005 William Matthew Limited All rights reserved DSM command short reference Apart from the web interface command generator the full list of extra commands are listed below these can be manually edited into the convert ini file You can also write an ini file of any name with the file extension ini Example create myini ini and upload it from the file manager page To process this myini ini file after it has been uploaded just insert the following command into any section of the Command ini at the point you wish to execute it IniFilez etc persistent files myini ini Full list of commands are C
3. Reflectance The ability of a surface or printed area to reflect light Start Character The specific bar space pattern which indicates the start of a bar code Stop Character The specific bar space pattern which indicates the end of a bar code Truncation The reduction in bar height below nominal height or that normally specified Uniform Code Council U C C The U S organisation which administers the UPC and other retail specifications Universal Product Code U P C The standard bar code type for retail products in the U S Verifier A device used to measure the bars and spaces of a bar code and report on their accuracy in relation to the specified tolerances Wide Narrow Ratio The ratio between the narrow bar and the wide bar widths in certain bar code symbologies X dimension The nominal width of a narrow bar 89 Copyright O 2005 William Matthew Limited All rights reserved
4. Wrap in PJL JOB statements Copyright 2005 William Matthew Limited All rights reserved Page 32 33 33 33 34 34 34 34 34 35 35 35 35 35 36 36 37 37 37 38 38 38 38 38 Table of Contents EX Send a C Commands right at the end of print data Generate a new mac file on the fly K Document reprint factor N1 Passthrough N2 NoPrinting Q Pages reprint factor R Pages reprint factor with changeable DSM content T Staple print job with stapler stacker Programmers hints Get copy factors from print file DSM examples General structure and syntax of ini file Ini File key SEARCH BINARY Ini File key SEARCH TEXT Ini File key SEARCH WINDOWS Ini File key SEARCH ROWNO Ini File key ERASE BINARY Ini File key ADD BINARY Ini File key ADD ATNEXTLINE Ini File key REPLACE BINARY Ini File key ReplaceNextTerm Ini File key INSERT BINARY Ini File key OutSearch Binary OutSearch Windows OutSearch Text Ini File key StoreNextWordToVariable Ini File key StoreNextWordTolntVariable Ini File key SkipUntilEnd Copyright 2005 William Matthew Limited All rights reserved Page 39 39 39 40 40 40 40 40 42 42 44 44 46 47 47 47 49 49 49 50 50 50 51 51 52 52 Table of Contents Primary Trigger key TRIGGER BINARY Primary Trigger key TRIGGER TEXT Primary Trigger key TRIGGER WINDOWS Secondary Triggers Ini File key
5. 42 Copyright 2005 William Matthew Limited All rights reserved B from the programmer standpoint some speed tuning could be made but this needs to be weighed up against cost Example Your MS Word mail merge document contains 3 pages and you want to staple all 3 pages together then your command may look like this T 1 3 Programmers hints You can find a short PCL 5 command sequence listing at www hp com Once defined some of the DSM page commands remain active until they are changed turned off or the PCL reset command is performed For example Once set to A4 the paper size It remains A4 until the end of job or it is changed For a pure ASCII data stream this page size can survive all copies This may become critical when your print has an odd amount of pages and needs to be printed in duplex So the first page of the second copy will be on a back page In this case enter the command ET which will add a separator between the copies As a second example the single page reprint factor will also be set for the actual page but remain active on all following pages On the first page it is a bit tricky to insert commands like simplex duplex tray selections etc Inserted at the wrong place the commands may cause the printing of blank pages or printing one page on 2 pages In order to avoid this we have listed the search methods for the insertion of those commands 1 The program first looks for a PCL page definition comma
6. As previously explained to make the unit generate a barcode as part of a print job an escape sequence needs to be embedded in the data sent to the box As an example you would like to produce a default barcode for EAN13 with a code number of 012345678901 In this case the barcode number has to be 12 digits because EAN13 requires that for a complete barcode Below is the escape sequence lt ESC gt sphvbs24630T012345678901 The word lt ESC gt is in place of the actual character escape which is 27 decimal or 1B hexadecimal The complete print job you would have the following lt ESC gt E lt ESC gt sphvbs24630T 012345678901 lt ESC gt E 83 Copyright 2005 William Matthew Limited All rights reserved This sequence only produces a default size and style of EAN13 barcode It is possible for the system to change how the barcode is printed Below is the same escape sequence but it shows where the numeric parameters can be inserted lt ESC gt s0p0h0v0 0b0 0s24630T012345678901 This will still produce a default EAN13 barcode But if we change the first parameter which controls text printing to say 5 we get the text above the barcode instead lt ESC gt s5p0h0v0 0b0 0s24630T012345678901 This p parameter has the following other option default for the given barcode 0 don t print human readable barcode data 1 print human readable barcode data embedded 2 print human readable barcode data half embedded 3 print hum
7. E3 Select 300 dpi resolution E6 Select 600 dpi resolution The commands can only be used in conjunction with an EB If you do not want to call a macro right at the beginning of the data stream please enter a unused macro number like for example 9999 EB Send a form job at the beginning of complete job EE Send a form job after the end of the complete job The in the command is the macro form ID number which is called right before EB and right after EE the provided data stream See F command In most cases the EB command is used to initialise the real data stream like the job ini mac or downloading forms or setting the printer into a specific state But it can also be used as a cover sheet in this case do not convert a print file into a macro as the job itself is the macro including all initialisations so print your form to file and store it with the File management page Example EB1001 Inserts the form 1001 at the beginning of the print job Notes for PCL data streams EB and EE command can be used several times in the 05 Command Example The intension is to have several items at the beginning of the data stream specific fonts like normal or bold depending on the real adressed fonts macro ID number must be larger then 0 and less then 32000 There is no other DSM Command performed on the 2 inserted jobs This means the first DSM page is the first page of the data stream The EE p
8. HP Multifunc Left bin Face down 102 HP Multifunc One staple stuck at top left 103 HP Multifunc Two staples stuck at left border 104 HP Multifunc Three staples stuck at left border 105 HP Multifunc Angled stapled top left corner 106 HP Multifunc Custom stapling 107 HP Multifunc Six staples stuck at left border 108 HP Multifunc Front Staple 109 HP Multifunc Rear Staple 110 HP Multifunc Angled forced 111 HP Multifunc Booklet maker 200 Ricoh One staple is stuck on top left of paper 201 Ricoh One staple is stuck on top right of paper 202 Ricoh Two staples stuck at left border 203 Ricoh Two staples stuck at top border 204 Ricoh Two staples stuck at right border 205 Ricoh No punching holes 206 Ricoh 2 US punches left at left border 207 Ricoh 2 US punches left at top border 208 Ricoh 2 US punches left at right border 209 Ricoh 4 US punches left at left border 210 Ricoh 4 US punches left at top border 211 Ricoh 4 US punches left at right border 212 Ricoh 2 JP punches left at left border 213 Ricoh 2 JP punches left at top border 214 Ricoh 2 JP punches left at right border 215 Ricoh 4 EU punches left at left border 216 Ricoh 4 EU punches left at top border 217 Ricoh 4 EU punches left at right border 218 Ricoh 4 NEU punches left at left border 219 Ricoh 4 NEU punches left at top border 219 Ricoh 4 NEU punches left at right border Be sure that the outbin escap
9. IB amp llX As now the next page is read increase the counter 30 Copyright 2005 William Matthew Limited All rights reserved counter myPageCounter Speed up do not read all keys ReadOnlySearchKeys ON Rule for pages drawn form other tray There must be a special trigger text on that page Search_Windows Paymentform page in this example the tigger needs to be erased erase_binary 1 Any Variables in DBM COMMANDS ADD are immediately replaced when the command is read form the ini file DSM_Replace_Variables ON Add to the current DSM_Command the exeption command for that particular page The variable myPageCounter is directly replaced by reading the section DSM_command_add c1 myPageCounter l9 Result If the trigger word Paymentform page was found on page 2 8 and 12 then the final DSM_Command is C2 219 C2 819 C2 1219 The limitation is the maximum length of the DSM_Command with 2048 Bytes Or with the above routine a document with about 220 payment forms 31 Copyright 2005 William Matthew Limited All rights reserved C Command A Page size selection Larger than zero is valid Here is a list of some paper sizes 26 A4 27 A3 25 A5 24 90 DL envelope 91 C5 envelope 100 B5 envelope 1 Executive 2 Legal 3 Letter 101 Custom This command is used for the paper size selection the PCL commands lt amp l A Any entered value C Command B Back page selection T
10. automatic ID equipment and services Alphanumeric A character set including numbers and letters ASCII The American Standard Code for Information Interchange This character set is used for standard communication between electronic devices such as computers and scanners Bar Width Reduction The thinning of bars within a bar code which compensates for print gain Bearer Bars The protective printed lines or box around a bar code which hDSM to support the printing plate and reduce the squashing effect on the bar code image Code128 A full alphanumeric bar code type which can encode the entire ASCII character set Code39 An alphanumeric bar code type which can encode capital letters numbers and 7 special characters Codabar A bar code type which may encode 0 9 and six special characters Four different start and stop patterns are used to signify different uses CPI Characters per inch EAN European Article Number The international standard for coding retail goods Font The design or typestyle of a complete character set of printers type Guard Bars The bar space patterns at the start centre and end of EAN and UPC codes Used as a reference point for the scanning device HIBC The Health Industry Bar Code The format for coding goods within the U S health industry using conventional symbologies Interleaved 2 of 5 A numeric only bar code symbology Characters are encoded in pairs with the bars representing the first character and the
11. by the key PPDS PaperTray searched in the section PPDS in the actual ini file Any valid escape sequences are allowed so the direct paper tray sequence Esc amp l H can be used as well as the media type sequences 70 Copyright O 2005 William Matthew Limited All rights reserved Printronix IPG VGL and PGL emulation This emulation was also developed for a customer The following commands are supported Comma Minus Star Plus A B Code 3of9 F IPEXP IFONT S J LB LS M PR SM T X The following commands are ignored IF1XXO0 IC IOP IMH IMV All other commands will generate an error and exit the emulation In order to activate the emulations use the ini file keys Printronixemulation vgl Activate VGL Emualtion Printronixemulation pgl Activate PGL Emualtion In order to activate this emulation add in the global section or in the appropriate printer section the key PrintronixEmulation and turn it on All the following keys can ONLY be used in the section PRINTRONIX which needs to be inserted in to the ini file manually PR CC TextChar Sets the default Printronix command character usually Tilde PR HorScale Definition of the horizontal scaling factor as an integer value Enter 100 100 for no scaling PR Init The predefined string will be used for initialisation of the printer when a VGL data stream is detected You can set here all page definitions PCL coordinat
12. command Alternatively if the Escape Sequence for Russian PC866 code page is found the command is set as well 2 3 If there are no Triggers in the data stream at all put the same DSM_Command into the GLOBAL section If there is no printer initialisation in the data stream add the proper font selection sequence at the end of the file 1 lt The number is the same as is used in c D command at the beginning of the file 2 4 If the file does have some initialisation sequences which reset the font selection then use the DSM_Command C1 1G9999 and insert the font right after the PCI initialisation 2 4 Use the DSM command lt lt EB999 gt gt directly in the print data stream PCL3GUI HP Business InkJet support DSM partly supports the HP Business InkJet Printers The DSM commands that can be used are EE EB C H D pjl_init mac Warning DSM does not verify any inserted data stream macros or unsupported commands within a PCL3GUI data stream Rescaling the print page This functionality enables DSM to resize the page independently to any factor in X and Y directions For example a page designed for 80 characters per line at 10 cpi can be resized horizontally to fill printing of 80 characters at 10 1 cpi In order to do this the key PCL X SCALING and or PCL Y SCALING needs to be added to the ini file section The scaling factor is provided in percentage Therefore the entry needs to be larger than 0 An ent
13. confidential var note workpath is the path where the file is stored in the DSM unit The text file confidential var must exist please create it for example using notepad Tipp The variable can of course be exported into any report accounting file or can be passed to any external software by command line parameter using one of the CALL keys Additional DSM functions Automatic symbol set conversion DSM is able to convert any incoming characters to ASCII or any other symbol set using the key INSYMBOLSET As incoming data is converted the key should be used in the sections Global PrinterName or UserName The conversion files are again standard ASCII files and can be changed using an ASCII editor DSM comes with an example file ebcdic sym which defines the conversion from EBCDIC to ASCII The syntax of the symbol set definition file is pretty easy ASCII Character Number Min One Blank Source Character Number In order to change or generate a new symbolset file copy the ebcdic sym file and modify the new file HexEmulation Once set in the GLOBAL or any positive search or triggered section the output of the DSM Server is converted in a readable hex data stream Use any time the key HEXOUTPUT ON 65 Copyright 2005 William Matthew Limited All rights reserved Init file job init mac If a file named job init mac is found in the WorkPath directory the DSM Server will download the content as a Job initialisation Pl
14. displayed when clicking the System Network Tabs WM Data Stream Manager Vety ettings Network address DNS settings o Use dhcp numbers below will be ignored and you will need to o Use DNS if unchecked numbers below will be ignored manually re direct your browser to the new IP address Primary DNS server IP Address 19200192 Secondary DNS server 255 255 255 0 Manes DNS Domain 192 0 0 192 Suey DNS Search Order Update settings P 9 Update DNS Done This screen will allow you to set the units IP address Netmask and gateway where necessary If you have a DNS server and wish to use printer names on your network this can be set from this page also Note If DHCP is selected and no DHCP server is found the unit will default back to the last configured static IP address When you are happy with the settings click the Update setting button The following page will be displayed and a status page will be printed on the printer connected to USB1 Will Data Stream Manager A Network setting updated Re connect lt Done 10 Copyright 2005 William Matthew Limited All rights reserved Note connecting a monitor to the display connection and a USB Keyboard to any USB port will allow you to login to the unit and set a static IP address or set the DHCP default Login admin Password password Licence Key Page Will Data Stream Manage Enter the key to enable your print serve
15. everytime a data stream is sent through the queue 3 The Key INFILE With this command the active ini File is changed to a new file its GLOBAL section is read and all Search and Trigger Keys are activated The old keys from the first ini File are not valid anymore Please have a look on the next page for further key information Notes e Do not use any Search and Trigger keys in this section e f your commands are not recognized then check the section name If you are not sure about the printer name then view last LogFile The section UserName This is the section that DSM looks after right at the beginning of job process Actually it does the same as the previous section but based upon the user logon name e DSM only processes commands if the user name is found in the datastream Example Greta Garbos XP DSM COMMAND C 1 101000 Prints on all pages form 1000 as an overlay 46 Copyright 2005 William Matthew Limited All rights reserved The section Printer Driver Name This is the 4 section which DSM looks during the beginning of job process Again it does the same as the previous section but based upon the name of the windows printer driver To find the printer driver name open the printer settings go to the enhanced tab the driver name is displayed Example hp LaserJet 1300 PCL5e DSM COMMAND C 1 101000 Prints on all pages form 1000 as an overlay Ini File key SEARCH B
16. in assisting with production of the data format UPC Barcode Structure The Universal Product Code symbology is used throughout the U S and Canadian grocery industry and has expanded into general retail as well In its standard version UPC A the bar code consists of a five digit manufacturer number and a five digit product number In addition there is a 1 digit number system identifier at the start of the code The number system digit denotes the use of one of ten number systems defined by UPC 0 6 and 7 are for regular UPC codes 2 is for random weight items e g meat marked in store 3 is for National Drug Code and National Health Related Items 4 is for in store marking of non food items 5 is for coupon use 1 8 and 9 are not used at present The UPC symbol also has a check digit which is the last digit of the code and is calculated according to the algorithm used for EAN 75 Copyright 2005 William Matthew Limited All rights reserved Centre Num Teil gystem Pattern MEN Man i heck num ber num ber Digit As with EAN UPC is described in terms of magnification factor as a percentage The 100 code is the same size as a 100 EAN The human readable characters for the number system character and the check digit are printed at a smaller size and separately from the other digits There are a number of human readable character layouts in use currently The HRC layout does not affect the encod
17. is recommended that the final print output is scanned for readability before releasing the labels or documents produced The Tempest DSM supports scalable barcode printing applications It is important the barcodes produced are not scaled to small due to definition and potential readability issues We recommend that the barcode be produced in normal output size and tested In addition to this it is important that magnification and expansion of your barcode output be clear and non pixelated in output The Tempest DSM supports fixed sized fonts and scaling them to large will caused print quality problems You should test the output and adjust settings with all the components to produce output that will work with your requirements It is advisable to test the output with the Scanning equipment intended to be used on the project William Matthew Ltd does not warrant that all the Barcodes and fonts contained with the Tempest DSM product are readable by all devices Bar thickness can be adjusted to overcome specific issues by the Tempest DSM Getting a Good Scan The data contained within the barcode is read by moving a spot of light across the barcode starting in the white space before the first bar and moving through all the bars and spaces to the white area at the other end of the barcode Therefore when printing a bar code the method of scanning must be considered when choosing the bar code dimensions In applications where the barc
18. new value A value of 0 sets the default value Negative values move the origin out of the page But note that printing information can be lost when the origin is positioned outside the unprintable area Positive values move the origin to the right Printing information can be lost on the other side of the page when printed outside the unprintable area If the command is not given the data stream will not be changed If the command is recieved the converter will erase all related sequences in the data stream Example C1PL300 Printing for example a left bounded ASCII data stream this command will move the whole text on an A4 portrait page 300 units to the right C Command PS Short edge positioning Same functionality as PL but on the short edge of the paper C Command PX sets PL and PS to 0 0 If this command is recieved the previous defined PL and PS moves will be set to 0 0 right before the formfeed and before any macro using C command is called If this command is used on its own any Esc amp IU or Esc amp lZ in the data stream will not be erased C Command Q Single page reprint factor The reprint factor must be a positive digit larger then O This command reprints a single page times as it is defined 1 1 no additional forms or other DBM Commands are issued The command is normally not used in duplex mode as the pages are simply copied by the printer For a page counter those additional pages are
19. number is equal or between the defined page limits Example C1 10 29S1 C1S0 All pages of the first copy from page number 10 up to 29 will be printed in Duplex mode All the other pages will be printed simplex C Lcommand Will be executed only for left pages after the standard C Comamnd This command will force DSM to print a form on left handed pages only C Rcommand Same as C L but for right pages This is a very special command It is only executed if an EX C Command at the end of the job or EA C Command at the beginning of the job is defined In this case the given commands are executed directly before the EA command so at the beginning or at the end of the print data stream This command is used to give the EA and EX command some copy specific settings It is also possible to use variables within DB M Commands One major usage of this functionality is to generate dynamic DS58M commands The following advanced example demonstrates how some pages within a larger job can be drawn out of different paper tray when a special word is found on that particular page GLOBAL Generate an own page counter using the Variable myPageCounter and initialize it to 1 first page variable myPageCounter 1 Normally all pages are drwn out of tray NORMAL DSM COMMAND C111 search for next page and increase page counter search for formfeed and next sequenze s to find formfeeds search_binary x0C x
20. of ASCII 27 Escape Sign SEARCH BINARY Invoice INSERT_BINARY x1B s20vs3b4148T ReadOnlySearchKeys ON This example demonstrates how to print the text Invoice Very large with 20pt bold and in a Universe font Ini File key OutSearch_Binary OutSearch_Windows OutSearch_Text Those keys performs exact the same like the SEARCH_xxxx keys but e The search is based on the outgoing data e The only 4 executed action keys are StoreNextWordToVariable StoreNextWordTolntVariable Add Binary Counter all Call keys The keys are only used in conjunction with splitting the data stream into X archived print files using an archive file name based upon a value found in the data stream like a invoice number Not implemented in this version of DSM if you would like to use this function please contact WML Example HP LaserJet 4200 PCL5e Archive and not print the data stream of this printer OutArchiveDir d archive Invoices InvoiceNo prn Turn the splitting function on OutArchiveSplitFiles ON Do not print anything NoPrinting ON Split after the next formfeed Search for a trigger expression on the last page of an invoice Search_Binary Total amount incl vat Insert the split command Add_Binary x1B s 997Z You may enter the ADD command direct in the print stream In this case this section is not needed Search last Invocienumber The invoice number is the next word after the search text OutSearch_Wi
21. of this section are performed See below The Server verifies and performs the found section only if all arguments are found in the first bytes of the data stream Do not use this key in the section GLOBAL Example Section TRIGGER SAMPLE TRIGGER BINARY Invoice TRIGGER BINARY Delivery DSM COMMAND K3 C1F1000 C2F1100 D2 The DSM command is performed if both trigger arguments are found in the data stream Primary Trigger key TRIGGER TEXT This command performs the same functionality as the TRIGGER BINARY key but with 2 enhancements 1 The comparison between the searched text and the data stream text is performed case insensitive Example TRIGGER_TEXT Greta Garbo will be true for all following data stream contents Greta Garbo greta garbo Greta GARBO etc 2 In addition this key ignores any positioning Escape Sequences Esc p X or Esc p Y the windows driver might generate between each printed character Here are some tips to make the trigger findable in the data stream especially if you are not able to interpret a PCL data stream e Do not set the driver to print Truetype as graphics e The trigger word s should be formatted if possible with a printer internal font If DSM cannot find your trigger search word at all the reason can be that some new HP windows drivers or drivers supplied by Microsoft Some do not use the same characters in their ASCII codes hence it is not easy to scan them for a unique string H
22. point So the escape sequence would look like 84 Copyright 2005 William Matthew Limited All rights reserved lt 5 gt 50 0 144 0 060 05246307012345678901 The next two parameter b s control bar widths The first number before the comma is the narrow bar width which is then followed by the wide bar width Both values are in terms of 600 dpi The default for EAN13 is 8 dots for the narrow bar and 16 for the wide bar The following sequence would not change your output bar code from the default lt ESC gt sOp0h0v8 16b0 0s24630T 012345678901 It is best not change the bar width without adjusting the space widths which work in a similar way except the gaps between bars Again the default is 8 for narrow space and 16 for wide space so therefore this sequence does not change the output from default lt ESC gt sOp0h0v0 0b8 168246301 012345678901 So let s say we want the barcode for EAN13 to be twice the size of the default We would increase the height from 62 points to 124 point and double both the narrow bar and space size from 8 to 16 then double the wide bar and space from 16 to 32 Therefore the sequence would look like this lt ESC gt s0p0h124v16 32b16 32s24630T012345678901 The last parameter T controls what kind of barcode you wish to use If you wanted to use UPC A instead you would change the 24630 to 24600 like this ESC s0p0h0v0 0b0 0s24600T01234567890 Note that UPC A only requires 11 digits for the corre
23. read over all blanks for minium 20 characters StoreNextWordToVariable OrderName 20 Should be only read on time Search_Only_Once ON Speed up process ReadOnlySearchBytes ON Ini File key StoreNextWordTolntVariable Like all the keys mentioned in the previous descriptions but only for the next word is read the value is converted to a signed long integer Length option is not allowed If the next word is 0123 the value will be 123 12AB34 will be 12 and the result of A123 will be 0 zero Ini File key SkipUntilEnd All remaining bytes of the data stream including the search item will be ignoed by DSM No additional search keys are performed on the remaining data stream nor any possible Trigger items in that skipped part are searched Use this key for example to avoid additional pages from spoolers Primary Trigger key TRIGGER BINARY This command is pretty much the same as SEARCH BINARY but The ADD BINARY INSERT BINARY REPLACE and ERASE BINARY commands of the same section are ignored Several TRIGGER BINARY keys in one section are analysed as an AND operation In other words all triggers needed to be found in the data stream before the further control commands of this section are performed 53 Copyright 2005 William Matthew Limited All rights reserved triggers of a section are found additional analysis like Resolution page size and orientation and be checked before the further control commands
24. separated with commas F1000x y The first number is the x position and the second one the y position This command remain active until changed by either using other offsets in the next F command or in the general PL and PS or PX commands if valid on the next page Finally you may add a print direction to the macro 0 is the default 90 180 or 270 degrees 0 normal print direction 32 Copyright 2005 William Matthew Limited All rights reserved Notes In order to work correctly this command needs a FormFeed in the as the page separator If you use for example if on the last page EscE instead of a FormFeed is present there will be no forms added to that last page As F statements as you like can be added to a C command Again note the maximum length of the total DSM command is limited to 1023 bytes Examples C1 1F100F200 C1F200 DSM inserts on page 1 of copy 1 the forms 100 and 200 on all other pages of copy 1 the Form 200 Form 100 could be a letter head Form 200 maybe a logo which needs to be printed on all pages If the form number is provided as a negative value DSM searches for the positive form but at the end of the job the mac form file will be deleted Use this method to delete temporary form files Forms with their ID between 25000 and 30000 will be loaded every time to the printer C Command FF FormFeed This command inserts a FormFeed into the data stream For example this function can be
25. the input data and the postfilter is the output to the printer You will need to close the page and reopen it to display the Mauve section after the first enable of the diagnostic function The files can be viewed Yellow Section contains the main Convert ini file which is editable User Defined FONTS If you require a user defined font to be downloaded to the printer before each print job you must create a file named job init mac This file should contain all the required fonts you wish to be down loaded to the printer NOTE it is the users responsibility to make sure all fonts that are included within the job init mac file are licenced for use 22 Copyright 2005 William Matthew Limited All rights reserved Convert ini When you edit the on board Convert ini or create your own ini file for upload to the Tempest DSM you must follow some simple rules REM End of configuration for net3 neti REM Generated using WML Data Stream Manager Web User Interface DSM ON EpsonEmulation OFF Prescribe OFF PPDS Enable OFF PrintronixEmulation PGL OFF PrintronixEmulation VGL OFF REM Labelled Input Tray REM DsmMacro0 F1000 PS 0 PN 3 5 3 CN 1 DFLT 1 REM DsmMacroi F1001 PS 0 PN 2 CS 3 CN 1 DFLT 0 DSM_Command K1 C1 15116F1000F1001 C1 2F1000F1001 C1 3F1000 C1F1000 D1 REM Enter your own commands after this line DSM Command K1 C1 1160504 1 C1 216F508 DSM Command K1 Ci 11681F504 C1 2F508F502 DSM command Ci 1F504
26. the page The following notes are important for this command e Use the command only on a special page of a copy If it is the first page of the first copy then use C1 1N e This command does not work for the last page of a job However in this case instead of the data a blank page will be printed e Always use the N command on a specific page The command C1N does not make sense because there will be only a blank page printed for the first copy e This function is not supported in conjunction with the R command C Command N1 Ignore FormFeed The N1 command can be used to combine 2 pages to one page 35 Copyright 2005 William Matthew Limited All rights reserved C Command O Overlay In principle the overlay function has the same functionality as the C command but form will be automatically called on every page the printer feeds The value of 0 disables the actual enabled overlay macro Only one Overlay command can be used in any C command If you want to call more then one generate by hand a new macro which calls the other ones If the form number is provided as a negative value DSM searches for the positive form but at the end of the job the mac form file will be deleted Use this method to delete temporary form files generated with the F command C Command PL Long edge positioning Any positive or negative digit will move the long edge origin of the page coordinating system to the
27. used to print a terms and condition form on the reverse side of a selected page All forms macros are inserted as the last function on any page See below C Command S for an example Important Be careful using this parameter because a recursive situation happens very easily So C1F2000FFF3000 is a invalid command Form 2000 is printed on the first page then a FormFeed and F3000 on the second page But in this case the second page may be interpreted as the first page by subsequent commands There are 3 ways to get around this 1 If the page should only be inserted once for example on the back of the first page then use this command C1 1F2000FF C1 2F3000 C1F3000 2 The page should be inserted specifically for right hand and left hand pages C1 RF2000FF C1 LF3000 So on every right sited page a FormFeed is inserted which results in a F3000 being inserted on the left hand page 3 See next command C Command FN FormFeed using next page command This command is much the same as the formfeed FF command The printer will move the cursor to the next page The difference is that DSM will not recognize that the page change happened Coming back to the FF command example the third solution is C1F2000FN3000 33 Copyright 2005 William Matthew Limited All rights reserved C Command G Call macro Very much like the F command but called at the beginning of the page This function is similar to the F Command but has the ben
28. value and the variable name is separated by 7 0 ore Notes You may define the variable in the section GLOBAL to have a predefined value Operator does compare strings Operators gt and are compared as float numbers Examples Trigger_Variable MyValue test Trigger_Variable MyCounter gt 7 See example in QA document Trigger_VariableSubStri Like the Trigger_Variable Operator But instead ng of an equal comparison the key becomes true if the right argument can be found in the left string The search is performed case in sensitive Orientation PORTRAIT REVERSEPORTRAIT LANDSCAPE REVERSELANDSCAPE Page_Size A5 A4 Letter Legal or PCL 5e value of the Esc amp l A command PaperTray PCL 5e value of the Esc amp l H command See PCL 5 technical reference or PCL 5 printer comparism guide for further details Trigger OutPrinting Used in conjunction with the database Trigger a Section after the database inquiry and check if the job is still to be printed or not This secundary trigger is used for example to react if a job is not printed anymore but maybe only eMailed of faxed So new copyfactors or archive rules can be applied Not implemented in this version of DSM Printer Names name 1 printer name 2 Section is only performed if job arrived through one of the named printers Resolution 300 600 Simplex Duplex 0 1 2 5
29. 100 00745 becomes 127451 2 If a manufacturer number ends in 300 400 500 600 700 800 or 900 then two digits are allowed for the product code The first three digits of the manufacturer number are used and a 3 is inserted after the product code In such a case only the product numbers 00000 00099 could be shortened to UPC E e g 12500 00081 becomes 125813 3 If a manufacturer number ends in 10 20 30 40 50 60 70 80 or 90 then one digit is allowed for the product code The first four digits of the manufacturer number are used and a 4 is inserted after the product code In such a case only the product numbers 00000 0009 could be shortened to UPC E e g 12390 00007 becomes 123974 4 If the manufacturer number does not end in zero all five digits of the manufacturer number are used followed by one digit of product code Only numbers 5 9 may be used Therefore the manufacturer only has 5 UPC E codes available e g 12345 00008 becomes 123458 The check digit for the UPC E is calculated from the full length UPC code and is not directly encoded by a bar space pattern Instead it is derived from the parity of the rest of the bar code Each of the numbers 0 9 can be represented by a bar space pattern with a even number of dark bars or one with an odd number of dark bars according to an encodation table The pattern of even parity and odd parity patterns tells the scanner which check digit has been used according to the follo
30. 4711 is printed If in the data stream after this command no PCL command which will perform a FormFeed is found the following data starts printing on the reverse of the page Example 1 EAS2B2F4711FF C1 2S0 The same command as the previous example but the form will be printed on the first page only maybe the forms are using the same variables for printing the user name and print time but then the form feed tells the printer to feed the page As the B2 command is not performing a formfeed the page counter is set to 2 after the FF command The C1 2 command will set the rest of the data stream to simplex printing The following command does the same but as 2 FormFeeds are sent the empty first page is counted EAS2FFF4711FF C1 3S0 Notes e The major difference compared to the EB command is the EB loads a form in front of the data stream The EA command can then set the printer within the data stream to any initialisation The K copy command does even reprint this initialisation which is not the case for the EB command e Any page initialisation of C1 or C1 1 command will be sent out before the EA commands e In order to enable copy specific tray selections the Command C X is searched and if defined executed right before the EX commands e You may use several EA statements in a command line 38 Copyright 2005 William Matthew Limited All rights reserved These commands set the printer to a specific resolution 300 or 600 dpi
31. 5 Copyright O 2005 William Matthew Limited All rights reserved User Names user name 1 user name 2 Section is only performed if job is intiated by one of the named users logon name e User and Printer names are separated with semicolons The command argument must also begin with a semicolon The trigger is true if one of the entries is found The entries are case sensitive compared against the program call arguments e Internally in the DSM code P1Argument printer names and the P3Argument user names If no command call arguments are provided the trigger is always true Inifile Example Printing color is allowed In every job is a character 1 to the first trigge is always true Trigger 1 Now second trigger check is the job comed from a user who is allowed to print color user names USER1XP USERA2NT The color printing is not allowed command only for HP printers PlanesInUse 1 Ini File key ElseTriggerActivateSection This key is performed if a triggered section does not become true As the key argument any section name can be used This section will be evaluated in the same way as it would have become true using a search or trigger key Printing color is allowed Trigger 1 user names USER1XP USER2NT Those ueser can print color ElseTriggerActivateSection Don t allow colour printing Don t allow color printing all the other ones not Plan
32. As leading and following blanks are cut off by the ini handler software wrap the arguments in Examples SEARCH BINARY SearchData With additional blanks TRIGGER BINARY SearchData With FormFeed ADD_BINARY EndOfFile 0x0C ADD_BINARY EndOfFile 0x0C 45 Copyright 2005 William Matthew Limited All rights reserved The section GLOBAL This section is first read direct after the program call It lists all global commands for the DSM server application These command arguments can be changed in any other sections if those sections have trigger or search entries and their arguments are found in the data stream As all settings of the section GLOBAL are performed at program start do not insert a Search or Trigger key in this section The valid keys are all listed in the table in the next section of the manual Do not use PASSTHROUGH in the GLOBAL section The section PrinterName This section is read executed by the DSM software right after the program start and after the commands in the GLOBAL section The commands in this PRINTERNAME section are handled like any other command This means that any Search and or Trigger commands are examined and if found in the data stream the section is executed So there are three kinds of keys which go typically into this section 1 Special ON OFF settings which may overwrite the GLOBAL settings 2 Direct commands like D5M COMMAND K2 Which need to be performed
33. C_FILE Filename usually from ACC_FILE key which contains the file name for the accounting file ACC_PROJECT Name of a project which can be stored into an accounting file ACC_STOREVALUES Variable which holds all the variables whose content should be stored into the accounting database or file ACC_TYPE Holds the value if the accounting information is written into a DBASE or CSV file ACCTOTALPAGES This is the amount of print pages provided through the p5 parameter In MS Windows automatically done For PCL data streams the counter is set to O and DSM does count all FormFeeds itself PAGECOUNT Use this variable to generate an automatic page counter the counter starts at 0 PAGEPERCOPYCOUNT Same as PAGECOUNTS but the page counter counts only within a copy So with the beginning of every copy the counter is reset to page number 1 With DSM_Command usage of K factor the result is 123 123 etc with Q it will be 111 222 333 COPYCOUNT Only usable in conjunction with DSM_Command K for copy generation Used in a macro with a macro number of larger then 25000 an automatic copy counter can be defined like Copy 1 Copy 2 etc JOB_COUNTER If key enabled then jobs can be counted PCNAME The variable is set to the content of startup P2 operand or read with a higher priority from the PJL ATTRIB Commands out of the data stream VAR_OUTFILESIZE For accou
34. ElseTriggerActivateSection Ini File key ActivateSection DSM Variables User defined Variables in Ini File Sections Variable manipulation functions Access Environment Variables Merging Variables into Forms or Documents Automatic symbol set conversion HexEmulation Init file job init mac Exit data file job exit mac KillJobsWithLessB ytes EraseMacros key Print Quality key EconoMode key RenderMode key PreScribe emulation Epson ESC P 9 Needle IBM ProPrinter Data Stream PPDS Emualtion Printronix IPG VGL and PGL emulation Softfont loading on demand Copyright O 2005 William Matthew Limited All rights reserved Page 52 53 53 54 55 55 57 60 61 62 62 64 64 65 65 65 65 66 66 66 67 68 69 70 71 Table of Contents General methods for loading Softfonts PCL3GUI HP Business InkJet support Rescaling the print page Barcode printing and readability considerations Getting a Good Scan Barcode Information The EAN symbology Barcode Creation and Programming Basic Control Sequence Commands The Special Call Escape sequence format Validation of Checksums Barcode Sizing and point size range Barcode Escape Sequence Structure examples Appendix 1 ASCII Code Table Appendix 2 ASCII Code Set extended Characters Glossary of Terms Copyright 2005 William Matthew Limited All rights reserved Page 71 72 72 73 73 74 77 80 81 81 82 82 82 85 85 86 86 87 I
35. HE D 6 EX F K N1 N2 Q What do on specific and optional on a specific page What to do on the left right pages of a specific copy Select a specific page size like A4 or Legal etc Select a specific page while duplex printing Select print direction portrait landscape reverse Print macro form number on page copy Insert FormFeed Insert FormFeed but DSM will not count and recognize the FormFeed Print macro form number on page copy but at the beginning of the page Draw paper from tray using PCL Sequence Esc amp l H for page copy Draw paper from tray using PCL Sequence paper type for page copy Use Job offset in out tray Add the report lines on the page Send paper to out tray Do not print page only used with C command Print macro form number on this and following pages as overlay Long edge margin Short edge margin Set page margins to 0 Static reprint factor per page Resets the page number to 1 The next page will be treated as C1 Simplex Duplex Don t use this page definition on print page number Default copy definition if no copy definition for actual copy is defined Inserts a full C Commands right in front of the first printing data Send form data at beginning of job start with PCL UEL command CoverSheet Send form data at end of job Set print data to 300 or 600 dpi EB command is also required W
36. I Input paper tray selection This command defines the input paper tray instead of using the PCL sequences to select a paper tray which are unfortunately different form printer to printer the digit following the command defines the requested paper type This Command is only supported by HP LaserJet Series 4000 2100 and newer l 1 Plain 2 Bond 3 Color 4 Labels 5 Recycled 6 Letterhead 7 Cardstock 8 Prepunched 9 Preprinted 10 Transparency 11 Rough The benefits of specifying paper types instead of tray numbers are You may use any tray for a special type of paper This gives the user the benefit that he can load the printer with paper according to his needs Different paper types may be required within different departments of any organisation Example production area or Accounts department Ifthe application requires a special type of paper you have either have different kinds of papers loaded in the printer trays or the user is notified through the front panel of the printer to load a special paper In both cases the printer needs to stop if the tray is empty In order to achieve this each tray needs to be assigned to one of the above listed paper types If this is done the programmer doesn t need to 34 Copyright 2005 William Matthew Limited All rights reserved know how the printer is loaded The name of the paper does not need to match the real type of paper which you want to print on It
37. INARY While reading the incoming data stream this command searches using a binary comparison for the argument Once found one the following keys listed in their priorities are performed Replace Binary The search argument is replaced by the argument Insert Binary Inserts the argument before the search argument Erase Binary and Deletes the search argument from the data stream Add Binary Adds its argument after the search argument ReplaceNextTerm Is used to search for a string only once and replace it with the provided second string StoreNextWordToVariable reads the next word into a provided variable StoreNextWordTolntVariable reads the next word into a provided integer variable SkipUntilEnd Will ignore all following bytes until data stream end Plus all available keys in the rule section Notes f your ini file does have several sections with SEARCH keys then be very careful when using the REPLACE INSERT and ADD keys in order to prevent a recursion The processing of the argument is handled case sensitive You may add several SEARCH BINARY key statements within one section The DSM server will search for all definitions If only one of them is found all keys of the section are performed This means that several SEARCH BINARY commands in one section are OR combined and that only one REPLACE BINARY or INSERT BINARY ADD BINARY and ERASE BINARY is allowed per section SEARCH BINARY is after the initialisation read ini file th
38. NOT counted 96 Copyright 2005 William Matthew Limited All rights reserved The commands should be used very carefully in conjunction with the page copy commands K and R Example K1 C1 1Q2 C1 2Q3 The complete document is printed once K1 but the first page will be printed 2 times and the second and all following pages 3 times C Command R Reset Page Count This command resets the page counter It can be used to create a page number based recursive DSM Command actions But note If accounting is enabled this command will lead to wrong accounting results Example A data stream is endless It contains n times 3 pages and the pages have to be drawn out of different paper trays GLOBAL The 3P page will reset the page counter to 1 DSM COMMAND C1 1H4 C1 2H1 C1 3H6R The result of the command in the definition of the page is that the page is performed as it is would be the first page the also again as the first etc This method only works for jobs which have constantly the same amount of pages If this is not the case then the new DSM Escape Sequence lt 27 gt s 995Z can also be used on the last page of a section Whenever this sequence is found DSM will then reset the page counter on the next page to 1 Example Invoice printing by a huge data stream with a lot of invoices On the first page form 2000 is requested on all the other pages form 3000 If the text Payment period 30 da
39. OCR A1 Loading Font Automatic OCR B Loading DSM traces the data stream for the original HP Escape Sequence for OCR A1 check printing and OCR B Swiss Austrian address printing Once the correct sequence is found the font is automatically loaded to the printer and activated This function may save a lot of network bandwidth because there is no need to download the fonts together with every data stream It is only loaded when needed Due to licencing reasons the fonts are NOT provided in the standard DSM Print appliance General methods for loading Softfonts There are several ways using DSM to automate the softfont download into the printer s memory before they are used in the data stream The PCL 5 Technical Reference manual from Hewlett Packard explains how Softfonts are built In order to work properly with DSM a downloadable softfont needs to have a proper ID sequence in front ctfHBED and at the end of the font file the font resident sequence c5F which makes the loaded font resident against any software reset After the font is loaded it can be addressed either by the ID or using the full escape sequence Here are some examples how to download softfonts 1 Use the predownload file pjl init mac This file needs to have all the required fonts stored in it for all possible print jobs So the disadvantage is that this file is maybe quite large and as it is sent together with every print job It may cause a lot of add
40. PRINTDOCNAME Z 14 Before Microsoft Word TheDocumentname doc After Microsoft Word Error Will not work Named Section as the user logon name Variable FullUserName UPPER Mark Brown Results into the variable content UPPER Mark Brown The string Mark Brown is not converted as it is none variable This will do the job Variable FullUserName Mark Brown Variable FullUserName UPPER FullUserName It can also be used in any file definition search and replace keys Warranty Text printing Find the place to print the info in the data stream Search_Binary WarrentyStatement Replace with text and variable NextYear Replace_binary This part has warranty up to end of NextYear Which was calculated from the date code dd mm yyyy variable ThisYear RIGHT DATENUM 4 And incremented by one Counter This Year Access Environment Variables The DSM key GetEnvVariable reads any available environment viable into a DSM variable The variable name is set to uppercase and surrounded by the characters GetEnvVariable os will give a DSM Variable OS with the content Windows NT Use key variables store for a listing of all collected DSM variables Type SET in a DOS command window to view the environment settings Merging Variables into Forms or Documents DSM does provide a low level method to insert user defined variables into a document This method does work for any kind of data streams for example Postscript The
41. S1FFF508 REM End of configuration for neti K3 Save Changes Terms and Conditions The Convert ini file is divided into sections each new section starts with a description within square brackets GLOBAL section all commands in this section will act on every enabled queue USB1 USB4 or neti net50 neti to net50 sections If you create a section which starts net1 the commands in this section will only act on data streams that are processed by queue net1 usb1 to usb4 sections If you create a section which start usb1 the commands in this section will only act on data streams that are processed by queue usb1 Only the most commonly used DSM commands are created within the web interface command generator but by creating a queue and enabling some of the functions you will see that the relevant section is setup this can be can be added to with more complex commands or sections If you wish to add a command to any port enter the command in the space provided REM Enter your own commands after this line DSM CommandzK1 C1 116050481 C1 216F508 DSM_command C1 1F504S1FFF508 new Section DSM CommandzK1 C1 11681F504 C1 2F508F502 REM End of configuration for net1 If you edit or change the Convert ini you must click the save button to save the changes 23 Copyright O 2005 William Matthew Limited All rights reserved Windows Printer Setup Although you can print from most operating systems through the DSM
42. T DAF fonts permanent DAM DAP Delete all macros DELF DELM Delete macro DRP DUPX Duplex printing DXPG DZP Line to absolute position ENDM ENDR End Raster Graphics EXIT FONT Internal Bitmapped fonts FPAT FSET PCL font selection JOG LDFC Define font character MAP MCRO Define macro MRP MZP Move cursor absolute PAGE PAT Select pattern PDIR PSRC Paper tray selection RESL RES Reset RGST RPF Pop last font RPP RTXT Print right positioned text RVRD SCF Pust actual font SCP SCPI Character per Inch fixed only SEM SETF Set new font ID SFA SFNT Set font SLM SLPI Lines per Inch SLPP SLS Lines per Inch SPD SPL Seelines per inch 1 SPO SPSZ Paper size SRM STAK Set outbin stacker STM STR Resolution TEXT UNIT Meassure system Automatic mcro overlay Barcoding Draw a box Paper tray selection Remark Print center positioned text Line to absolute print position Delete font Line to relative Position Page side selection End macro recording End prescribe mode Define a pattern Job offset Move cursor absolute Move Cursor relative FormFeed Rotate Resolution Move coordinate system Pop Cursor Start Raster Graphics Push Cursor Seemulation mode Ignored Set alternate font sequence Set left mergin Lines per Page Ignored Set Line Dimension Print orientation Set right margin Ignored Set top margin Print left positioned text 1 By default ignored can be turend on with ini file key PRE PERFORM PAGE COMMANDS Notes t
43. TEMPEST DSM USER MANUAL Manual Version 1 0a Nov 2006 Tempest DSM Installation Guide Tempest DSM Version 1 0a Copyright 2006 William Matthew Limited All rights reserved Tempest DSM is a registered Trademark All Trademarks observed Copyright 2005 William Matthew Limited All rights reserved Acknowledgements Microsoft and Windows are registered to Microsoft Corporation Hewlett Packard Jet direct E amp OE Software Licence and Copyright The Software is copyrighted and all rights reserved by William Matthew Limited 22 Haxey Lane Haxey Doncaster South Yorkshire DN9 2NE UK Email Info wmitd co uk IMPORTANT Before using the Tempest DSM Software please read the licence agreement carefully the right to use this software is granted only if the Customer agrees to the terms of this Licence If you do not agree to the terms of this Licence please return the product unused William Matthew Limited considers that installation of the Software is your acceptance of our terms and conditions of the license 1 The Software has been developed for use with the Tempest DSM Product range The Licence is to be used without any time limit and maybe subject to change 2 The Software may not be duplicated copied resold or re branded without the written consent of William Matthew Limited 3 It is the responsibility of any user reseller Distributor OEM and other third party to protect William Matthew Limited rights a
44. The Tempest DSM will interpret a series of special font commands which are called within the PCL5 escape sequences These escape sequences follow a standard command set format and structure An understanding of how PCL compliant printers and the PCL control code are interpreted would be beneficial 81 Copyright 2005 William Matthew Limited All rights reserved When an alternative PCL barcode escape sequence is created the code does not process the command by printing a combination of Fonts and barcodes it calls a sequence of special font calls and defines the barcode type format and size of the output This is achieved by a mathematically produced image Basic Control Sequence Commands At the start of any barcode command sequence an Esc character will be defined This is represented in an ASCII character map as ASCII 27 or as a Hex Code format as Hex1B See ACII Code Table Appendix 1 Other Termination codes can be used based upon the data formats as listed below Numeric codes use either Space CR LF FF ESC Alphanumeric codes use either CR LF FF ESC A type face selection sequence in PCL uses a typeface T number Tempest DSM uses a reserved set of T numbers in the range 24580 24900 to initiate the barcode and uses differing termination sequences depending on the barcode type The Special Call Escape sequence format The PCL special font call command sequence follows similar rules to normal PCL escape codes Th
45. a stream For unix when JetMobile barcodes are used on the page therefore in definit h remark out the definition TEXT WITH MACRO It is not enough to set the definition value to 0 For MS Windows If JetMobile barcodes are needed do not print the barcode with readable text or ask your local distributor to send you a system with the WITHMACRO turned off 40 Copyright 2005 William Matthew Limited All rights reserved value can be overwritten using those keys DEM SET COPYFACTOR and DSM USE QUATITY FACTOR N1 Passthrough This command will switch the DSM functionality to passthrough There will be no changes made on the data stream beside to present the content of the file job ini mac if the file exists N2 NoPrinting DSM will not print any data This DSM command can be used to avoid the print out but in conjunction with archiving the data can still be sent to another directory or port like fax these features will be added to DSM at a later date Q Pages reprint factor The positive number tells the system how often the complete data stream has to be printed The minimum and default value is 1 This command should not be used in conjunction with the R or K command K factor can be overwritten by a copy factor defined in the print file Another way to set the value is to use the Key DSM_USE_QUATITY_FACTOR Compared to K parameter this Q parameter works totally differently The d
46. ages do not count The Search Binary and Windows definitions in the ini file are performed on these macros as well as the variables replacements There will be an UEL inserted right at beginning of the data stream If the data stream itself contains an UEL Esc96 12345X or a PCL Reset EscE statement this method can t be used to set the printer El Performs a DSM Command at the beginning of the copy This command is performed right before the reprint copy of the job This command is only performed if the K command is provided Example K300 EI50I9FF There are 300 copies in order 123 123 123 printed After every copy an empty sheet is drawn form paper try with media type preprinted ET J Wrap in PJL JOB statements This command should be used if the data stream provides only ASCII characters and doesn t initialise the job correctly No BEGIN and no END OF JOB Sequences ET wraps the data stream into well defined PCL 5 PJL commands As the result the printer treats the output stream as one job ETJ K The parameter J is only usable in conjunction with the K parameter If both are used DSM does wrap each copy job independently Maybe used to staple each job together if the job itself is not well bounded 39 Copyright 2005 William Matthew Limited All rights reserved EX Send a C Commands right at the end of print data This command is used to add forms at the end of th
47. an readable barcode data below 4 print human readable barcode data above 5 The parameter h controls text style for the human readable barcode data It is actually broken down into three parts If we change it to 304 then we get bold CG Times used for the human readable barcode data So now the sequence looks like this lt ESC gt s0p304h0v0 0b0 0s24630T012345678901 The 3 in the 304 selects bold the 0 is reserved and therefore is always 0 and the 4 select the CG Times font below are the other useable codes First digit codes default for given barcode 0 use regular 1 use italics 2 use bold use bold amp italics 4 Middle digit codes Always zero and any other value reserved Last digit codes default for given barcode 0 selected letter gothic font for human readable barcode data 1 select Univers font for human readable barcode data 2 select Univers condense for human readable barcode data 3 use CG Times font for human readable barcode data 4 use OCR B font for human readable barcode data may not be supported on some printers 5 The v parameter affects the size of the barcode in terms of height the default for EAN13 is 62 point or 1 72 of an inch If you wish to convert this to 600 dpi size then divide the point size by 0 12 therefore 62 0 12 gives you 516 dots height If you want to work back from a given height e g two inches which is 1200 dots then multiply by 0 12 1200 0 12 given you 144
48. and but e The variables must be available when reading the command e The commands need to edited directly in the ini file C L R X Command What to do per page The first number after the C defines which printed copy of the incoming data stream the command is valid for As an example C1 for the first copy the original C2 for the second and so on As an option you can add C Command definition for the copy number and page number of the copy C Command definition for all pages between page and for copy st C L Additional command definition for left hand pages C R Additional command definition for right hand pages See below You may define within a copy rule specific page numbers The page number is inserted with a colon plus number right after the copy number definition Examples C1command The command is valid for each page of the first copy C2 1command The command is valid only for the first page of the second copy Important Additional pages which are inserted through called forms are counted So if you use an overlay command to add terms and conditions on the back of the page you must add a form feed in the form data of the terms and conditions data stream This page will be counted If this is done on page one the next data page will be page 3 Page 1 data stream Page 2 Form back of page 1 Page 3 data stream 29 Copyright 2005 William Matthew Limited All r
49. appliance we have enclosed as an example the setup that could be used to enable a print queue from Windows XP From the Control Panel window select Printers and Faxes from Printer tasks menu select Add Printer Add Printer Wizard Local or Network Printer The wizard needs to know which type of printer to set up Select the option that describes the printer you want to use Local printer attached to this computer 1 Automatically detect and install my Plug and Play printer A network printer or a printer attached to another computer e To set up a network printer that is not attached to a print server J use the Local printer option Select Local Printer and click Next Add Printer Wizard Select a Printer Port Computers communicate with printers through ports Select the port you want your printer to use If the port is not listed you can create a new port Use the following port Create a new port x Type of port Standard TCP IP Port v Click Create a new port and select Standard TCP IP Port from the drop down menu 24 Copyright 2005 William Matthew Limited All rights reserved Add Standard TCP IP Printer Port Wizard Add Port For which device do you want to add a port Enter the Printer Name or IP address and a port name for the desired device Printer Name or IP Address 192 0 0 194 Port Name Factory printer Input the Units IP address or Printer name th
50. at you have previously selected Any descriptive printer name can be used Click Next Add Standard TCP IP Printer Port Wizard Additional Port Information Required The device could not be identified The detected device is of unknown type Be sure that 1 The device is properly configured 2 The address on the previous page is correct Either correct the address and perform another search on the network by returning to the previous wizard page or select the device type if vou are sure the address is correct Device Type OStandard Generic Network Card Gum Select Custom and Click Settings Click Next 25 Copyright O 2005 William Matthew Limited All rights reserved Configure Standard TCP IP Port Monitor Port Settings Port Name Factory Printer Printer Name or IP Address 192 0 0 192 Protocol O Raw Raw Settings LPR Settings Queue Name usb1 LPR Byte Counting Enabled C SNMP Status Enabled The DSM Appliance can support RAW port or LPR If you select LPR each port on the unit is defined with a different queue name as follows First USB queue name is usb1 Second USB queue name is usb2 Third USB queue name is usb3 Fourth USB queue name is usb4 First network printer queue name is net1 Select LPR byte counting and Click OK Configure Standard TCP IP Port Monitor Port Settings Port Name Factory Printer Printer Name or IP Address 192 00 192 Protocol
51. ation of the bar code but does assist in visual identification and the grouping of human readable characters can aid in key entry if scanning is not used The following are common layouts 67890 standard 4 5 1 44 0 I 678 0 I 0 I 67890 5 3 2 54 1 5 0 As well as the standard UPC A there is another UPC symbol in common use the UPC E or zero suppressed symbol Num ber system Check digit character not directly UPC E not encoded ded symbol Always zero at 100 123453 The UPC E is used on packages which worepresents a full UPC code and the full coduld otherwise be too small for a bar code symbol It actually e can be re constructed from the shortened form Only UPC 76 Copyright O 2005 William Matthew Limited All rights reserved codes using number set 0 and with sufficient zeros can be shortened to UPC E codes The form and number of zeros in the manufacturer numbers dictates how many product numbers are available The rules are as follows 1 If a manufacturer number ends in 000 100 or 200 then three digits are allowed for the product code and only the first three digits of the manufacturer number are used In such a case only the product numbers 00000 00999 could be shortened to UPC E The six digits are constructed from the first two digits of the manufacturers number followed by the last three digits of the item number followed by the third digit of the manufacturers number e g 12
52. being 80 to 200 For each magnification there is a recommended or nominal height This figure is recommended to ensure symbol readability when read by a multi directional scanner therefore any reduction in height truncation should only be attempted if absolutely necessary In common with most other bar code implementations EAN8 and EAN13 have a check digit which is the last number on the right It is used to check for an error in scanning or data entry The most common error found with the transcribing or keying of data is that of transposition reversing the order of two digits Therefore the following system is used 1 Starting from the right of the number and excluding the check digit add each alternate digit 2 Multiply the result of 1 by 3 3 Add all remaining digits 4 Add result 2 to result 3 5 The check digit is the smallest number which when added to the result of step 4 produces an exact multiple of 10 For example the check digit for the number 401234567890 is calculated as follows 0 8 6 4 2 0 20 20 x3 60 79 Copyright 2005 William Matthew Limited All rights reserved 94745434144 29 60 29 89 89 1 90 therefore the check digit is 1 In both the UPC A and EAN13 bar code symbologies 12 digits are encoded by the bar space pattern above the human readable character The major difference with EAN13 is that the 13th character the one to the left of the code is encoded by the variable pa
53. ct bar coding not 12 85 Copyright O 2005 William Matthew Limited All rights reserved Appendix 1 ASCII Code Table Null Start of heading Start of text oO JaN 5 0 9 Oo L Device control 2 Device control 3 Device control 4 Neg acknowledge Synchronous idle End trans block iD qu ec a b c d e f g h i 3 k 1 o d r t u v z gt lt lt VOSS rR CH gt 1 Record separator Unit separator 86 Copyright O 2005 William Matthew Limited All rights reserved Appendix 2 ASCII Code Set extended Characters fmm o Q M Mm Dow IF 373 D b r H p a u 1 Q e n Ea 09 ope pe B6 s It F O 5553 mr Fa d U mmu eS zi simo c 4 Pe om Oe o E 1 87 Copyright 2005 William Matthew Limited All rights reserved Glossary of Terms Article Numbering Association A N A The co ordinating body in the U K for article numbering using the EAN ITF 14 and EAN 128 standards Now renamed the e Centre AIM Automatic Identification Manufacturers Association This organisation has branches in most countries or regions It is supported by manufacturers and suppliers of
54. ction can also be selected from this page Tray numbering can differ on different printers so some experimentation maybe required if using Tray numbers On some printers Paper type selection for each Tray can be set from the printer s front panel So if you setup an input tray from the printers front panel to be say Letterhead you can tell DSM to print to Tray Letterhead Output Tray selection can be made from the drop down menu Overlays page A DSM Overlay removed from queue 5 On Default 5 Overlay File Pages Copies Copy Action Ih dsm delnote prn First 3 All yes X wml Ih dsm del prn First 2 All no x lt dem delnote pm applies Erst wilh page Choose db to Later in this manual it will be explained how to store a form overlays or font in the Tempest DSM but associating any number of forms to any queue is a simple process All available forms that have been downloaded to the Tempest DSM can be viewed in the first drop down menu called Overlay file high light the required file The next field pages the drop down menu will allow you to select if you want this file to apply to the first only the first X pages or All pages The copies field again will allow you to select how many of the copies the file applies to select first qr last only X or All Click the to save the changes and display the setting This process can be repeated to 18 Copyright 2005 William Matthew Limited All rights r
55. ction of the data stream if defined in the data stream VAR_TCPIP_PORT Available variable for MS windows implementation that holds the port address of the queue Not supported under pure NT For PCL data streams the variable is not available at the time the trigger and search events processed If the page count is needed another counter has to be used Variables are evaluated in the first 2KByte of the data stream Changes within the data stream are not documented The variables PCNAME and USERNAME can also be defined in the data stream itself using PUL command PuJL SET JOBATTR Those sequences in the data stream are treated with a higher priority then the P command line operands The following table lists all available variables which were defined to cover customer special needs Usually the variables are defined in the ini command file In File Entry Description VARIABLE RESET PAGECOUNT Default If an UEL is found in the PCL 0 data stream the page counter is reset to 1 VARIABLE RESET_PAGECOUNT If an UEL is found in the PCL data 1 stream and the page counter is even and we are in duplex mode the counter is incremented by 1 This version should only be used in duplex printing to move to the next odd page number The same result could be achieved using the key DSM_Cont_Page_Counting 59 Copyright 2005 William Matthew Limited All rights
56. e Management User defined Fonts job init mac file Convert ini Master Control file Windows Printer Setup DSM command short reference DSM command syntax C Command A Page size selection C Command Back page selection C Command Printing Direction C Command F x y d Call macro C Command FF FormFeed Copyright 2005 William Matthew Limited All rights reserved Page 11 12 20 21 22 23 23 27 28 31 31 31 31 32 Table of Contents C Command FN FormFeed using next page command C Command G Call macro C Command Input paper tray selection C Command I Input paper tray selection C Command J Job Offset C Command L Report Lines Generator C Command Paper out tray selection C Command No Page print C Command N1 Ignore FormFeed C Command O Overlay C Command PL Long edge positioning C Command PS Short edge positioning C Command PX sets PL and PS to 0 0 C Command Q Single page reprint factor C Command R Reset Page Count C Command S Simplex Duplex C Command X Don t use this C Command on print page D Default Copy Command EA Send a C Command right before the first print data Set the printer to a specific resolution 300 or 600 dpi EB Send a form job at the beginning of complete job EE Send a form job after the end of the complete job Performs a DSM Command at the beginning of the copy ET J
57. e data stream The syntax of the command is similar to the EA command Can be any combinations of C commands like macros simplex duplex commands etc However you must always use C Command FF for ending the last page Notes e This command is only activated before the reset sequence EscE or before the UEL commands Esc 6 12345X which ever comes first e In order to enable copy specific tray selections the Command is searched and if defined executed right before the EX commands e You may use several EX statements in a command line if they are combined during the processing with DSM COMAMND ADD e You may also combine several pages even from different trays using duplex Example EXS2I9F1000FFF1001FFF1002FFF1003FF The macros 1000 to 1003 are added at the end of the job seperated by FF so each macro is printing on one page using long edge duplex printing and finally the paper is drawn from paper tray with media type preprinted F Generate a new mac file on the fly This command will store the actual data stream up to the first form feed into a macro file named You may use this command to generate new forms on the fly without using DSM File management page It can also be used to select printing pages and combine them to one print job So for example F4711 will generate the file 4711 mac in the working directory Notes e The print file is only stored up to the first form feed in the printing file e Like t
58. e first routine performed by the DSM Server Do not use this key in the section GLOBAL This is meaningless Use before REPLACE and the other text editing keys are performed DSM does scan the active section for other action keys like sending the data to different ports archive etc not implement in this version of DSM For MS windows driver generated data streams use SEARCH WINDOWS tis not recommended to use the command also for information in macro files Examples Section SEARCH AND PERFORM 1 SEARCH BINARY Invoice Number DSM COMMAND K3 C1F1000 C2F1100 D2 If the length of the actual data stream is less than 1MB and it contains the text Invoice Number followed with a leading blank the DSM command file is performed Section SEARCH AND PERFORMe2 SEARCH BINARY Stra e FREE ESCAPE OFF This section turns Free Escape off when data stream looks like using 150 7 bit German symbol set 47 Copyright 2005 William Matthew Limited All rights reserved Important If the size of the print data is larger the DSM command is performed partly Actual this is an indefinite program state and should be avoided Notes Unfortunately newer Microsoft Windows drivers print in a way that it is very difficult if not impossible to find any reasonable text eg If everything is printed using graphic formats DSM has several mechanisms for getting text from single positioned characters together into their words In these t
59. e sequence in the data stream is set to the correct outbin If there is a DSM command which changes the outbin to a non stapling bin the T command will have no effect Split files for how to split an ASCII like data stream into several print jobs for example to staple each job invoice For mail merge support the option can be added This static option defines how many pages should be stapled Usually it is the amount of pages per mail If you intend to print mail merge stapled document with Microsoft word then please have a look at the Microsoft Word chapter in the installation manual Notes 1 In order to work correctly a print job needs to begin with an UEL command Esc96 12345X If you are not sure then load the print file into any editor If this command is missing use the ET DSM command 2 Keep in mind that a defined DSM command in the data stream is sent with every printed record but DSM looks only for the first true command In order to not print the commands on the second and following records either print them in white colour put the print command into a contraction IF first record then print command else do nothing or use the IniFilemethod 3 Mail merge with variable page numbers is NOT supported Each record needs to print Tx pages 4 There should be no additional UEL statements in the middle of the data stream 5 SPEED In order to enhance speed A Use macros for standard parts of mail merge form
60. e special font calls take the form Esc sitpithitvitbitsit T The escape code command calls format are defined as follows lt Esc gt s required p Print text method h Human readable text font Hv Vertical Sizing 0 Barcode Widths 5 Space Widths T Type of Barcode represents special parameters to call options within each code attribute Example PCL Escape sequence A valid PCL sequence to select a barcode is as follows lt Esc gt s5p101h50v10 30b15 40s24600T lt Esc gt The Escape character s start sequence 5 Set Readable text Above the bars without the Start Stop Chars 101h Set Text Font to Letter gothic Regular 50v Set Bar Height to 50 Point 10 30b Set Thin Bars at 10 dots wide thick bars at 30 dots wide 15 40s Set Thin spaces at 15 dots wide thick spaces at 40 dots wide 24600T Select barcode type UPC A Barcode Types are supported by the T sequence 82 Copyright O 2005 William Matthew Limited All rights reserved Validation of Checksums Checksums are additional characters appended to bar codes to guarantee good reads Checksums are necessary on some bar codes that are prone to errors For example Interleaved 2 of 5 is a very dense numeric only bar code but it is prone to substitution errors You should always use a checksum on this code Other codes such as Code 128 and Code 39 are self checking and seldom require a checksum The will automatically perform these checksum calculations w
61. e to connect to a parallel printer conversion cables USB Parallel are readily available display connection network activity leds usb ports network power socket connection Rear panel Connect the box to your network by plugging the relevant RJ45 cable into the network port on the back of the unit Plug in the power supply marked on the back of the unit Turn the box on using the button on the front of the box You should see the blue indicator light come on Test and configuration page Note After you have connected the unit to a USB printer the Test and configuration page will be printed to usb1 when the IP address of the unit is changed Alternatively you can switch any USB printer connected to the box off and on and a Test and configuration page will be printed on that printer power activity led usb ports o o on off button Front panel The unit comes with four USB output ports for this particular model You can use one or all simultaneously depending how the box is licensed Copyright 2005 William Matthew Limited All rights reserved USB Port Layout USB Port 1 Rear Panel Top USB Port 2 Rear Panel Bottom USB Port 3 Front Panel Top USB Port 4 Front Panel Bottom Factory Default Settings Default Password z password The box can be configured from a built in Web page this can be accessed from a web browser on a network client Note The device will automatically search for a DHCP server for 30 s
62. ease note that the data of job init mac is not sent through the converter itself As always the file name needs to be lowercase for Unix based operating systems This file can also be used for example to download soft fonts to the printer If the required initialisation is less then 512 bytes you may also use the DSM INIT JOB key Exit data file job exit mac If a file named job exit mac is found in the WorkPath directory the DSM Server will download the content as a Job exit initialisation Please note that the data of job exit mac is not sent through the converter itself As always the file name needs to be lowercase for Unix based operating systems If the needed initialisation is less then 512 bytes you may also use the DSM EXIT PCL key Demo page Esc 3M This additional Escape Sequence generates a demo page with some barcode samples KillJobsWithLessBytes Some software applications for unknown reasons send several print jobs to the printer for example the first job contains only one character e g a FormFeed For such cases the ini File key KillJobsWithLessByte ByteNumber is able to skip a total print job Skipping means the job is dumped no searched and no triggers are performed As the command argument enter any amount of bytes This command can only be used in the following startup sections GLOBAL PRINTER and or USER NAME EraseMacros key Usually DSM erases all loaded macros from the printers memory at the
63. econds to obtain a network IP address if it finds a DHCP server it will apply the supplied IP address and print a status page to USB1 If the unit does not find a DHCP server it will default to the static IP address of 192 0 0 192 This process repeats every time the box is powered on until a valid IP address is stored To setup a static IP address the first time you use the Tempest DSM initially connect to the box from a network client within the IP range 192 0 0 Once a valid IP address for your network has been set the unit will be available on the network Alternatively connect a monitor to the VGA port and plug in a USB keyboard into any of the USB Ports After the Tempest DSM Unit has booted the User prompt will be displayed on the monitor Log in to the unit with the username admin the default password is password You will be prompted to set DHCP or input a static IP address and subnet mask When the IP address is changed a status page is always printed on USB1 Web Interface Administration To access the Administration Web page of the unittype http 192 0 0 192 this will display the password page of the web administration The default Admin password is password Type password into the Admin Password field and click on Login Will Please enter the password to administer your device Admin password Login Done Copyright O 2005 William Matthew Limited All rights reserved The Network setup Screen will be
64. ed to suppress the command on a specific page It is important to use the command right after the C definition Example C1 1S1F5000 C1 RX1S1F50001 The purpose of this example is to print a duplex job On the first page the letterhead form 5000 needs to be printed No forms are printed on the back pages Finally a different logo needs to be printed on each following front page C1 1S1F5000 Page 1 is duplex and Form 5000 used C1 RX1S1F50001 All right pages except page 1 are duplex and use form 50001 D Default Copy Command The command value defines which C command definition will be selected by default when there is no C command defined for the actual copy number Example without the C command descriptions lt lt K4 C1 C2 D2 gt gt This command will print the data stream 4 times K4 For the first copy the definition of C1 is used for the second C2 The D2 command now defines that if there is no page copy description the description of the number of the D command is used In our example the copies 3 and 4 are treated the same way as copy 2 EA Send a C Command right before the first print data This command is used for initializing the printer The can be any combinations of C commands like macros simplex duplex commands etc Example 1 EAS2B2F4711 This command will set the data stream to duplex printing and selects the reverse side as the first printing page Also on this back page the form
65. efit that coloured forms are printed underneath the printing data The disadvantage is that an additional page may be printed at the data stream end because the command is inserted right at the beginning of the page where it is still unknown if there is additional data to be printed So it is wise to add a page number to the C command as an example C1 1G8000 C Command H Input paper tray selection This command should only be used if the designated printer is not able to handle the 1 command which is described in the next section This command is used for the paper source selection where the old PCL commands lt amp l H is applicable The disadvantage is that there is no clear numbering convention of input paper trays across all PCL printers In most cases it is different between each printer model Usually the numbering follows the format 1 Main paper source 2 Manual tray 3 Envelope feeder manual 5 Tray 3 6 Tray 4 If there is no printer manual available then use MS Word and a PCL 5 printer driver and follow these steps Open a new blank document File gt Document settings Select the proper paper input tray print the empty document to a file File gt Print gt Mark Print to File gt Load the print file into MS Word Search for amp l lower case L and look if there is a h or H in the Escape Sequence The number before this character is the searched H value for this command go RON C Command
66. ence the reprint of this page may fail Example You start with Carriage Return and Line Feed printing with the default setting Some CR LF do appear then you switch to CR CR LF for the rest of the page to be printed For the reprint of the page this function is still enabled So there is an additional line feed at the beginning of the document for each CR this would be wrong PCL 5c Printing Watermarks on Colour LaserJet is currently not supported if you overlay user text For the first page there is an exception See G Command Newer implementations of Mircosoft Excel do not use printer internal fonts anymore only Truetype fonts Therefore for Excel no data stream triggering for printer terms can take place if you require this feature then it should be printed on a special dedicated queue in which the DSM command is located in the section linked with the driver name It is not possible to print from an Adobe Acrobat PDF Writer or Distiller Port 44 Copyright 2005 William Matthew Limited All rights reserved DSM examples lt lt C1 102000 gt gt On the very first printed page C1 1 an overlay 2000 is invoked So the form 2000 is printed on every page of the print job lt lt X K2 D1 C1 1F100F200010S018M10 C1F11S1JPS 12 gt gt X will display any error K2 reprints the document twice D1 If more then one page is provided the second and following pages are treated according to the C1 command As C2 is no
67. end of the print job This action is correct so by default this function is activated even if no key is provided in the ini file As this behaviour may erase also pre loaded forms which should still be available after a DSM job is finished use this key in Mode OFF to turn this function off 66 Copyright 2005 William Matthew Limited All rights reserved Print Quality key If the print job is PCL 5 and starts with an UEL sequence 12345 this key advises the printer to print the data stream using one of this these quality settings 1 Draft 2 Normal 3 High EconoMode key If the print job is PCL 5 and starts with an UEL sequence 12345 this key can advise many types of printers to print in a toner save mode 1 ON 2 OFF RenderMode key If the print job is PCL 5c and starts with UEL sequence 12345 this key advises the printer to print the data stream either in color or in grey scale 1 Color 2 Gray scale e These commands should be used together with the DSM_COMMAND ET 67 Copyright 2005 William Matthew Limited All rights reserved PreScribe emulation The emulation was developed mainly to converting PreScribe barcode printing to PCL DSM currently supports the following PreScribe commands IR Start Prescribe AMCR ALTF Set font ID BARC BLK Filled box BOX CALL Call Macro no parameters CASS COPY Page copy CMNT CSET Symbol set CTX
68. enu the type of search you wish to perform on the input PCL or RAW data stream these include Binary data Text case insensitive Text case sensitive and Page Row Column 219 Copyright O 2005 William Matthew Limited All rights reserved A DSM configuration settings written Search Type Search Data Function New Data ES Action Terms Case sensitive text Addi Store bytes to variable 100 bytes stored to Add1 yes X Full binary match search for this Erase search term x Full binary match notthis Add data after x1 b s4p24850T1 23456789 yes X Page row and column R 2 3 Add data after 1 b s4p24850T1 23456789 yes x Text case sensitive w test Store bytes oP Choose Search document for text ignoring inter character PCL commands by Iffound erase the search term from the document stream Add binary data Add data at next line Replace search with data Store bytes Store word Store word as integer The Second field will allow you to attach a function to the search trigger these include Erase data Add Binary Data Add data at next line Replace search with data Store bytes Store word and Store word as integer Note The Tempest DSM will recognise x1b as an escape character when you add binary data The Erase Terms function when checked will delete the search term from the final output Example If you use a case sensitive text search for TEST and Store bytes 100 into variable HERE and erase te
69. er the number of pages which you will need for your overlays Done If you will be sending PCL 5 data to that queue no changes need to be made to the settings If you will be sending RAW unformatted data that has not been created by a PCL5 printer driver you will need to check the not PCL box By checking this box the Tempest DSM will automatically put the required PCL headers into the data stream You will need to tell the unit as well if you expect to print more then one page of RAW data Example if you want to produce a document with 3 pages of RAW data you will need to put the number 3 in the number of pages to emulate field Press update to save the settings 17 Copyright 2005 William Matthew Limited All rights reserved Copies Output Page Number of copies of each page 1 Printer supports only PCL tray selection i Input Tray Not set Specify tray using numbers not labels Don t set input tray Printer supports PCL paper type selection poo models support paper type input tray selection Other printers must specify input tray using the tray o a particular value varies from model to model so itis advisable to use paper type selection if your 5 3 Automatic selection e u You can select how many copies of a document you require by updating the field Also you can select single sided duplex or reverse duplex Click on Update to save the settings Input and Output Tray sele
70. es etc PR Pagelnit Same like PR init but the PCL commands will be sended as an initialisation on every page PR ScaleMode Defines how the positioning commands are processed 1 default the values are defined in dots 0 the values are used in CD DP positioning PR VerScale Definition of the vertical scaling factor as an integer value Enter 100 100 for no scaling SM For every used font id a PCL font can be assigned Example SM00005 x1 B s1p60v1s3b4168T VGL_STD_FontStrok Definition for standard Font stroke in VGL emulation e 0 Normal 3 Bold VGL STD FontType Definition for standard Font in VGL emulation only 4099 Courier 4102 Letter Gothic The DSM iniFile you may use the following additional Section with following entries PRINTRONIX initialisation of PCL converted data stream PR_INIT x1BE x1B amp l10 Set scaling factors PR HORSCALE 95 PR VERSCALE 100 Set SM font definitions SM00091 x1B s1p8 5v4sb4148T SM Note The name of the section is fixed If the PR_ keys are listed in any other section they will be ignored 71 Copyright 2005 William Matthew Limited All rights reserved If any SM commands are found in the data stream the font selection can be done in the ini file Note This emulation is not perfect If it doesn t match your requirements please send your data stream to WML Softfont loading on demand Font Automatic
71. es of the print data stream is stored into the provided DSM variable This variable can later be used and positioned in forms or for searches in assigned databases The Bytes are only read until the provided length is reached or any byte below ASCII blank is found The key Erase Binary 1 can be used to blank the length Bytes out The key Add Binary should not be used as his entry would be inserted after the first and not after the length byte Any blanks at the end of the term are not stored into the variable Note The command can t be used at the beginning of a Row which is also modified with key ADD AtNextLine The following example will print line 8 of the document in 14pt Universe bold and switches back to the standard font on the next line In order not to screw up the line spacing 6lpi is maintained PrintLine8Bold SEARCH ROWNO 8 ADD_BINARY x E x1B s1p14vs3b4148T x1B amp l6D ReadOnlySearchKeys ON PrintLine9StandardFont SEARCH_ROWNO 9 ADD_BINARY x0F ReadOnlySearchKeys ON The next example reads the bytes 20 to 35 out of the data stream on page 1 in row 11 int the variable test Get Adress SEARCH_ROWNO 11 20 1 15 test 49 Copyright 2005 William Matthew Limited All rights reserved Ini File key ERASE BINARY This command is performed if the value of the SEARCH xxxx key in the same section is found in the data stream Valid arguments are 1 Erase the searched information from the data stream 0 Lea
72. esInUse 1 Ini File key ActivateSection In order to generate common functions in one rule section DSM can call from any Searched or triggered section another section where for example those common settings are performed Here an example that stores the delivery notes and invoices into the same archive Invoices Trigger Windows lInvoice No DSM Command K2 C1F500 C2F500F300 ActivateSection ArchiveJob DeliveryNotes Trigger_Windows Delivery No DSM_Command C1F500 ActivateSection ArchiveJob ArchiveJob OutArchiveDir path for archive 56 Copyright 2005 William Matthew Limited All rights reserved Simplex and Duplex printing on pre printed or pre punched paper If your printer does not have enough paper trays it is difficult to print simplex and duplex jobs from a tray that is loaded with pre printed or pre punched paper The reason is the way the HP printers print duplex In order to run the printer at full speed the printer prints first the back page and then front back next page front The advantage of this method is to run the printer at full speed the disadvantage is in simplex mode the front page is on the back page of the form So the print is unusable unless your Software can handle this problem Of course there is an easy way doing this with DSM The trick here is to print the page always in duplex even when a simplex job is launched An example ini file for doing this follows GLOBAL Functi
73. eserved build up exactly which forms or overlay you want printed on each page of a document and each of the copies of that document If On Default Copy is checked when setting up an overlay the selected overlay will be used as the default if no overlay is defined for a particular page DSM D command You can edit any line to change the saved settings Logical Functions Some of the more generally used logical functions that are available can be set from this page More complex function need to setup manually with the on board ini file Note These functions work best on raw data if you are trying to manipulate PCL data streams great care must be taken to ensure the PCL driver you are using does not insert characters that may cause your data searches to fail You may have to analyse the PCL data stream to find the correct search term See section on Search Binary A DSM configuration settings written Erase Search Type Search Data Function New Data Action Terms Case sensitive text _Add1_ Store bytes to variable 100 bytes stored to Add1 yes xX Full binary match search for this Erase search term Full binary match notthis Add data after w1b s4p24850T123456789 yes X Page row and column P 1 R 2C 3 Add data after w1b s4p24850T123455788 yes X hans iv Choose qp Binary data Text case insensitive Text case sensitive Page Row Column In the first input field called Search type you can choose from the drop down m
74. gainst violation of this Software Licence 4 William Matthew will consider any attempt to duplicate the functionality of any application provided by the software will constitute a breach of software licence and may instigate legal proceedings to protect the intellectual property rights of the Tempest DSM and William Matthew Limited 5 This Licence and the Software product may be transferred to a third party provided the third party agrees to all the terms of this licence and that the transferring party retains no copies of the Software 6 William Matthew reserves the right to terminate this Licence upon breach 7 In the event of a termination all copies of the software must be returned to William Matthew Ltd 8 Any disputes In respect of the Software Licence will be considered a breach of copyright and is subject to English Law Copyright 2005 William Matthew Limited All rights reserved Table of Contents Introduction to the Tempest DSM print appliance Connecting to the Network Test amp Configuration Page USB port Layout Factory Default Settings Web Interface Administration Licence Key Page Backing up the configuration System Settings Firmware Upload System Firmware Changing the Admin System password System Password Time and Syslog System Time System Syslog Setting up Local and Network Printers Print Queues Programming Individual Queues Copies Output Page Overlays page Logical Functions Emulations Fil
75. he DSM macro conversion on the web interface all escape sequences which may cause form feeds are erased even when they are defined in the DSM Command Example 1 F4711 C1S215 file 4711 mac is created but all C1 commands are ignored e Example 2 F4712 C1 F1999 file 4711 mac is created and at the end of the new form the form 1999 is called Note PCL allows only 2 levels of nesting e Previous stored files are overwritten without any warning e If this printing file needs to be called by another print file then use simply the newly predefined number K Document reprint factor The positive number tells the system how often the complete data stream has to be printed original reprints The minimum value is 1 for the original If there is no K Q or R factor in the DSM command defined K1 is assumed Example The page printing order of a document with 3 pages using the K4 command is like this 123 123 123 123 Notes f the copy number is more then 1 the total size of the data stream is limited to the heap memory available in the system By default the size is limited to 1 Mbytes Ifthe 1MB is not enough then use 05 MAX HEAP key in the DSM ini File to redefine the maximum available heap to any size The K should only be used once in the DSM command line valid number is given the PCL copy command Esc amp l X is ignored As each page is stored as a macro do not define any additional macro within the dat
76. here needed If a checksum is provided on a fixed length code such as EAN 13 it is ignored Barcode Sizing and point size range Not all barcodes can be resized If a request to scale a barcode is not allowed within the barcode format standard the printable output will create a default configuration This also applies to any parameters that have not been set within the Escape code sequence The Tempest DSM once again will use the default settings Scaling of single dimension 1D barcodes via changes to the X and Y axis is supported The Tempest DSM supports point sizes from 3 to 9600 in addition some 2D barcodes can be resized by columns rows or by defining a ratio The current cursor position is at the bottom left corner of the leftmost black bar Example if the height parameter is not provided the default size is used If required the Tempest DSM will print the data as centred text with the bars either under half embedded full embedded or above the bars Checksum and flag characters are automatically placed in the right place for certain codes according to standards Automatic sizing limits the embedded text point size to 15 there is no limit for text above or below the barcode After the barcode is printed the cursor is set to the bottom right corner of the rightmost black bar If another barcode needs to be printed you can move the cursor to a new location and send new barcode data Barcode Escape Sequence Structure examples
77. hich can be used exclusively in the EPSON section Epson Init This string will be used for initialisation of the printer when EPSON enabled is detected Epson XScale Horizontal scaling factor 100 10096 no scaling Epson YScale Verticall scaling factor 100 100 no scaling Note This emulation not perfect If it doesn t match your requirements please send your data stream to WML or your local distributor for evaluation 69 Copyright O 2005 William Matthew Limited All rights reserved IBM ProPrinter Data Stream PPDS Emualtion The emulation was developed for several customers and does convert about 70 percent of all PPDS commands the remaining ones lead to an abort of the emulation In order to activate this emulation add in the global section or in the appropriate printer or user section the key PPDS_ ENABLE and turn it on The DSM iniFile you may use the following additional Section with following entries PPDS initialisation of PCL converted data stream PPDS_INIT x1BE x1B amp I10 Set scaling factors PPDS XSCALE 95 PPDS YSCALE 100 Note The name of the section is fixed If the PPDS keys are listed in any other section they will be ignored Note This emulation is not perfect If it doesn t match your requirements please send your data stream to WML for evaluation Paper tray handling commands 1B 19 where is the character 0 hex 30 to maximum 9 hex 39 The paper source can be set
78. his command is used in conjunction with the Duplex command The following values are supported B0 Continue on next printing side B1 Continue on next front side B2 Continue on next back side Important notes e This command may perform a form feed if it does the page will not be counted as DSM counts FormFeeds In this case no next page definitions will be performed e This command should always be used in conjunction with the duplex command which needs to be defined first in the DSM command C Command D Printing Direction The following variables are valid DO Portrait D1 Landscape D2 Reverse Portrait D3 Reverse Landscape C Command F x y d Call macro The definition F calls a macro form with the ID number on the C command defined page Any number between 1 and 32000 is valid But especially for SAP users it is strongly recommended not to use any macro number below 1000 The macros can be generated from any PCL5 PRN file or on the fly using the DSM Software First DSM inserts the PCL 5 command for a macro select and call If the download function is active and the macro file mac is installed in the device DSM will automatically download the macro to the printer If the macro cannot be found in the device and the macro is not stored in the printer the command has no effect Sometimes you may wish to position the macros on the page for example a signature The position variable follows the macro number
79. hough some countries use other systems therefore no two retail products may have the same EAN number To ease the administration of number allocation Each country using EAN has a country identifier at the start of the barcode For the U K the digits 50 identify U K manufacture Other countries have 2 or 3 digit prefixes 93 for Australia 773 for Uruguay etc The rest of the EAN13 code is divided into the Manufacturer Number the Item Reference Number and the check digit In the U K the Manufacturer Number is usually 5 digits the Item Reference Number 5 digits and the check digit is the last number 78 Copyright 2005 William Matthew Limited All rights reserved Article Numbering Associations in each country assign Manufacturer Numbers The Item Reference Number is decided by the manufacturers who are free allocate the available digits as they wish Although the UPC system preceded the use of EAN codes EAN was made retrospectively compatible In theory all scanners designed to read UPC should also read EAN and vice versa In practice all EAN scanners will read UPC but some scanners sold in the USA will not read EAN Such scanners are no longer being sold and it is hoped that in time the two systems will become totally compatible EAN 13 Light Margin 1 Indicator 123457678900 gt Guard Bars Light Margins Centre Guard Pattern Like UPC the EAN symbol is described by magnification the allowable limits
80. idea behind this is for example storing the prices in an external variable file the format is described in this section printing this as an example Pricelist file created in PageMaker through DSM in order to merge the prices from the external file In order to perform this you may want to generate a new printer queue and link this merging process direct to this dedicated queue using the key VARIABLE FILE key Example PriceListPrinter VARIABLE FILE pricelist The syntax of the text file is SearchText ReplaceText The function is very powerful because you can search for any binary text in the data stream or used forms and replace them with up to 246 characters even containing printer commands Tips 63 Copyright 2005 William Matthew Limited All rights reserved Wrap the search variables into special start and stop keys for example like the standard variable definitions like 0 1234 The possible file entry line then could look like this no 1234 90 50 Euro If leading blanks are used for right alignment use double quotes for the value part 1234 90 50 Euro You may format the the values using any predefined font attributes but also the formatting can be done in the value part like this n0 1234 x0E x1B s1p12vs3b4099T 90 50 x0F The filename definition of the Variable File key may contain any previous defines variables So the file name can be for example user or printer specific Examp
81. if you restore to a completely new unit It is always worth while to cut and paste the key into say a word document and keep this document safe in case you over type or destroy your key Firmware Upload System Firmware Will Data Stream Manager Firmware update allows you to load a new version of the OS firmware currently OS Version dsm wrnl 20061117_1952 with Avoid interrupting the update of the firmware image This process will reboot your device Wait for this to take place You will be able to re connect your browser when the firmware update has completed The full process takes approximately 45 seconds Firmware Image Browse Update Firmware Revertto the last version ofthe firmware Revert Firmware lt Done From time to time WML will release upgrades or later revisions of the firmware This can be updated from this page The user can browse the network and open the required update file much as you would do from any Windows 12 Copyright 2005 William Matthew Limited All rights reserved System Press the Update firmware button and the box will automatically update and reboot This may take up to 45 seconds and you may have to log into the Web page after an update has been completed Also on this page there is a Revert Firmware button which will allow the user to Revert to the last know working Firmware Note Uploading the same Firmware twice will mean that you will loose the previous version of
82. ights reserved If for the actual printing page a command is found The commands or will be not executed C L and or C R definitions are always executed after the or C command The Default Copy Command D has got the lowest priority It will be performed on every page on a particular copy which is not addressed with a C and or C command C command Is the general command which describes which specific copy of the data stream is to be printed The command will always be executed for any page of the copy unless it is overwritten by the C command C command command has the highest priority because the copy number and page number is defined For example C1 1command This command is only valid for the first page of the first copy It will not be used on any other page on any copy with one exception Which is when DSM prints the first page of a copy where the command line does not define a or C command AND the default copy command is set to D1 Example K3 C1 1F1000 C1F2000 C2F2000F3000 D1 note K3 denotes 3 copies of the whole document The first copy page one is different to all other pages of copy one The second copy again is different But because of the D1 command the third copy is treated the same as copy 1 C command If the Comand is not provided then the C command has the second highest priority This command is used when the copy number is valid and the actual page
83. ile load time the actual page number is correctly inserted It is possible to reset the Page count to 1 A By splitting the files B The R DSM COMMAND C The new Escape Sequence esc s 995Z Automatic Job Counter The following steps generate an automatic job counter which can be placed at any position on the page or simply be used to count jobs 64 Copyright O 2005 William Matthew Limited All rights reserved One job counter can be placed in every activated rule So in theory DSM can handle nearly indefinite rules with the same amount of counters But be careful as always the same variable is used the variable content is the counter of the last read counter file The variable key JOB COUNTER points to any regular text file The file holds in the first line the start up value of the counter which is incremented and stored for the job into the DSM variable JOB_COUNTER The variable itself can be used as explained in previous examples in a form or using search and Add or insert To install an overall page counter simply add the variable key JOB_COUNTER into the section global leave the default argument as it is As long as the variable JOB_COUNTER is not used in a form open the file after some jobs and look at the value Another example is to establish a counter how many documents jobs are printed containing the word confidential Search for Confidential Search_Windows Confidential Job_Counter workpath
84. input port Duplicate Printer mfo Status Action and Alias Input To MFG Hewlett Packard CMD PJL MLC BID one 0 MLC usb1 LECP PCL POSTSCRIPT PCLXL MDL hp L aserJet 1320 not e LI 9100 usb 6 PRINTER NES HaswlatParkard 1 amp 132 cari Gf Queue Name and Alias Queue Name If you are inputting data from a LPR LPD queue your server the default queue names for each enabled input port on the Tempest DSM follow the format The first local USB port queue name is usb1 USB 2 queue name is usb the third usb3 and the forth is usb4 The same convention is used for the bridged network printers the first being net the second being net2 and so Editing the field provided can set an alias Queue Name For example net1 bridge1 are the default LPR LPD queue name and Alias name for the first network port This port will always respond to the queue name net1 but you can also define the Alias by editing the bridge1 field to another name Input Port If you are inputting data from a RAW queue on you server the input port addresses are user configurable but the box defaults to the following port numbers Local Ports USB1 port 9100 USB2 port 9101 USB3 port 9102 and USB4 port 9104 Network bridged ports net1 port 9111 net2 9112 3 9113 net4 9114 and so on up to net50 9160 If you need to output to another port from your server change the input port field for the relevant pr
85. inter and click the update Printer Type and Location fields These fields are purely descriptive and can be used for information on where the printer is located for example HP Laser Jet 1320 Admin Office Use the e this page button to store any changes to Network Name or Address In this field either tell the Tempest DSM box which network ready printer you want the output to go to If the printer has a network name that is resolved with a DNS DHCP server or if the device has a know IP address Example If you set 192 0 0 45 in this field all output data for that queue will go to the network 15 Copyright 2005 William Matthew Limited All rights reserved printer with the IP address of 192 0 0 45 If this field were set to HP1320N all out put data would be sent to the printer with the network name HP1320N Again click the Z button to store the settings Output Protocol LPD RAW You will need to tell the Tempest DSM which type of data protocol you wish to 2 output to the printer select LPD or RAW from the drop down menu Click the update button to store Output Port LPD Queue you will need to either input the LPD queue name or the RAW port number for the output printer you are sending the data to Most network ready printers will accept the LPD queue name Passthru which is the default setting like wise most network ready printers will accept data on RAW port 9100 Click the update B button to store the setting
86. is just a name nothing else If DSM receives the paper type selection command the converter will erase all tray selection commands Esc amp l H Esc amp n Wxxxxxx and Esc amp l M Esc amp l0H remains unchanged in the data stream eject page Example C1 112 C113 C2I3F 1000 Page 1 of copy 1 is drawn out of tray bond The rest of the pages of copy 1 and all pages from copy 2 are drawn out of tray Colour In addition C2 prints watermark macro 1000 on every page C Command J Job Offset A J in any C command enables the Job Offset mode There are no arguments needed If the command is not given the data stream will not be changed If the command is given the converter will erase all PCL 5 job offset commands Esc amp l T and turn the Job Offset on It is enough to send this command only once on any page Please note that not all printers are able to offset print jobs C Command L Report Lines Generator Inserts the usually grey report line using the build in generator C Command Paper out tray selection M Output Media Bin Selection 0 Automatic selection 1 Upper bin 2 Left or Rear bin 3 to 15 selects the destination bin of the mailbox or stapler bin If the C command is not given the data stream will not be changed If the command is given the DSM print processor will erase all paper out tray selection commands Esc amp l G C Command No Page print The N command will advise DSM to not print
87. itional and unneeded network traffic See beginning of this chapter for further information 2 Name your downloadable font file like a macro AnyNumber mac and use the DSM command EEAnyNummer The benefit of this method is that you can download the fonts only on request they will be loaded only once within a datastream to the printer The request itself can be triggered with one of the following and all previously described trigger methods where stands for the filename mac which is stored in the Overlay directory 2 The most elegant way is to use the BINARY SEARCH key search for the first font selection escape string Then use the key INSERT BINARY add the macro call amp f Y OCR B download search binaryzw1B 1OWw1B sp10h12v0s0b110T insert binaryzw1B amp f9999Y ReadOnlySearchKeys ON 2 2 Search in the data stream using TRIGGER_BINARY for any appropriate trigger word If found add to the section the command DSM_Command EB Sending a form at the beginning of the job 72 Copyright 2005 William Matthew Limited All rights reserved The benefit here is no data stream changes are needed Trigger Cyrillic Code Page 866 Trigger binaryzw1B3R Search for a trigger word Search_binary lt lt Cyrillic gt gt Erase_Binar 1 The trigger command DSM_Command EB9999 In this example two trigger methods are used within one section The search looks for the provided text word erases it and sets the
88. le of using USERNAME The goal is that on the first page the user name who has generated the print out will be printed somewhere on the page maybe lower left corner rotated by 90 degrees The first way to implement this request is simply to add at the print position in the data stream the variable key USERNAME The second way is to put the key into a form which is called on the first page maybe using DSM commands Automatic Page Counter Following steps generate an automatic page counter which can be placed at any position on the page If you want to use the given example then use the provided form 25000 and continue with position 4 1 Generate a new form with a form number between 25000 and 30000 Remember forms in this number range are downloaded on every page 2 Insert on that form the text PAGECOUNT Remember Format it with a proportional printer font or use the PRINT field in MS Word 3 Print the form using a PCL 5 driver to file and convert it to a macro using File management Macro option 4 Generate or enhance an DSM command and include the form on every page The minimum command would be lt lt C1F25000 D1 gt gt in the data stream or use Overlay page of the web interface and alter the ini file like for example in the global section DSM_COMMAND C1F25000 D1 As the form ID is between 25000 and 30000 the form macro is loaded on every print page As in this procedure the variables are inserted on f
89. me The character is the differentiator between the variable name and the value An empty value is defined if the line ends with the colon All read variables are not erased when a new ini file is selected Search and Triggers are erased You may encapsulate the variable value in in order to use blanks at the beginning or at the end of the value Also the Hex notation can be used Example VARIABLE COMPANY My Company Ltd Form now on the text COMPANY is searched in the data stream and is replaced with the My Company Ltd company name 61 Copyright 2005 William Matthew Limited All rights reserved Variable manipiulation functions Currently DSM supports flowing functions for string manipulations The Syntax of the case sensitive named functions are LEFT ZzStringVarible z Length The functions are only interpreted if LEFT 2StringVariblez ZIntVariable they are set directly in front of a variable and there is a comma directly after the variable followed by the length number and the closing parenthesis The positive length represents the amount of bytes to be taken out of the provided variable The amount can be represented by another variable RIGHT StringVarible Length In principal the same function but RIGHT StringVarible the amount of bytes are taken from IntVariable the right side of the evaluated string LOWER StringVariable Turns all ASCII characters f
90. nction by using key D5M USE QTY FACTOR in the ini file in the sections Global PrinterName PrinterDriverName or UserName 43 Copyright 2005 William Matthew Limited All rights reserved Once this key is provided DSM checks in the PUL commands for an entry PJL SET QTY The copy factor K R or is then replaced by the factor If no copy factor is provided the factor is used Note If there is a later DSM command change the value can be overwritten again 2 Most windows driver uses the PCL command Escape sign amp l X where the copy number is coded in the before X In order to trigger on those commands the search keys can be used Search_Copy for 2 copies Search_Binary x1B amp l2x DSM COMMAND K2 C119 C211 Search Copy for 3 copies Search_Binary x1B amp l3X DSM COMMAND K3 C119 C211 D2 If other conditions set different DBM Comamnds please use variables to set the copy factor Example Global DSM ON Preset the variable to 1 copy Variable MyCopyFactor 1 Search_Copy for 2 copies Search_Binary x1B amp l2x Variable MyCopyFactor 2 Search_Copy for 3 copies Search_Binary x1B amp l3X Variable MyCopyFactor 3 Trigger Invoice Trigger_Windows Invocie DSM_COMMAND K MyCopyFactor C119F500 C2I1F500F200 D2 Known problems In the case of an environment variable being set in the middle of the data stream in a way that the data before this sequence is treated differently to data after this sequ
91. nd They all start with lt Esc gt amp l If such a sequence is found the DSM software will integrate the requested sequences right before the first appearance of this sequence 2 The second best place will be right after the first appearance of the reset sequence lt gt This sequence should be right at the beginning of the data maybe after the PJL commands If there is data before the reset statement they will be printed and not recognized by the software 3 Right after the PJL or UEL commands 4 Direct in front of the data stream ASCII like data stream is assumed 5 f some commands are missing you may use the ini file keys DSM Init PCL and or DSM Pagelnit in order to insert any valid text command at the beginning of the data stream or page 6 Also if for example a FormFeed is missing at the end use the DSM Exit PCL key add any requested PCL command Get copy factors from print file There are two ways to change or set the DSM Commands R or Q from the definition value to a value which is defined in the data stream 1 Some drivers and applications let the printer perform automatically the copies by sending down an PJL Command called PJL SET QTY First check if the command is in the data stream by printing to file and loading the file into any texteditor At the very beginning of the print file all PJL commands are listed Check if the SER QTY command is used If this is the case enable this fu
92. nd ADD_BINARY keys please use REPLACE_BINARY Ini File key ADD_ATNEXTLINE If the one Search_Binary Search_Text Search_Windows or Search_RowNo key is found in the data stream the argument of the ADD_ATNEXTLINE key is inserted into the data stream right after the next found LineFeed Notes e Use this key only for processing ASCII files e This and the key Search_RowNow Linenumber can t be used in the same row 50 Copyright 2005 William Matthew Limited All rights reserved Ini File key REPLACE BINARY This command key is performed if one Search Binary Search Text or Search Windows argument is located in the same ini File section and the keys value is found in the data stream The argument of this command will replace the argument of the SEARCH xxxx command If this command is found in a section beside the SEARCH BINARY all other binary commands are ignored Example Section SEARCH AND CHANGE 1 is the hex representation of ASCII 27 Escape Sign SEARCH_BINARY x1B amp l5H REPLACE_BINARY amp n13WdTransparency ReadOnlySearchKeys ON Ini File key ReplaceNextTerm This key is used to insert an additional search for a specific term but only one time This searched new term will be replaced by the key argument or deleted if there was no argument provided The syntax of the keys argument is SEARCHTEXT REPLACETEXT As the column is used to divide the search and replace arguments it is not allowed to be used in
93. ndows Invoice No StoreNextWordToVariable InvocieNo Ini File key StoreNextWordToVariable Like all the other keys above the StoreNextWordToVariable key is activated after a search key was successfully found The argument of the key is a value name 52 Copyright 2005 William Matthew Limited All rights reserved Without an optional length indication DSM will store the next following word after the searched term into the provided value name This variable can be used later in any form If the searched section requests to delete the searched term using the Erase Binary key the found next word will also be erased It is recommended to start and end the variable name with the sign as otherwise you may loose a significant processing speed The optional length does indicate the requested minimum length in bytes of the stored item Requested means that if the data ends before with an escape sequence Search Binary mode or any other character below Ascii 32 the parser stops reading into variable In Search Windows mode the positioning sequences are skipped If the length ends in the middle of a word DSM will continue reading until to the end of that word Example Global init variable Variable OrderName Nothing found Search for address Line 1 After this text in the printed document Search_Windows Ordered by The name of the person who has ordered the parts We need to store the name to a variable which may
94. nerate between each printed character Here are some tips to make the trigger findable in the data stream especially if you are not able to interpret a PCL data stream e Do not set the driver to print Truetype as graphics e The trigger word s should be formatted if possible with a printer internal font If DSM does not finding your trigger search words at all the reason could be that newer HP windows drivers are installed or drivers provided by Microsoft as they do not use the same characters in their ASCII codes so this is not easy to scan them for a unique string Ini File key SEARCH WINDOWS This key performs like SEARCH TEXT exception that the search string is case sensitive to the key value Ini File key SEARCH ROWNO The Syntax for this key is Search RowNo RowNumber ColumNumber PageNumber Length VarName 48 Copyright 2005 William Matthew Limited All rights reserved This command is used as the other search keys usually in a stand alone section but only the key ADD BINARY or the store to variable option is interpreted It should only be used for pure ASCII print files because it counts the print rows by searching for LineFeeds The counter is set to 1 at the beginning of each page found by a FormFeed character Ascii 12 Important information A If a Search RowNo key is used the first time in a second ini file AND B This ini file is called by the main inifile AND C In the main ini file there i
95. nting the variable holds the total written amount of bytes The nearly double volume of data stream is not counted for a reverse printing rule PRINTDOCNAME The variable is set to the content of startup P4 operand PRINTERDRIVERNAME Also mainly for MS Windows to setup triggered rules which belong for all activated printers using a special driver 58 Copyright 2005 William Matthew Limited All rights reserved Not supported under pure NT PRINTERNAME The variable is set to the content of startup P1 operand PRINTERSHARENAME The printer share name is mainly for MS windows integration in order to resend the same job to the same queue using the expression OutPort PCNAME PRINTERSHARENAM E Not supported under pure NT USERNAME The variable is set to the content of startup P3 operand or read with a higher priority from the PUL ATTRIB Commands out of the data stream VAR_ORIENTATION Stores the print orientation portrait landscape etc of the data stream if defined in the data stream VAR_PAGESIZE Stores the page size A4 Legal etc of the data stream if defined in the data stream VAR_PAPERTRAY Stores the PCL paper tray number of the first page VAR_RESOLUTION Stores the resolution 300 600 etc of the data stream if defined in the PJL section of the data stream VAR_SIMPLEXDUPLEX Stores the simplex duplex fun
96. ntroduction to Tempest DSM Print Appliance The Tempest DSM is a multiport print server network bridge with the capability of manipulating print data streams and embedding forms and overlays to produce and distribute print ready output to any laser on the network or connected to its local USB ports The device will allow the conversion of standard PCL5 escape sequences to print the most commonly used bar codes The Tempest DSM s on board software generates these fonts internally The unit is designed to be code compatible with the more commonly used application that supports PCL5 bar code printing The on board software also includes PreScribe Epson FX100 IBM Proprinter and Printronix emulations so output which was normally printed using these matrix printer drivers can now be printed to a standard PCL5 laser printer User defined fonts forms and overlays can be stored on the unit and can be associated with each output port with a simple to use web interface The device can be licensed to print to a maximum of 4 local printers and up to 50 Network ready printers Connection to the Network The Tempest DSM can be connected to any 10 100 Ethernet network that supports TCP IP Raw port or LPR printing The following configuration information is for Windows XP but most Windows systems operate in a similar manner You will need one Ethernet RJ45 cable of the right type for your network configuration also one or more USB printer cables If you would lik
97. o the commands The RES command does currently initialize the printer to the following settings Default Tray with media type Plain 1 copy portrait 6 lines per inch with Courier in Roman 8 symbol set and 75 dpi The CASS and PSRC commands DON T select directly the praper trays When PreScribe selects a tray DSM opens the actual ini file and checks the section PRESCRIBE for the keys PreScribe CASS1 to 4 or PreScribe PSRC1 to 6 and 99 If the key is not defined no selection change is performed But if it is defined the key values can be any PCL sequence Finally the corresponding media type of any available paper tray can be set in the printers paper handling menu So the paper tray selection flow is like this CASS PSRC gt converted to a media type gt send to printer PCL interpreter gt selects finally the correct tray form the printer defined media list 68 Copyright O 2005 William Matthew Limited All rights reserved In order to activate this emulation add in the global section or in the appropriate printer user or printer driver section the key PRESCRIBE and turn it on Depending on the printer HP can set wide printing on and off We suggest you always use wide printing ON Especially for landscape printing it could be that a YMove value needs to be defined The following keys which can be used exclusively in the PRESCRIBE section Pre Init The provided string will be used for initialisation of the p
98. ocument will be copied using the printers copy function This means that the data stream is sent only once to the printer Example The page printing order of a document with 3 pages using the K4 command is like this 1111 2222 3333 Note Only the C1 commands can be used all other C commands for copies higher then 1 are ignored R Pages reprint factor with changeable DSM content The R command does produce the same page print order as the Q command But on each printed page copy you may select any C command K factor can be overwritten by a copy factor defined in the print file Another way to set the Value is to use the Key 05 USE QUATITY FACTOR T Staple print job with stapler stacker The T command is used to staple a print job Once used the PUL commands for stapling are inserted or deleted Value Finicher Description 1 HP Standard One staple is sticked top left of paper with an angle HP Standard Do not staple job HP Standard One staple is stuck on top left of paper HP Standard Two staples are stuck into the paper HP Standard Three staples are stuck into the paper 41 Copyright 2005 William Matthew Limited All rights reserved 6 HP Standard Six staples are stuck into the paper 100 HP Multifunc Left bin Face up 101
99. ode is scanned using a wand a barcode which has been shortened or truncated will still read as long as the wand can be easily passed over the full width of the barcode without going of the edge Most retailer checkouts use moving beam scanners where a beam of light moves over the barcode There is no way of controlling the items path over the beam sufficiently to ensure that the beam will move horizontally across the barcode The wider you print the barcode the greater the chances of the scanner beam crossing the top and bottom of the barcode It soon becomes obvious that by increasing the barcode height that the chances of a good scan are increased See example below 74 Copyright O 2005 William Matthew Limited All rights reserved 5 012345 678900 gt 012245 678900 gt Truncated Nominal Height Scanning and the issues of printable contrast Another area to consider is the contrast of the printed output It is important that the contrast between the bars and spaces are totally different All the bars should reflect no light and all the spaces should reflect 100 In practice this never happens but barcodes will still read providing the lightness of the bars and the darkness of the space do not exceed limits Barcode Information In This section we have included information on the Formats for a few of the most commonly used Barcode formats namely UPC and EAN 8 and 13 formats This information should be used a background reference
100. on needs DSM to be activated DSM ON exchange by default Because a 1 is in each data stream the section is always triggered TRIGGER BINARY 1 Do section only if print job is printed out of paper tray 7 PAPERTRAY 7 Do section only if print job is simplex printed SIMPLEX_DUPLEX 0 Set job to duplex and print every job page as a page Also reset Tray 7 in order to erase possible Media Types DSM_command C1 1S1B1H7 C1B1 Printer Settings Printer default menu settings needed if datatsream does not defined some of those settings ORIENTATION PORTRAIT RESOLUTION 600 PAPER_SIZE A4 SIMPLEX_DUPLEX 0 PAPERTRAY 1 If the tray is selected via the PaperMedia Escape sequence use search_binary and replace_binary to change the sequence to the dedicated paper tray sequence 57 Copyright 2005 William Matthew Limited All rights reserved DSM Variables DSM is able to work with variables Some variable names are predefined they are listed in the next table DSM searches for the names of the variables in the data stream as well as in all loaded forms macros A variable name starts and ends with the character name itself is searched case sensitive in Binary and Windows mode Predefined DSM Variables Value Name Description ACC_EDITTEXT Special field generated by the accounting via Projects software It contains standard editable text which can be placed on the print pages AC
101. on of DSM contact WML if you need to use this function SNMP_TOTALPAGECOUNT See chapter Monitored Printing SNMP_TOTALDUPLEXPAGECOUNT See chapter Monitored Printing SNMP_TOTALCOLORPAGECOUNT See chapter Monitored Printing SNMP_JOBPAGECOUNT See chapter Monitored Printing SNMP_JOBDUPLEXPAGECOUNT See chapter Monitored Printing SNMP_JOBCOLORPAGECOUNT See chapter Monitored Printing SNMP_JOBSTATUS See chapter Monitored Printing Example for automatic time stamp 1 Purpose You want to print on every page at a certain position the date stamp Generate a blank form and add at the place of your choice the text and or ACTTIME formatted with a printer internal font like Univers and print it to a file using a PCL 5e driver If you use MS Word for forms generation then please use the print filed in MS Word for setting the position of the stamp do it like this Print 14 27 10U 27 s1p12vsb4148THDATETEXTH 15 Result PRINT 14 27 10U 27 s1p12vsb4148T DATETEXT 15 MERGEFORMAT 2 Add the macro using the DSM file management page Say the Macro number is 3333 60 Copyright O 2005 William Matthew Limited All rights reserved 3 Add an DSM command for example into the Global Section D5M COMMAND C1 1F3333 This command will call any time unless there is no other command in a section or in the printfile the Macro 3333 on the ve
102. or example sending a copy of a document to multiple departments also you will see later in the manual how you can use this function with variables and different overlays on each queue to produce different outputs on multiple printers using one data stream X Button will allow you delete the relevant queue or function you will see this symbol on a number of pages in the interface Button allows you drill down to set up specific feature of a particular queue 16 Copyright 2005 William Matthew Limited All rights reserved Select Checking this field on multiple queues will allow you to copy all functions of a number of queues or delete a number of queues with one operation When Select is checked X will appear below queue selection list use X to delete selection and use to copy your selection Use this button to add a new queue 9 2 dab Use the printer symbol to print a Tempest DSM status page this can only be done to a USB port Programming Individual Queues If you click on 4 field on any queue on Print Queues page the following setup page will be displayed Will Data Stream Manager i Input data to this queue is raw data not PCL Number of pages to emulate You can stream raw data to the DSM and store elements ofthe data into variables You can then upload overlays which will lay out the variables to create the print jobs you require If you stream raw data then checkthe box above and ent
103. owever those drivers do send down to the printer the name of the application and normally the name of the document in the initialisation within the data stream In order to check this print the document to file and reload it into an editor Right at the beginning of the stream you may find a statement like PJL SET JOB xxx Check if you can use the string xxx for triggering the data stream If this doesn t work DSM please send the data stream by eMail to your local distributor and let us know what key you are searching We will be glad to let you know how to do implement this function Primary Trigger key TRIGGER WINDOWS This command performs the same as the function as the TRIGGER TEXT key except the comparison key value to print data value is performed character case sensitive 54 Copyright 2005 William Matthew Limited All rights reserved Secondary Trigger key Orientation Secondary Trigger key Page Size Secondary Trigger key PaperTray Secondary Trigger key Printer Names Secondary Trigger key Resolution Secondary Trigger key Simplex Duplex Secondary Trigger key Trigger Variable Secondary Trigger key Trigger VariableSubString Secondary Trigger key User Names Secondary Trigger key OutPrinting The total key is ignored if it was not possible to determine the appropriate setting in the data stream The arguments of those keys are Trigger Variable Compare any called DSM variable to a given value The
104. r Mac address 00 50 f6 26 01 25 Enter Key x8f 4e9aa74693b7e Update Key Current key is valid for 3 local printers and 45 network printers Enter Key xe4e6d63d98f53747 Update Key Barcoding is enabled Done From this page a user can define and update configuration Keys for the number of enabled ports and enable the licence for barcode printing The number of printers enabled will be displayed in this case is 3 local USB ports and 45 network printers and Barcoding are enabled If you need to add extra printers or the Barcoding function please contact WML or your distributor for a relevant valid Licence key Note Only install a valid Key that has been provided from WML or you may permanently disable the unit and invalidate any warranty 11 Copyright 2005 William Matthew Limited All rights reserved Backing up the configuration System Settings W M Data Stream Manage ee stem Sett Backt Ip aci Restore Restore a previously saved settings file here Factory Defaults Restore factory default settings for passwords and network Factory Defaults I m Sure lt Done From this page you can backup and restore the units queue configuration including all fonts Forms Macro information and ini files It is always worth keeping a valid configuration backup so you can restore the exact configuration setup on another unit if required Note Your key will be backed up but will not be restored
105. rap around the data stream a PJL Job Inserts a full C Commands right at the end of the data Generates on the fly a new mac file Print copies order 123 123 Use C DSM commands if given Passthrough data no changes are made No data is printed but archiving and print to port functions still work Print copies order 111 222 C DSM commands are NOT used Print copies order 111 222 C DSM commands are used Staple job Print command error on console 28 Copyright 2005 William Matthew Limited All rights reserved DSM command syntax To enable a DSM command you must insert the relevant command within the Convert ini file by using the DSM appliances on board editor or send the command within the print datastream There are two principle methods to use a DSM command 1 Inthe data stream the command will look like this 2 TriggerStartSigns Command CommandOption 2 TriggerStopSigns example using the default trigger signs lt lt X K2 D2 C1F1000 C2F2000 gt gt 2 Within the convert ini file trigger signs are not required Command CommandOption DSM example for the usage in a command file convert ini DSM_COMMAND X K2 D2 C1F1000 C2F2000 Every command starts with a command character and must be ended with a semicolon There is no required order for the specification of a single command in the full command line There can be DSM variables used within the DSM_Command_Add and DSM_Comm
106. reserved Some command line arguments are stored into variables which can be used to in any form or in conjunction with transferring the data to other programs IN_DSM_FILENAME Contains the incoming file name including the full path for W_DSM command line argument IN_DSM_FILENAMEWI THOUTPATH Contains only the incoming file name without path This variable is not set if software runs in stdin mode OUT_DSM_FILENAME Contains the outgoing file name including the full path for W_ DSM command line argument OUT_DSM_FILENAME WITHOUTPATH Contains only the outgoing file name without path This variable is not set if software runs in stdout mode DSM_FORMS_PATH Contains the forms path from the DSM command line argument Backslash or slash Unix is added DSM_PROG_PATH Path to the DSM Software In windows to the convert exe file maily c programme wDSM LAST_ARCHIVE_FILE Path and file name of the last created archive file independent if in or out data are stored RANDOM Is available if the variable OUT_DSM_FILENAME exists The variable will contain a 8 digit long random number which basically reflects the random filename name without the extension generated by the print processor There are some more variables available but only for network printers in conjunction with the monitored printing possibilities DSM offers Not implemented in this versi
107. rinter when Prescribe emulation is activated Pre Init At First R This string will be used for additional initialisation at the place where the first R command is found in the data stream Pre Perform Page Commands f turned on the SPL command is performed Pre XScale Horizontal scaling factor 100 10096 no scaling Pre YScale Vertical scaling factor 100 10096 no scaling Pre XMove The definition for the horizontal origin of the coordinate system Value can be negative Pre YMove Same for vertical position Pre CASSO to 4 see above Pre to 6 an d99 see above Notes This emulation is not perfect for all situations some modifications may have to be made to make the DSM operate correctly or to add missing commands Please inform WML of any Promblem you may come across Not interpreted PreScribe commands are ignored The readable text size may differ to the original also some EAN and UPC barcodes with readable text could look different according to the barcodes specification DSM is more accurate Paper tray selection can also be done by any DBM COMMAND Epson ESC P 9 Needle The emulation was developed for a customer and does convert about 85 percent of all Epson commands the remaining other ones are ignored In order to activate this emulation add in the global section section or in the appropriate printer user or printer driver section the key EPSONEMULATION and turn it on There are 3 more keys w
108. rity of the left hand side of the code The EAN number system uses 3 differing character sets A B and C In each character set the bar space pattern for a given digit is different The right half of the code uses only character set C whereas the left half can use a mixture of sets A and B It is the pattern of the mixture which determines the 13th character For example if the left hand half of the code used ABBAAB then the 13th digit would be 5 In common with other symbologies EAN has a set of allowed tolerances for the quality of the printed code These measurements relate to the maximum variation in the width of a single bar or space and vary according to magnification factor 80 Copyright O 2005 William Matthew Limited All rights reserved Magnification Tolerance Factor u microns 8096 35 85 51 90 69 95 85 100 101 105 108u 110 115 115 1241 120 132 125 140 130 147 135 152 140 163u As the above table shows the tolerances allowed reduce rapidly for magnification factors below 100 For this reason the final print method should be considered carefully when choosing a magnification factor For example some printing processes are too variable to consistently print small e g 8096 EAN codes Barcodes creation and programming To enable the printing of Barcodes to be created and embedded into a Printable document The Tempest DSM uses a defined set of PCL compliant Escape sequences
109. rms The Tempest DSM will erase the word TEST from the data stream place the next 100 bytes or till it finds a carriage return line feed into a variable called HERE Now you have a variable with data stored in it called HERE if you have a form or overlay associated with the queue with HERE embedded the stored data will be positioned at this point on the form or overlay qr Multiple logical functions can be carried out to each queue The X and will delete and add functions respectively You can edit any line to change the saved settings Emulations Using the Emulations page you can convert input data streams from Kyocera PreScribe Epson FX100 IBM ProPrinter Printronix PGL and Printronix IPG VGL to PCL5 Note The emulations are not perfect but the more common emulation commands should work Contact WML if you experience errors 20 Copyright 2005 William Matthew Limited All rights reserved Print Queues DSM configuration settings written Configuration for net4 V Data stream management enabled Choose emulations to enable Enable Prescribe emulation Enable Epson ESC P 8 emulation C Enable IBM ProPrinter Data Stream emulation C Printronix PGL emulation Printronix IPG VGL emulation File Management File List SM Config Files and Macros 30331 KB available storage Add a file Browse Add File
110. rom the variable into lower case UPPER StringVariable Turns all ASCII characters from the variable into upper case STRPOS Variable SearchVar Returns the first position minus 1 of STRPOS Variable Text the first charater of the SearchVar STRPOS Variable string found in the Variable string If the string could not be found then function returns zero Leading blanks can only be searched if the search text is surrounded be double quotes Examples The content of the Variable is Hello World STRPOS Variable gt 5 STRPOS Variable World gt 6 Assume content SVar is World STRPOS Variable SVar gt 6 Assume content SVar is a blank STRPOS Variable SVar gt 0 Assume content SVar is World STRPOS Variable S Var gt 6 Counter key Increments an integer variable by default 1 or any other value Note Currently DSM dos not support combining several of these function like UPPER LEFT Variable 5 In this case use two command lines Variable MyTempVar LEFT Variable 5 Variable MyTempVar UPPER MyTempVar Examples Get the actual year most likely set in the section Global Variable ActualYear RIGHT DATENUM 4 DATENUM gt 5 2 2004 ActualYear gt 2004 62 Copyright 2005 William Matthew Limited All rights reserved Limit the Document name variable to 14 characters Variable PRINTDOCNAME LEFT Z
111. ry first printed page As in the macro file there is only the time variable defined the time will be printed 4 Ifthe position of the time changes from portrait to landscape and or from to A4 which is certainly the case if you want to have the stamp in the lower area of the page See example later in this manual 5 Available the time related variables ACTTIME DATENUM DATETEXT DATETEXT_D DATETEXT_PL DATESERIAL MILLISECONDS MONTH MONTH_D MONTH_PL WEEKDAY WEEKDAY_D WEEKDAY_PL TODAYNUM Further usable DSM Variables The following table lists all variables that can be defined by some of the ini file keys or as variables Not implemented in this version of DSM contact WML if you need to use this function In File Entry Description EMAILSUBJECT Holds the subject text when sending out eMails User defined Variables in Ini File Sections Use the ini file to define any variables This function is for example a perfect way to differentiate between several companies If each company prints fixed to the same queue the printer sections can define the variables for each company which are used in the forms The syntax in the ini file is VARIABLE VarName VarValue Notes Do not encapsulate the variable name with but note that DSM does surround the variable name automatically with the sharp character The searchable variable name of the example above will be VarNa
112. ry of 100 means no scaling at all An entry of 50 will reduce the page to 50 of its original size still printed from the upper left corner Refer to DSM commands for repositioning the data on the page Notes DSM does not rescale any graphical data DSM does not rescale any HP GL 2 data As PCL picture frames are rescaled the Graphical information may be scaled correctly 73 Copyright 2005 William Matthew Limited All rights reserved Barcode printing and readability considerations The creation of printable barcodes including the print quality clarity of readability is extremely important The Tempest DSM generates barcodes from the escape sequences sent to the device A barcode is constructed from a combination of black Stripes and white bars Spaces The separated distances width between them determine determines the barcode type and data format When printing your Barcode output the following important factors must be considered to ensure easy and reliable readability 1 The Output print resolution and density should be sent at the highest quality 2 The Toner Quality should be good to ensure a solid clear and strong output 3 The Print Media selection is important to prevent excessive toner bleed and contrasts of output and subsequent print and readability issues 4 The Printer that you choose to print your barcode output should preferable be a laser technology based solutions Inkjet printers can be used but it
113. s Example Settings for Net1 queue may look like this A Network queue updated at Fri Jan 12 12 56 40 2007 N Duplicat Net k Na B Output Output ueue Name input Port Printer Type Location Same protocol Port Status Action Select and Alias Input To Address LPDiraw Queue None Bag t1 1 HP4050 Office _ 1920045 raw v 9100 ray 0 36 bridge usbl None fa 13 9113 Warehouse 192 0 0 45 passthru ready A X F usbl w i Add net2 9112 Ipd x passthru Duplicate Input To This function will allow you to copy the input to any queue to any of the other queues on the input side of the Tempest DSM The Default setting is None by holding down Ctrl or Shift you can select multiple queues Example if you hold down ctrl on your keyboard and configure queue net1 high light net2 and net3 all data going to queue net1 will also be put onto queues net2 and net3 Click the update as usual to store the setting 27 To delete this setting select None on the first Queue and click update Note Master Data will be the lowest net queue number You cannot copy input data from queue 2 to queue net1 and net3 you will need to copy the data to a higher number say net3 and net4 Be careful not to set up a data loop if this happens you will get a constant data stream until the printer runs out of paper This function is very powerful f
114. s no Search RowNo AND D The new ini file is called by a Search XXX rule THEN the row and column and page counters are reset to 1 In other words the actual processed row which performed the rule search Binary gt ini file reading gt new Search Row key will be row Nr 1 at Col Nr 1 on page 1 Actually it is not at the actual position it is at the beginning of the actual processed data stream In order to avoid that simply insert in the main ini file a dummy section with a dummy search rowno command Once DSM begins to evaluate a specific row indicated by the first operand of the keys data entry this happens Only RowNumber is provided and NO ColumnNumber is defined The ADD Binary ini file key is searched in the provided section and performed right at the beginning of the row A RowNumber is provided and the ColumnNumber is larger then 0 The ADD Binary ini file key is searched in the provided section and performed right at that column A ColumnNumber of 0 will lead to ignore the whole command If the row does have fewer columns then the command is ignored as well Like above but also a page number is provided If the page number is 0 the ADD Binary ini file key is searched in the provided section and performed right at that column for every page If the PageNumber is greater then 0 then the Add Binary is only performed on the provided page number Like above page number length and variable Name is provided The next length byt
115. spaces representing the second ISBN International Standard Book Number Represented by the ISBN EAN bar code on books ISSN International Standard Serial Number Represented on magazines and periodical publications by the ISSN EAN bar code Magnification The method of describing bar code width and height in some symbologies 10096 magnification is nominal size Micron One thousandth of a millimetre Narrow Bar The width of a single module or narrowest bar in some symbologies 88 Copyright 2005 William Matthew Limited All rights reserved Nominal Size The standard size for a bar code of a given symbology Numeric Representation using only the digits 1 2 3 4 5 6 7 8 9 and 0 OCR A and OCR B Character sets or fonts both of which may be machine or human read Used for the human readable information in bar coding Parity A way of encoding bar space patterns using an odd or even number of modules bars or spaces The parity may be calculated by the scanner to provide an error check PostScript The high quality image description language developed by Adobe Systems Inc which uses vectors to describe graphical elements Printer Compensation A method of adjusting bar width to compensate for a bias on a print device Quiet Zone The light space at either side of a bar code which is needed by the scanner to detect the start and end of the code Raster A series of dots or cells arranged in a regular grid Redundant See Film Master
116. t provided the second copy will have the same attributes like the first one C1 1 First copy first page is defined with Form 100 and 2000 Overlay 10 Simplex Input Tray PrePunched and Output Tray 10 Because of the D command this C command is executed on every first page of every copy C1 All remaining Pages Form 11 Duplex is turned on Job Offset and short edge offset of minus 12 Rule based printing used in the DSM Ini command file Direct after the start of the DSM Server Print Processor the software tries to read the content of the provided IniFile which is supposed to hold all instruction on what to do The file can also be part of the data stream this feature is more for programmers see further below in this chapter General structure and syntax of ini file The DSM ini file is build upon the same syntax as any windows ini file The different components are section Every project is coded as a section wrapped in and Every Inifile should at least define the GLOBAL section This section is performed right at the beginning of the DSM process Here you can define all common actions Blanks are allowed in the section name Any text If a command line starts with a semicolon the line is ignored This statement can be used for documentation Key Argument The content of a section are a list of predefined keys which are examined by the DSM server Notes Some keys like trigger can be used in one section several times
117. the Firmware Changing the Admin System password System Password Will Data Stream Manager Your password must have a minimum length of 5 characters New Password Re type Password Update Password Done To change the default password Password to something more secure use the update fields on the System passwords page Clicking Update password will store the new password so make a note of it for future use 13 Copyright 2005 William Matthew Limited All rights reserved Time and Syslog System Time System Syslog You may need a complete log of all the processed jobs that have passed through the Tempest DSM in order to do this you will need a syslog server on your network To point the syslog data generated from the unit to this server input the servers IP address and enable logging Click Update to save the settings Will Data Stream Manager oystem Logging System log messages are normally held on a local ramdisk with the log going back only about 1 hour To obtain long term system logs set up a syslog server and send the system log messages there To specify a non standard port enter the address like this 192 168 0 1 600 or syslog lan 600 If no port is specified the default port 514 udp is used Enable networked syslogging Log Messages to 192 0 0 1 Update z Done To correctly time stamp the Syslog data set the Date and Time on the System Time page Click update to sa
118. the search text After DSM has found the search text beginning right after the SEARCH_ searched item it will replaced the found item will destroy itself Therefore the command is only searched executed once For example the key can be used to set parameters for instance colour at the end of a line So the following example searches in a row Invoice csutomer order number german englich print version If one of the two items can be found in the data stream SEARCH BINARY Bestellung y SEARCH_BINARY Your Order Switch to bold and red color INSERT BINARY x1B s3B x1B r3U x1B v1S at line end return to black and white ReplaceNextTerm x0D x0A x0D x0A x1 B r1 U x1B visT ReadOnlySearchKeys ON Note that included in the search text is a CR LF and that both characters are also added in the argument So the amount of printed lines remains the same Ini File key INSERT_BINARY The argument of this command is inserted right before the found Search Binary Search Text or Search Windows argument If a section is activated by a found SEARCH BINARY key and the Replace Binary command is not used the INSERT BINARY has the second highest execution level and the others are ignored 51 Copyright 2005 William Matthew Limited All rights reserved Note The length of both arguments of SEARCH INSERT BINARY may not exceed the size of 255 characters Example Section SEARCH AND INSERT 1 is the hex representation
119. ve the setting WM Data Stream Manager SORT Data anA Tima System Date and Time The current system date is Mon Nov 20 12 22 15 2006 Setthe date here Enter a string of the form MMDDhhmm YYY For example to set date to 09 44 July 19 2006 enter 071909442006 Setting the correct date means that dates will display correctly on the Job monitoring page and in the system logs Date String Update Done 14 Copyright 2005 William Matthew Limited All rights reserved Setting up Local and Network Printers Print Queues The Tempest DSM depending on how the unit is licensed can manipulate print data serve stored fonts forms overlays and Bar codes to up to 50 network ready PCL printers and 4 locally attached USB printers Select the Print Queues page on the web interface from this page you can manage which data stream or system queue will be pointed to each network or local USB printer T T E A Network queue updated at Fri Jan 12 12 50 59 2007 Queue Name Duplicate Network Name or ouput DUK am Input Port Printer Type Location A Protocol PortLPD Status Action Select and Alias Input To Address LPDiraw Queue None 1 Exi ani ne 192 0 0 45 v 9100 ray 4 36 usbl MA 3 Emi 9113 neti HP Warehouse 192 0 0 45 Ipd v passthru ready A X 4 usbl Add net2 9112 passthru QueueName
120. ve the searched information in the data stream default Example Section SEARCH AND DELETE SEARCH BINARYz K TRIGGER ERASE BINARY 1 DSM COMMAND K3 C1F1000 C2F1100 D2 The data stream is searched for IK TRIGGER Once the trigger is found it is erased and the 05 COMMAND performed Ini File key ADD BINARY If the one Search Binary Search Text Search Windows Search RowNo OutSearch Binary OutSearch Text or OutSearch Windows key is found in the data stream and this key is provided in the same section the argument of the ADD BINARY key is inserted into the data stream right after the searched argument Examples Section SEARCH AND ADD 1 is the hex representation of ASCII 27 Escape Sign SEARCH_BINARY x1BE direct after the PCL reset command a paper tray command ADD_BINARY amp n13WdTransparency ReadOnlySearchKeys ON Section SEARCH AND ADD AFTER SEARCH TEXT 2 Rechnung No If the print data contains the searched text DSM needs to put on all pages the same Letter head form form number 100 using DBEM COMMANDS in Data Stream gt highest priority ADD_BINARY lt lt C1 10100 gt gt ReadOnlySearchKeys ON The same functionality can be achieved using the direct PCL command for macro Overlay form 100 Add_Binary x1B amp f100y4X or DSM_Command C1 10100 But for the second way the ReadOnlySearchKeys ON key has to be turned OF or simply not used Note Instead of using the ERASE_BINARY a
121. wing table character positions 1 6 are numbered across the top Check 1 2 3 4 5 6 Character 0 E E E 1 E 77 Copyright 2005 William Matthew Limited All rights reserved OO FW P oOommoomoo mooommoo Ooommimoo mmomoomo The UPC symbology allows for supplementary codes to be added to the main code These add ons may be 2 or 5 digits They do not include a check character and have no bearing on the check calculation of the main code The EAN symbology The barcode symbology most commonly seen in Europe and most of the rest of the world is EAN It is a numeric only bar code system used for identification of retail products Unique EAN numbers are allocated to each separate retail product not just by product brand but by variation weight colour flavour etc Also separate numbers are required when the product changes except when the price changes The EAN symbol has two basic formats the 8 and 13 digit variants The 13 digit code is more common The 8 digit code is generally used where space is restricted lt 5 012345 678900 gt 5 012345 678590 gt S5 012345 67590 gt There are two other variants of EAN which have supplementary add on codes 13 2 and 1345 Although not often used in practice the add on codes are available for encoding supplementary information The EAN symbology is intended as a world wide standard alt
122. ypes of Files words do not exist as contiguous characters See search windows or search text keys If DSM is still not triggering on your searched data then you may use for the key temporarily for further analysis PRINTONLYASCII in the GLOBAL section of the ini File More about the way to find the search item trigger in the data stream see next page DSM will try to not print any PCL sequences or binary data Also some formatting will be performed for better readability but the text may still not be searchable In order to increase the process speed you may limit the evaluation of DSM activation keys to Add Insert Replace Erase and StoreNextWordToVariable or StoreNextWordTolntVariable by setting the key ReadOnlySearchKeys to ON In this case none of the other keys like DEM COMMAND Archive etc are read If the searched section should only be performed one time actually the first time the searched item is found then add the key Search Only Once to the same section and turn it ON Ini File key SEARCH TEXT This command performs the same functionality as the SEARCH BINARY key with two differences 1 The comparison between the searched text and the data stream text is performed case insensitive Example SEARCH TEXT 2Greta Garbo will be true for all following data stream contents greta garbo Greta Garbo Greta GARBO etc 2 In addition this key ignores any positioning Escape Sequences Esc p X or Esc p Y the windows driver might ge
123. ys is found on the page the next page will be again a page 1 GLOBAL DSM_COMMAND C1 1F2000 C1F3000 Search for last page of invoice Search_Binary Payment period 30 days Add_Binary x1B s 995Z ReadOnlySearchKeys ON Doing it this way DSM will loose the total page counter C Command S Simplex Duplex This C command sets the printer in the simplex or duplex mode The following parameters are possible 0 Simplex 1 Duplex long side 2 Duplex short side Any other number apart from 0 1 2 are ignored Once this command is used all PCL commands for simplex duplex in the data stream are erased This means if you want to set the complete job in duplex then simply turn it on the first page 1 152 Aduplex command needs to be always sent on the front page Turn off duplex printing also on the front page You may use C Command B to select the next printing page Example C1 1F1100S1FFF1000 C1 350 37 Copyright 2005 William Matthew Limited All rights reserved This example demonstrates how to print terms and conditions on the first page only Copy 1 page 1 starts printing in duplex S1 before the page form feed the macro 1100 is inserted then the FormFeed FF and on the new page 2 the macro 1000 After that point the original FormFeed from page 1 is performed So the next page is number 3 and the duplex mode is turned off C Command X Don t use this C Command on print page This C command is us
Download Pdf Manuals
Related Search
Related Contents
ROBO-8110VG2AR User`s Manual 業務用食器洗浄機基準 - 社団法人・日本厨房工業会 SPIRALES 2008 DuPont GROUPE 4 INSECTICIDE Insecticide ASSAIL 70 WP Mode d`emploi 1. Diseñada para proteger al usuario de emanaciones como USB 2.0 External VGA Video Card (GUC2015V) Copyright © All rights reserved.
Failed to retrieve file