Using the PIOS Emulator for the Printer
Peripheral Type
This procedure provides an overview about using the Peripheral I/O Emulator for the printer peripheral type.
...
1. Write code that uses the Printer API of the SAP NetWeaver Mobile client API.
2.
Choose
Launch the Peripheral I/O Emulator to open
the PIOS Emulator.
3.
Choose
On/Offline to set the Emulator
offline.
4.
Choose
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
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.
This is used only for the barcode’s Human Readable attribute.
c. Set the printing resolution for the emulator printer.
6.
Choose
On/Offline to set the Emulator
online.

Make sure the Emulator is Online by checking the Status property on the State Buffer.
5.
Choose
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.
The application print output appears in the virtual printout area.