Difference between revisions of "Information Systems:Surveillance Cameras"

From uniWIKI
Jump to navigation Jump to search
(Created page with "==Description== Catapult is sold and supported by the same people as WebSmart. ==How uniPHARM Uses Catapult== We use it to deliver printer output i...")
 
Line 53: Line 53:
 
==Shelf Labels==
 
==Shelf Labels==
   
These can be printed by shareholders in Web Orders
+
These can be printed by shareholders in Web Orders. The printer file is built on Bart, then sent via Catapult to -
 
The printer file is built on Bart, then sent via Catapult to -
 
   
 
bart\webroot\unipharm\shelflabels\shlabels.pdf
 
bart\webroot\unipharm\shelflabels\shlabels.pdf
   
Double click on this file to load it into Adobe Reader.
+
Double click on this file to load it into Adobe Reader. Print this, making sure that ‘Page Scaling’ is set to None.
 
Print this, making sure that ‘Page Scaling’ is set to None.
 
   
 
===Label Formats===
 
===Label Formats===
Line 88: Line 84:
 
Top margin
 
Top margin
   
- how many lines above top label
+
* how many lines above top label
   
 
Left margin
 
Left margin
   
- how many spaces to left of first label
+
* how many spaces to left of first label
   
 
Label width
 
Label width
   
- width in characters
+
* width in characters
   
 
Label length
 
Label length
   
- length in lines
+
* length in lines
   
 
The next five fields are required if the computer cannot exactly match the dimensions of the form; a ‘fudge factor’.
 
The next five fields are required if the computer cannot exactly match the dimensions of the form; a ‘fudge factor’.
Line 106: Line 102:
 
Column adjustment label number
 
Column adjustment label number
   
- column of labels on which to do vertical adjustment
+
* column of labels on which to do vertical adjustment
   
 
Column adjustment
 
Column adjustment
   
- number of columns to insert (this can be negative to delete columns)
+
* number of columns to insert (this can be negative to delete columns)
   
 
Row adjustment label number (first)
 
Row adjustment label number (first)
   
- row of labels on which to do horizontal adjustment
+
* row of labels on which to do horizontal adjustment
   
 
Row adjustment label number (second)
 
Row adjustment label number (second)
   
- row of labels on which to do horizontal adjustment
+
* row of labels on which to do horizontal adjustment
   
 
Row adjustment
 
Row adjustment
   
- number of rows to insert (this cannot be negative)
+
* number of rows to insert (this cannot be negative)
   
 
The label detail file is WSLBDTP in library WEBPRDD.
 
The label detail file is WSLBDTP in library WEBPRDD.
Line 151: Line 147:
 
Line and Column
 
Line and Column
   
- this field’s position on each label
+
# this field’s position on each label
 
# the options are UPC, UWD item #, Pathfinder, size, SRP, description 1, and description 2
 
 
# use this column, which in relation to the entire page, rather than ‘Column’, which in relation to an individual label. Up to nine labels can be defined.
Field name
 
 
# change the font and size of the field (for example, print the price larger)
 
 
# bold the field (for example, description, which for Medicine Centre shelf labels is printed on a green background)
- the options are UPC, UWD item #, Pathfinder, size, SRP, description 1, and description 2
 
 
Absolute Position
 
 
- use this column, which in relation to the entire page, rather than ‘Column’, which in relation to an individual label. Up to nine labels can be defined.
 
 
Font name and size
 
 
- change the font and size of the field (for example, print the price larger)
 
 
Bold
 
 
- bold the field (for example, description, which for Medicine Centre shelf labels is printed on a green background)
 

Revision as of 09:22, 10 May 2016

Description

Catapult is sold and supported by the same people as WebSmart.

How uniPHARM Uses Catapult

We use it to deliver printer output in PDF

Connecting the i to Catapult

Exodus is ended every night at 3:00AM

Catapult on the Server

Catapult runs as a service on Magoo

Launch Console

File:catapult-1.jpg

Configure the connection to the i through File / Connect to System

File:catapult-2.jpg

