Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Spool is Generating but documents are not getting printed for CL0001 printer

kirankumark2
Participant

While printing the documents through CL0001 printer spool is generating but documents are not getting printed. Someone provide me the steps to solve the above printer issue and clarify me is there anything to check from ABAP er or is it related to any Functional or BASIS issue.

22 REPLIES 22

FredericGirod
Active Contributor

Check the SP01/SP02 transaction and the statut of your spool.

If you have an error, provide the error number & description

dasistdochscheisse
Active Participant

is 'Immediate output' activated?

Sriram2009
Active Contributor
0 Kudos

Hi Kumar.

What is the status of Spool work process status in SAP System, check the transaction code SM50?

any error message in the SM21 log? any dumps in the ST22?

Regards

SS

kirankumark2
Participant
0 Kudos

I have verified all the transaction codes mentioned but i don't see any error Log.

In SP01Transaction all the SPOOL requests are in COMPLTED STATUS(Green).

In SM50 Transaction Spool Work process (75 and 76) are in WAITING status.

In SM21 Transaction there are no Messages Log For SPOOL Work processes (75 and 76).

In ST22 There is one dump for the Given User but mostly which is not related to SPOOL Printing issue because only one entry exists for multiple number of days.

sm50.pngsp01.pngIn which transaction code do I need to check "Output Activated" is checked or not?

Screenshots of all transactions are attached.

Sriram2009
Active Contributor
0 Kudos

Hi Kumar

From the SP01, the status of the spool output released, you have to check the end-user PC or desktop the printer is configured correctly? or any authorization issue while releasing the spool printouts.

Regards

Sriram

0 Kudos

Customer is replied like below(BOLD TEXT) about this issue with Printer screenshot. Some body help me to understand what went wrong. Printer and SAP Screenshots shared by customer are attached

printer.png

Apparently the message displayed by the printer is not an error code but a part of the script it should print out. Please find below the pictures.

Please note the space in the exact same line where the printer gets blocked. I assume that is the problem.

Could you please check why it is there and not in any other line?

0 Kudos

Hi

I think you have to check the paper size in the printer, because of this it show the error message.

Regards

SS

0 Kudos

Hi Ram,

Customer mentioned like "On the printer screen some text(Script) is showing" like RV03;GEO/GEOM10?. There is a blank space in the same script Line, Because of this SPACE printer is not working. Could you please let me know where can i see that script.

0 Kudos

Hi Ram,

Customer is able to print documents from some transactions but facing issue with few Transactions. Printer is showing SPOOL CONTENT on the display screen while printing few transactions. Customer reply is pasted below

Hello,

I tested the TCRMAG185 (TW92) printer yesterday with R10.
I was able to print part labels with transaction ZETIQ_PCE.
It therefore works well.
However, when I wanted to print the parcel label with VL32N, the printer went into "ERROR" with a "VR03; ". I have tried several times and have had this message each time. So I was unable to print the new label template.
Has anyone ever had this concern?
Thank you in advance.

dasistdochscheisse
Active Participant
0 Kudos

in SP01, double click on 'Completed' and on the ext screen double click 'Completed' again. Then you see the list of the events and with a bit luck, you can see the problem in the host spooler.

For SAP, the spool is ok, which means the spool data was given to the printer or printer queue on a print server. You have to check the printer / printer queue on the front end / print server. in SPAD you can see, how the printer is defined and you can find out where to look next.

dasistdochscheisse
Active Participant
0 Kudos

Oh,and you can check if the immediate output is activated only when you initiate the print and select the printer. If a different user is prinitng, you can check it in SU01 if 'Immediate output' is checked. In your case it is activated, because there is a status for the output ('Compl.')

raymond_giuseppi
Active Contributor
0 Kudos

If the spool are in status 'completed', SAP send those to the printer/printer server.

  • How is defined your printer (transaction SPAD, look for status, access method, etc.)
  • Have you access to spool server

0 Kudos
  • Could you provide model of printer (e;g. B-EX 600dpi) and driver defined in spad (e.g. LPZL)
  • Can you check if the last character is actually a space
  • Look in Toshiba printer doculentation

0 Kudos

Hi Raymond.

Could you please let me know In which transaction i can see the Script to check the Last character.

0 Kudos

Hi Reymond,

Please check the attached screenshots for Printer Model and other details.printer-info.png

0 Kudos

Hi Raymond,

