Welcome to the KeepItPrinting.com forums! The doctor is IN.

Your business can be seen here! Prime spots available!

Please consider making a voluntary donation if you find these forums helpful. Thank you.
Home of the Kip Doctor!            REGISTER: In order to register for our forums please send an E mail to [email protected] stating what user                                                               name and password you would like. This is now required due to all the spambots that have been registering.
KeepItPrinting.com Forum Index KeepItPrinting.com
The "unofficial' and "unauthorized" KIP info site.


Kip Microstation v8 Driver Sample

 
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP software info.
View previous topic :: View next topic  
Neil Johnston
doctor


Joined: 23 Dec 2005
Posts: 402
Location: Seattle, WA

 PostPosted: Fri Mar 10, 2006 2:36 pm    Post subject: Kip Microstation v8 Driver Sample Reply with quote Back to top

Peter emailed me asking for a sample Microstation dirver. I tried to email him but his email is getting kicked back to me. Hope he sees this post.

Sample driver... The following should be copied and pasted into a text file with the PLT extension. Don't forget to change your server path and share name.
---------------------------------------------------

; HP-GL/2 Plotter config file - For black/white HP DesignJet plotters

; $Logfile: I:/mgds/plot/pltcfg/hpdjet.plv $
; $Workfile: hpdjet.plt $
; $Revision: 6.3 $
; If you change this file, please do not disturb the above source control
; information. It will prove useful in the event that a future release
; changes this file.
; **********************************************************************
; Modified: 7/5/95; GHouck; systems hk; changes to weight
; Modified: 7/13/95; WGadner; changed pen(1)=(1-255)/rgb=(0,0,0)
; Modified: 10/6/95; SAnderson; changed border/nooutline; added size F
; Modified: 12/20/95; WGardner; implemented above changes to Ustn95
; HODJET.PLT file.
; ************************************************************************
;
; I/O setup - RS232
; Hshake=Xon/Xoff
; Baud=9600
; Parity=None(0)
; Lang=HP-GL/2
; Pen parameters - Source=Software
; ********************************************

num_pens = 15 ; Defines pens used
change_pen = weight ; options are color, weight, level or both
model = HPGL2 ; plotter model
driver = hpgl2 ; MDL driver to use
end_plot = eject ; performs page eject at end of plot
rotate = cw ; clockwise rotation
autocenter ; Automatically center plot on page
;border/nooutline/pen=1/filename/time; leave this out for no border
pen(1)=(1-255)/rgb=(0,0,0)
pen(2)=(5,7,14)/rgb=(200,200,200)
;pen(4)=(7)/rgb=(220,220,220)



default_extension/auto_incExt = '000' ; default extension for plotfiles
;
; To configure a default output file name comment out the default_extension
; line above and uncomment this line. "lpt1" may be substituted with any
; desired filename - e.g. "$(MS_PLTFILES)plotfile.000"
;
default_outFile/auto_overwrite = "\\ServerName\kipQueue"

; communication=(handshake=0,baud=9600,par=none,data=8,stop=1)



; The SIZE records defines the plotting area of page. The .27 offset
; given is to allow room for the border record.
; Use the first set when using roll paper and the second set for cut paper.
; Only 5 SIZE records can be defined at one time

; size=(8.5,11.0)/num=0/off=(0.27,0.27)/name=a
; size=(11.0,17.0)/num=0/off=(0.27,0.27)/name=b
;size=(17.0,22.0)/num=0/off=(0.27,0.27)/name=c
size=(36.238,24.239)/num=0/off=(0.27,0.27)/name=retail
size=(22.0,34.0)/num=0/off=(0.27,0.27)/name=d
size=(43.0,34.0)/num=0/off=(0.27,0.27)/name=e
size=(54.3,35.7)/num=0/name=g
size=(48.0,35.7)/num=0/name=f

