Show TOC Start of Content Area

Procedure documentation Using the PIOS Emulator for the Printer Peripheral Type  Locate the document in its SAP Library structure

Use

This procedure provides an overview about using the Peripheral I/O Emulator for the printer peripheral type.

Prerequisites

Procedure

...

       1.      Write code that uses the Printer API of the SAP NetWeaver Mobile client API.

       2.      Choose This graphic is explained in the accompanying text Launch the Peripheral I/O Emulator to open the PIOS Emulator.

       3.      Choose This graphic is explained in the accompanying text On/Offline to set the Emulator offline.

       4.      Choose This graphic is explained in the accompanying text Capability… to configure desired emulator capabilities.

                            a.      Choose the General tab and select the capabilities that you want to be emulated.

                            b.      Choose the Barcode tab and select the symbology capabilities that you want to be emulated.

                            c.      Choose the Font tab and select the font capabilities that you want to be emulated.

                            d.      Choose the Media tab and select the media Type and Print Head Width that you want to be emulated.

       5.      Choose This graphic is explained in the accompanying text Setup… and configure the appropriate Emulator settings.

                            a.      Select the media that the printer emulates in the Virtual Printout Area and set the Paper Count/Page Length.

                            b.      Set the default font.

Note 

This is used only for the barcode’s Human Readable attribute.

                            c.      Set the printing resolution for the emulator printer.

       6.      Choose This graphic is explained in the accompanying text On/Offline to set the Emulator online.

Note

Make sure the Emulator is Online by checking the Status property on the State Buffer.

5.       Choose This graphic is explained in the accompanying text Open the Emulator Launch Configurations Manager from the toolbar to open the Emulator Launch Configurations window.

 

6.       Select the launch configuration to run your application from the list.

 

7.       Click on the Run button in the Emulator Launch Configurations window.

Result

The application print output appears in the virtual printout area.

End of Content Area