cancel
Showing results for 
Search instead for 
Did you mean: 

using LP01 printer for printing smartforms in BSP

Former Member
0 Kudos
499

Hi fellow BSPers,

I have developped a BSP application in CRM which allows users to have a consolidated view on the data in an order.

Also there is a button which can print a smartform of the order using the PostProcessingFramework of CRM.

It works great but...

For printing the user needs to use a printer which is defined in the system.

As expected most users would like to print on the printer they defined in windows as their default printer. From SAPGUI this can be done using printer LP01 which sends the spool to the client printer deamon.

Does anybody know how I can use this deamon via BSP?

View Entire Topic
Former Member
0 Kudos

Hi Raja,

The problem is not that I can not select a printer and set printer properties, this works fine, but when the user selects the LP01 device the print is not executed because the BSP doesn't trigger the printer deamon installed on the client PC.

When the user selects another device the print is executed perfectly.

BR

Mario

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I hit similar requirements in the past. You can't use LP01 because it needs the Gui Framework to communicate with the frontend of course.

I like the solution of converting the SmartForm (or Sapscript or Adobe Form for that matter) to PDF. I then display the PDF out of the BSP application (there are several weblogs on different techniques for displaying PDF and Non-HTML documents - I like the ICM Cached Response and IFrame approach). The user then can print the PDF with their local printers (or email the document, or save it, etc). This give considerable flexibility.