; size=(6.28,9.5)/num=0/off=(0.27,0.27)/name=a
; size=(9.0,14.0)/num=0/off=(0.27,0.27)/name=b
; size=(14.0,20.0)/num=0/off=(0.27,0.27)/name=c
; size=(20.0,31.0)/num=0/off=(0.27,0.27)/name=d
; size=(42.00,32.0)/num=0/off=(0.27,0.27)/name=e

; The style records defines how the design file line codes (styles)
; are to be plotted. Values are in plotter units (resolutions).
; Values determine pen down/up movements, where (14,42) for a dot
; pattern leaves the pen down for 14 units and up for 42 units. The
; /nohardware switch causes software stroking with these values.

style(1) = (14,42)/nohardware ; style = dot
style(2) = (70,42)/nohardware ; style = med dash
style(3) = (168,56)/nohardware ; style = long dash
style(4) = (112,42,28,42)/nohardware ; style = dot-dash
style(5) = (56,56)/nohardware ; style = short dash
style(6) = (84,28,28,28,28,28)/nohardware ; style = dash-dot-dot
style(7) = (112,28,56,28)/nohardware ; style = long dash - short dash


; Units for weight stroke are multiples of .025 mm. Weights may appear
; thicker than normal when plotter is set to "draft" mode. Set plotter
; on "final" setting to see true weight thickness.


; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
weight_strokes=(3,5,15,18,20,12,30,20,35,18,10,37,30,85,27,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165)


resolution(IN)=(0.00098425197,0.00098425197) ; specifies both res and units

; stroke_tolerance determines tolerance for arcs and circles. Value is
; between 0 and 10 with 10 being the greater tolerance. Large value also
; creates a larger .000 file.
stroke_tolerance=4.5

; The style records defines how the design file line codes (styles)
; are to be plotted. Values are in plotter units (resolutions).
; Values determine pen down/up movements, where (14,42) for a dot
; pattern leaves the pen down for 14 units and up for 42 units. The
; /nohardware switch causes software stroking with these values.

style(1) = (14,42)/nohardware ; style = dot
style(2) = (70,42)/nohardware ; style = med dash
style(3) = (168,56)/nohardware ; style = long dash
style(4) = (112,42,28,42)/nohardware ; style = dot-dash
style(5) = (56,56)/nohardware ; style = short dash
style(6) = (84,28,28,28,28,28)/nohardware ; style = dash-dot-dot
style(7) = (112,28,56,28)/nohardware ; style = long dash - short dash

; linecap, linejoin and miter_limit values may differ between plotters.
; Check your plotter manual for their definition.

linecap = 1 ; 1=butt, 2=square, 3=triangle, 4=round
linejoin = 2 ; 1=mitered, 2=miter/bevel, 3=triangle,
; 4=round, 5=beveled, 6=no join
miter_limit = 1.5 ; larger values mean longer spikes

; Construction points, by default, are not plotted. Uncomment the next
; line if you want to plot them.
; point_size = .1 ; points are plotted 0.1 cm dia

; software_raster allows for plotting of type 87/88 raster elements. Value
; for resolution can be as high as your plotter's resolution. Lower values
; will produce grainier images. Remove comment to plot raster image.
software_raster/res=300

; largest_polygon is used only for element filling. The value defines
; the point at which software filling takes over in place of hardware
; filling. The value relates to number of vertices used to draw the
; element.
largest_polygon=2048

; The pen_width record determines how far the pen moves when drawing
; thick lines (weights) or when used to fill elements. Values are
; between 0 and 15 with 15 moving the greater distance.
PEN_WIDTH(1)=1
PEN_WIDTH(2)=2
PEN_WIDTH(3)=3
PEN_WIDTH(4)=4
PEN_WIDTH(5)=5
PEN_WIDTH(6)=6
PEN_WIDTH(7)=7
PEN_WIDTH(8)=8
PEN_WIDTH(9)=9
PEN_WIDTH(10)=10
PEN_WIDTH(11)=11
PEN_WIDTH(12)=12
PEN_WIDTH(13)=13
PEN_WIDTH(14)=14
PEN_WIDTH(15)=15
 
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP software info. All times are GMT - 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum