RATE THIS ANSWER
0
Click to Vote:
0
0
I'll try since noone else did
You've got it rotated but it's not at the right location
Try
Front margin:
Offset down .
Offset across
Phil
Tried that... Nothing...
I did however fool it and put rotation of 270 and put the envelopes in the other way. That woks a little better but now not all the data is there. Weird. it almost like it only supports it so big in raster mode. That is the only way I can get it to print out semi fine....
***************
Don't think I can help you..curious, how did you set the
Page size:
Page length .
Page width . .
Phil
---------------------------------------------------------------------------------------------------------------
I recently had to setup a WSCST for a client who needed to print on legal size paper pulling from the manual tray so I had to modify the :PAGSIZE and DATA string. I have modified the text I used and came up with the following for your use. I make no guarantee that this will work for you since I do not have the manufacture and model information of the system you are using. You may still have to do a rotation on the print file to get the correct orientation. I assume the print file you are using corresponds to the size you indicated.
Try adding the following and see if it makes a difference to the WSCST associated with the printer.
:PAGSIZE /* 9.5" X 12.5" Custom form Pull from Manual Tray */
PAGWTH=13680
PAGLEN=18000
DATA ='1B266C313031481B266C3248'X.
Gary
-----------------------------------------------------------------------------------------------------------------
Gary,
Its not a print file. Just a general spool file created in RPGLE.
That gives me a "Hexadecimal value on line 0160.00 not correct. " So I broke that up seperating the "1B" and tried each one. That still did not work. Its close I think. I still do not have the rest of the data on the right. The paper is 12.5 x 9.5 and I am using the HP5SI driver. Its a canon ir3035 printer. If I can just get the rest of the output to come out I think I can get it to work. Curently here is my workstation config and overide statment.
The *cut forces it to the manual tray. (*E1 also does this but that is for envelopes). I had to use page roation of 270 b/c if I don;t it will not print top left hand corner. I'm using rastermode set to YES.
Alos how do you figure the HEX decimal values to change them?
OVRPRTF FILE(QSYSPRT) TOFILE(QSYSPRT) DEV(PRT07) +
PAGESIZE(57 216) CPI(10) PAGRTT(270) OVRFLW(55) +
FORMFEED(*CUT) OUTQ(PRT07) HOLD(*YES) SAVE(*YES) COPIES(1)
Work Station COnfig File
:WSCST DEVCLASS=TRANSFORM.
:TRNSFRMTBL.
:PRTDTASTRM
DATASTREAM=HPPCL5.
:NOPRTBDR
OPTION=TOP
ORIENT=PORTRAIT
DATA = 240.
:NOPRTBDR
OPTION=LEFT
ORIENT=PORTRAIT
DATA = 360.
:NOPRTBDR
OPTION=RIGHT
ORIENT=PORTRAIT
DATA = 360.
:NOPRTBDR
OPTION=BOTTOM
ORIENT=PORTRAIT
DATA = 240.
:NOPRTBDR
OPTION=TOP
ORIENT=LANDSCAPE
DATA = 240.
:NOPRTBDR
OPTION=LEFT
ORIENT=LANDSCAPE
DATA = 288.
:NOPRTBDR
OPTION=RIGHT
ORIENT=LANDSCAPE
DATA = 288.
:NOPRTBDR
OPTION=BOTTOM
ORIENT=LANDSCAPE
DATA = 240.
:INITPRT
DATA ='1B45'X.
:RESETPRT
DATA ='1B45'X.
:BELL
DATA ='07'X.
:SPACE
DATA ='20'X.
:CARRTN
DATA ='0D'X.
:FORMFEED
DATA ='0C'X.
:LINEFEED
DATA ='0A'X.
:VERRMOV
DIRECTION=UP
VAROFFSET= 4
VARLEN= 5
VARTYPE=CHRDEC
CNVNUM= 1
CNVDEN= 720
DATA ='1B26612D000000000056'X.
:VERRMOV
DIRECTION=DOWN
VAROFFSET= 4
VARLEN= 5
VARTYPE=CHRDEC
CNVNUM= 1
CNVDEN= 720
DATA ='1B26612B000000000056'X.
:HORRMOV
DIRECTION=FWD
VAROFFSET= 4
VARLEN= 5
VARTYPE=CHRDEC
CNVNUM= 1
CNVDEN= 720
DATA ='1B26612B000000000048'X.
:HORRMOV
DIRECTION=BCK
VAROFFSET= 4
VARLEN= 5
VARTYPE=CHRDEC
CNVNUM= 1
CNVDEN= 720
DATA ='1B26612D000000000048'X.
:STRBOLD
DATA ='1B28733342'X.
:ENDBOLD
DATA ='1B28733042'X.
:STRSUBS
DATA ='1B26612B2E3352'X.
:ENDSUBS
DATA ='1B26612D2E3352'X.
:STRSUPS
DATA ='1B26612D2E3352'X.
:ENDSUPS
DATA ='1B26612B2E3352'X.
:STRUS
DATA ='1B26643044'X.
:ENDUS
DATA ='1B266440'X.
:VARLSPC
VAROFFSET= 3
VARLEN= 3
VARTYPE=CHRDEC
CNVNUM= 1
CNVDEN= 48
DATA ='1B266C00000043'X.
:CPICOR
CPI=10
ASCIIFNT= 255
FNTWTH= 84
FNTATR= 1
DATA =''X.
:CPICOR
CPI=12
ASCIIFNT= 255
FNTWTH= 84
FNTATR= 1
DATA =''X.
:PRTORIENT
ORIENT=PORTRAIT
DATA ='1B266C304F'X.
:PRTORIENT
ORIENT=LANDSCAPE
DATA ='1B266C334F'X.
:PRTORIENT
ORIENT=RTT180
DATA ='1B266C324F'X.
:PRTORIENT
ORIENT=RTT270
DATA ='1B266C314F'X.
:SMPXPRT
DATA ='1B266C3053'X.
:DUPXPRT
DATA ='1B266C3153'X.
:TUMDUPXPRT
DATA ='1B266C3253'X.
:DWRSLT
DRAWER=PAPER
DATA ='1B266C3248'X.
:DWRSLT
DRAWER=ENVELOPE
DATA ='1B266C3668314F'X.
:DWRSLT
DRAWER=DRAWER1
DATA ='1B266C3148'X.
:DWRSLT
DRAWER=DRAWER2
DATA ='1B266C3448'X.
:JOGOUTTRAY
DATA ='1B266C3154'X.
:PAGLENL
VAROFFSET= 3
VARLEN= 3
VARTYPE=CHRDEC
DATA ='1B266C00000050'X.
:PAGSIZXFM.
:PAGSIZE
PAGWTH=13680
PAGLEN=18000
DATA ='1B266C3248'X.
:PAGSIZE
PAGWTH= 8390
PAGLEN=11338
DATA ='1B266C373241'X.
:PAGSIZE
PAGWTH= 8352
PAGLEN=11952
DATA ='1B266C303141'X.
:PAGSIZE
PAGWTH=11952
PAGLEN=16848
DATA ='1B266C323641'X.
:PAGSIZE
PAGWTH=16838
PAGLEN=23811
DATA ='1B266C323741'X.
:PAGSIZE
PAGWTH=10368
PAGLEN=14544
DATA ='1B266C343541'X.
:PAGSIZE
PAGWTH=14570
PAGLEN=20636
DATA ='1B266C343641'X.
:PAGSIZE
PAGWTH=10440
PAGLEN=15120
DATA ='1B266C303141'X.
:PAGSIZE
PAGWTH=12240
PAGLEN=15840
DATA ='1B266C303241'X.
:PAGSIZE
PAGWTH=12240
PAGLEN=20160
DATA ='1B266C303341'X.
:PAGSIZE
PAGWTH=15840
PAGLEN=24480
DATA ='1B266C303641'X.
:EPAGSIZXFM.
:ENVSIZXFM.
:ENVSIZE
.............. skip a few
...+... 1 ...+... 2 ...+...
:EOUTBINTBL.
:ADDDRWTBL.
:ADDDRWTBLE
NUMBER= 3
DATA ='1B266C3548'X.
:EADDDRWTBL.
:RASTERMODE
SCS=YES
AFP=YES.
:EUROSYMBOL
RESIDENT=NO.
:EWSCST.
Any other ideas
Thanks for all your help
Don't know but
'1B266C31303141B266C3248'X. <-- shouldn't that be an even number of digits??
I make it out to be 23 characters...
Phil
----------------------------------------------------------------------------------------------------------
Thanks Phil
I left out the 8 before the second 1B. When I pasted them together I must have overlaid it and did not notice. I corrected the string above with the revision. ('1B266C313031481B266C3248'X.)
Gary
-(_(_(_(_(_(_(_(_(_(_(
Ron
There are offset values on the printer file - don't know how those get transmitted
Front margin:
Offset down . . . . . . . . . 0-57.790
Offset across . . . . . . . . 0-57.790
Phil
----------------------------------------------------------------------------------------------------------
This parameter can only be used for printer files with
DEVTYPE(*AFPDS) specified. Mine is a regular printer file. Nothing special. I just want it to print right...lol
Ron
Last Answered:
Sep 22 2009 8:05 PM GMT by RonKoontz 
1345 pts.