Skip to Content
avatar image
Former Member

Offending command: SAPencode Postscript driver

Hello,

Does anyone knows what Offending command: SAPencode means? I have tried to find notes about or SCN discussions but no luck for me.

In the attached file you can see the output I get from the printer.

Greets,

Markus ter Haar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 23, 2015 at 09:13 AM

    Hello,

    SAPencode is a PS function defined in PostScript device types of SAP (e.g. POST2) , SAPencode is used for ABAP list and OTF printing (SAPscript, Smart Forms).

    If you run SPAD to view the contents of spool formats DINA4 or X_65_80  for POST2 device type, you can find this so-called "Postcript prolog"  in action "Printer Initialization".

    I assume you created a spool request which is missing this prolog because the request uses a spooler format  + device type combination where this prolog is not defined.


    Regards,

      Alex

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Alexander Bolloni

      Hi Alexander,

      Thats it. Now I don't get the "Offending command: SAPencode" anymore. Now I get "Offending command: image. There must be something wrong with one of the images in the smartform. I will have a look.

      Thanks for your help.

      Geets,

      Markus ter Haar