cancel
Showing results for 
Search instead for 
Did you mean: 

Printing directly to a label printer from Web Dynpro/Smartform?

former_member210148
Participant
0 Kudos

Hello!

I have developed a Web Dynpro application that will allow a user to specify materials and equipment for printing on labels. A colleague has developed the Smartform for the label, which contains a barcode. We have Zebra label printers on order that will be used to print these labels.

I'm not sure how I need to code the printing routine in Web Dynpro to send my generated labels directly to the printer. I've seen a lot of examples in my searching that convert the data to OTF so it can open up a PDF dialog. I don't think we want that. I've seen some posts by Thomas Jung that mention the following:

So it sounds like, per Thomas Jung's posts, because this is Web Dynpro and not SAPGUI, I have to have the label printer set up within the SAP backend print infrastructure and print the labels via the ABAP spool to my label printer.

If that's true, how do I go about doing this from a coding perspective within Web Dynpro? And is it possible that the user can just press a button and the code will send the labels to the printer, where they'll immediately begin printing? Or will the user have to do a secondary step like go to the ABAP spool and send the output to the printer? I'm hoping this won't be the case. I want to make this as easy as possible for the user.

Assuming I have a printer set up within SAP's backend print infrastructure and a full printer queue is defined via the server for background printing, how do I code this within Web Dynpro?

Thank you!
Dave

Accepted Solutions (0)

Answers (0)