Customer is able to print documents from some transactions but facing issue with few Transactions. Printer is showing SPOOL CONTENT COMMANDS on the display screen while printing in few transactions. Customer reply is pasted below

Hello,

I tested the TCRMAG185 (TW92) printer yesterday. I was able to print part labels with transaction ZETIQ_PCE. It therefore works well.
However, when I wanted to print the parcel label with VL32N, the printer went into "ERROR" with a "VR03; ". I have tried several times and have had this message each time. So I was unable to print the new label template.
Has anyone ever had this concern?
Thank you in advance.

kirankumark2
Participant
0 Kudos

Hi,

Customer is replied like below(BOLD TEXT) about this issue with Printer screenshot. Some body help me to understand what went wrong. Printer and SAP Screenshots shared by customer are attached

printer.png

Apparently the message displayed by the printer is not an error code but a part of the script it should print out. Please find below the pictures.

Please note the space in the exact same line where the printer gets blocked. I assume that is the problem.

Could you please check why it is there and not in any other line?

Sandra_Rossi
Active Contributor
0 Kudos

Please avoid hyperlinks for images:

It seems obvious to me that the spool contains commands for the current Page Description Language of the Toshiba printer. The first problem is that this command is not recognized:

{RV03;GEO/GEOM10| |}

It looks like TPCL (example: https://stackoverflow.com/questions/25290536/tpcltec-printer-command-language-escpc-align-left)

Make sure that the printer is currently configured to use TPCL (ask the local people to follow Toshiba user manual). Otherwise there's probably a way to switch via an additional command, but you must look at the Toshiba programmer manual.

Sandra_Rossi
Active Contributor
0 Kudos

If you want to understand what mean RV03, etc., I found this TCPL programming manual (chapters 6.1/6.2 TPCL-LE mode): http://printronix.com/wp-content/uploads/2015/08/PTX_PRM_TGL_TH_258781a.pdf

  • {|} A predefined set. The { character is the SFCC, the I is the SFCC-Separator, and the } character is the SFCC-Terminator.

and this one https://www.toshibaprinters.com/technical_information/programmermanuals/B415%20programmers%20guide%2... (note: in your case [ESC] [LF] and [NUL] are in fact { | and })

  • 6.4.14 OUTLINE FONT DATA COMMAND [ESC] RV Function Provides data of the outline font string. Format [ESC] RVaa; bbb bbb [LF] [NUL]
  • Note that RV is preceded with a PV command: 6.4.11 OUTLINE FONT FIELD COMMAND [ESC] PV Function Sets how the outline font is to be printed on the label. Format [ESC] PVaa; bbbb, cccc, dddd, eeee, f, (, ghhh), ii, j, (Mk), (l, ,mmmmmmmmmm) (, Znn) (, Po) (= ppp ppp) [LF] [NUL]

Now, concerning your problem, I guess that the text "GEO/GEOM10|" is to be printed but that's a problem to have a pipe character (|) in the text, that conflicts with the SFCC-Separator. I hope it's an error in the ABAP program, otherwise I don't know how you can get rid of this issue (maybe you could issue characters [ESC] [LF] and [NUL] instead of { | and }.

DATA(esc) = CONV char1( CL_ABAP_CONV_IN_CE=>UCCP( '0027' ) ).
DATA(lf) = CL_ABAP_CHAR_UTILITIES=>NEWLINE. " or |\n|
DATA(nul) = CL_ABAP_CHAR_UTILITIES=>MINCHAR.
DATA(command) = esc && 'RV03;GEO/GEOM10|' && lf && nul.

0 Kudos

Hi Rossi,

Thanks for your reply. After analysis I found below

1. Each and every SPOOL CONTENT COMMAND has " | " as the mandatory symbol with format " { | }".

2. In the above case there is a SPACE between two | symbols in the text, hence printer is not able to recognize this Line ({RV03;GEO/GEOM10| |}.

Could you please confirm weather My 2nd Finding is Valid or Not.

0 Kudos

Either you didn't understand or it's me. According to me, the pipe character is to be the Special-Function-Control-Code separator. Nowhere is said that you may have 2 pipe characters. A RV command is to be preceded with a PV command, therefore I guess that at least one previous command in the spool has been correctly processed by the printer. It means that this one is erroneous and previous ones are correct. It's the only one to have two pipe characters, I suspect that it's the issue. Could you now investigate in the ABAP code how it generates this line, to tell us what GEO/GEOM10| corresponds to?

0 Kudos

Are there any news?