You can see on the left which sections are in use

Manage Pollers

File:catapult-3.jpg

The poller looks at specific out queues on the i

Run Grab Rule (ZRUNRULE)

The poller isn't the only way for Catapult to process spool files. CL programs that build the spool files can manually call the rule we want to run (after adding XL_CATAPLT to the library list).

ZRUNRULE FILE(LABELS) SPLNBR(*LAST) RULENBR(28) TIMEOUT(20) PCFILE(11005_20150508_105938.pdf) PCPATH('\\bart\webroot\unipharm\shelflabels')

This calls rule 28, manually changing the spool file name, output file name, and where to put it.

Poller vs ZRUNRULE

I like using the command instead of the poller, because then I can control exactly what happens when. But there are cases when it is not possible to use ZRUNRULE.

But the rule itself in Catapult allows for more identifiers; one of which is the user data field. Notice that the out queue is one that will have vary few spool files in it.

File:catapult-4.jpg

Before the query is run, the output must be overridden with -

OVRPRTF  FILE(QPQUPRFIL)  OUTQ(FINANCE/FINTEMP)  USRDTA(REPORT2)

Shelf Labels

These can be printed by shareholders in Web Orders. The printer file is built on Bart, then sent via Catapult to -

bart\webroot\unipharm\shelflabels\shlabels.pdf

Double click on this file to load it into Adobe Reader. Print this, making sure that ‘Page Scaling’ is set to None.

Label Formats

The label header file is WSLBHDP in library WEBPRDD.

WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         
Format . . . . :   WSLBHDR                     File . . . . :   WSLBHDP        
                                                                               
*RECNBR:              5                                                        
Label Type:    SHELF                                                           
Label form:    TYPE1A                                                          
Description:   Std-includes SRP, descr at bot                                  
Top Mgn:                                                                       
Lft Mgn:                                                                       
Labels Across:   4                                                             
Lbls Down:       8                                                             
Label Width:    28                                                             
Label Length:   11                                                             
Col Adj Lbl #:   4                                                             
Col Adj Cols:    1-                                                            
Row Adj Lbl1:    2                                                             
Row Adj Lbl2:    6                                                             
Row Adj Rows:    1                                                             

Top margin

  • how many lines above top label

Left margin

  • how many spaces to left of first label

Label width

  • width in characters

Label length

  • length in lines

The next five fields are required if the computer cannot exactly match the dimensions of the form; a ‘fudge factor’.

Column adjustment label number

  • column of labels on which to do vertical adjustment

Column adjustment

  • number of columns to insert (this can be negative to delete columns)

Row adjustment label number (first)

  • row of labels on which to do horizontal adjustment

Row adjustment label number (second)

  • row of labels on which to do horizontal adjustment

Row adjustment

  • number of rows to insert (this cannot be negative)

The label detail file is WSLBDTP in library WEBPRDD.

WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         
Format . . . . :   WSLBDTR                     File . . . . :   WSLBDTL1       
                                                                               
Label Type: SHELF                                                              
Label form: TYPE1A                                                             
Line:         6                                                                
Column:       1                                                                
Field name: SRP                                                                
Abs Pos 1:    7                                                                
Abs Pos 2:   20                                                                
Abs Pos 3:   34                                                                
Abs Pos 4:   49                                                                
Abs Pos 5:                                                                     
Abs Pos 6:                                                                     
Abs Pos 7:                                                                     
Abs Pos 8:                                                                     
Abs Pos 9:                                                                     
Font name:  Courier New                                                        
Font size:  16                                                                 
Bold?:                                                                         

This file positions each field on the label.

Line and Column

  1. this field’s position on each label
  2. the options are UPC, UWD item #, Pathfinder, size, SRP, description 1, and description 2
  3. use this column, which in relation to the entire page, rather than ‘Column’, which in relation to an individual label. Up to nine labels can be defined.
  4. change the font and size of the field (for example, print the price larger)
  5. bold the field (for example, description, which for Medicine Centre shelf labels is printed on a green background)