Sage 100

 View Only
Expand all | Collapse all

MAS 200 v 4.5 PU2 - error when printing work order

Jeff Schwenk

Jeff Schwenk04-26-2012 12:28

Therese Logeais

Therese Logeais04-26-2012 12:30

Therese Logeais

Therese Logeais04-26-2012 12:31

Moira Goggin

Moira Goggin04-26-2012 15:27

  • 1.  MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:20
    MAS 200 v 4.5 PU2 - error when printing work order labels to Zebra GK420T - message ""Local Error SWCOCX line 3570"" I ran through the Sage KB article on Crystal Error SWCOCX printing legacy Crystal reports using Crystal 11, since there is no specific KB article with this line number. Interesting that the crep32.dll was not in the c:\windows\system32 directory so I copied it from ...business objects\common\3.5\bin, but still have the error. The path variable has been verified and is okay. Note - the label is 2"" by 1/2"" with a code 128 bar code. The label previews from MAS without an error. The Zebra is configured for bar code 128 font and we can print a sample bar code label from Excel with no error. The error occurs on more than one workstation.


  • 2.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:28
    After you copied it, did you register it?


  • 3.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:30
    If CRPE32 was the culprit wouldn't all Crystal printing be giving an error.


  • 4.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:30
    Do you have it set to no printer in the rpt?


  • 5.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:31
    Can you print it from preview?


  • 6.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:45
      |   view attached
    You know I was going to fell like an idiot (id-10-t error) so I went to register the dll and got an error - ran the suggested MS fix of copying the dll to syswow64 and using the regsvr32.exe from this folder and still got this error

    Attachment(s)

    rtf
    error.rtf   714 KB 1 version


  • 7.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:50
    From crystal designer preview, yes - mas no.


  • 8.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 12:52
    Oh and yes the no printer is set in the report.


  • 9.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 13:08
    Yeah, Wayne you'd think that would be the case - but other forms print fine from business framework modules. Also, the WO traveler prints fine, so CRPE32.dll doesn't make sense, but it was worth a try.


  • 10.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 13:14
    Created another label form using the default format and printed to a non-zebra printer without error. Think it's a Zebra issue.


  • 11.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 13:22
    Is it that SY_ReportSettings that tends to like to barf if there's no match with paper size / printer ? If I recall it's usually something goofy like an Error 85?


  • 12.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 13:49
    Don't know if it's the SY_ReportSettings - I have managed to get past the SWCOCX error, and am not sure how/why, but now have the lovely report header or footer exceed page length message. This is only on the MAS side, the label prints from Crystal directly, no errors no issues. The form stock has been created in the file printer server setttings, set as the default stock on the printer and the printer set as the defaul too. The layout section for the deatils has the correct sizes on the Crystal side. I'm going to try this in the 4.4 version and see if it's an issue just with 4.5, Crystal 11.5. Thanks everyone, I'll report back.


  • 13.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 14:20
    I think I've seen this before as well. If memory serves it has to do with pre-selecting the printer in the crystal (I think someone alluded to this earlier) I can't remember if you need to set it to ""no printer"" or if you need to make sure you assign the printer and paper size in the crystal. But try it both ways and see if that helps. Also when I get the ""paper size exceeded"" error I always check my margins and reduce the size and width of the label in crystal section expert.


  • 14.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-26-2012 15:27
    I'll give that a try David - thanks.


  • 15.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-27-2012 03:30
    Post back when you find the solution. This is the kind of annoying thing that seems to come up about once a year for several of us.


  • 16.  RE: MAS 200 v 4.5 PU2 - error when printing work order

    Posted 04-27-2012 10:59
    It's working. Even though I'd setup the form stock in print server properities, I still had to tweak a few things to get rid of the SWCOCX and ""page header or footer exceeds page length"" errors. These are the steps I followed: Install the Zebra printer (in this case GK420T) Select from printers/devices and then select Print Server Properties Select ""create new form"" Enter name, form dimensions. In this case created form name ""2x.5"" with width of 2"" height of 1/2"" and set left, right, top and bottom margins to .01 for all. Save the form. (The non zero margins seemed to fix the ""page header...exceeded"" error) Select the printer preferences. Set the form to the name of the form you created in print server at the ""stocks"" option - do not use the ""user defined"" stock. For this particular Zebra, select the ""bar code font"" tab, selected ""code128"" and then selected ""change"" changed the code 128 to use ""code 128B"", normally defaults to just ""code 128"". Apply the changes. In Crystal reports - selected Printer Setup, and selected the Zebra printer. Verified that the printer preferences held the ""2x.5"" form option. In Crystal page setup - allowed ""user defined"" as the choice and confirmed that the left, right, top and bottom margins where not zero - in this case they were listed as .009 for all (close enough to .01 I guess). Crystal - detail section expert. layout, changed the width to 1.95"" and height to 1.45"" and left both gap settings to zero. (thanks David for the suggestion on sizing detail smaller than the form stock) Added and formated the fields needed, added formula for a bar code of the serial number using BarCode128B function NOT the Sage MAS90 StringToCode128B function (I think this is where the SWCOCX error may have been generated). Saved the Crystal report. In WO Label printing, verfied the selected printer was the Zebra, used Printer Setup to check that the preferences for the print server form ""2x.5"" held - labels printed without error. And I never did get the CRPE32.DLL to register...