Printing with SmartForms - Method 1: Printing with cab device type

Importing cab device type into SAP system


Instructions

Enter “spad” in the search field of the spool administration in the SAP system environment

In the menu bar, select “Utilities” → “To device types” → “Import”

Enter the desired device type in the subsequent window and confirm your entry

Select the PRI file.

Confirm the following message

If the import was successful, you will see this message

Creating output device with the cab device type

The following instructions apply to printing from SAP on a local Windows printer
For other configurations, please search SAP for the relevant instructions


Instructions

In the SAP system environment, enter “spad” in the search field of the spool administration

Click on “Display” in the “Output devices” line

Press the F8 function key to access change mode.

Select “Output device” → “Create”

Select the previously imported PDL driver and assign a name for the output device

Switch to the “Host spool coupling” view
Enter “G” as the coupling type and “_DEFAULT” as the host printer. Save these entries

Creating a SmartForms report


Instructions

The first step is to create a barcode type
Enter “SE73” in the search field in the SAP system environment

Select “System barcodes” and “Change” to display all system barcodes

Select “Create”

Click on “New” in the next window

Enter the desired barcode name and a short text. Confirm the entries

Select the desired barcode.

Confirm the selection and “Normal” as the barcode orientation

Define the other barcode parameters. Confirm each until the barcode is created

The Smart Style follows the creation of a barcode
In the SAP system environment, query “SmartStyles” in the search field
Enter the style name in the “Style” field (e.g. Y_CAB_SmartStyle). Confirm “Create”

Click on “Drawing formats” with the right button of your mouse. Select “Create node”

Enter “B1”, for example, in the subsequent window and confirm your entry

Enter information in the “Meaning” field
Select the previously created barcode under “Default settings” → “Barcode”

 

Create another node under “Character formats” and name it, for example “C1”

Under “C1”, switch to the “Font” tab
Select the desired font and the other settings for this

Click on “Paragraph formats” with the right button of your mouse. Select “Create node”
Enter “A1” in the subsequent window and confirm your entry

Enter information in the “Meaning” field

Select the standard paragraph “A1” in the “Header data” folder. Save the form

Activate the SmartStyle

A SmartForm follows the creation of a barcode and the Smart Style
In the SAP system environment, search for “Smartforms” in the search field
Enter the form name in the “Form” field (e.g. Y_CAB_SmartForm). Confirm “Create”

Continue clicking to open the SmartForms Editor
Select “Output options” to save the previously created SmartStyle
Enter “Y_CAB_SMARTSTYLE” in the “Style” field

Select the “Pages and windows” folder
Right-click with your mouse on “%PAGE1 New page”


Select “Create” → “Window” to add a new window

Set the position and size of the labels. To do this, switch to “Output options”

Right-click with your mouse on “%WINDOW1 New window”
Select “Create” → “Text” to add a new text

Enter the desired SmartStyle under “%TEXT1 New text 1” → “Output options”
(e.g. “Y_CAB_SMARTSTYLE”)

Switch to “General properties” and open the text editor

Fill the SmartForm Editor with information for the test print

Select “Text” → “Exit” in the menu bar

Save your entry and select “Local object” in the next window

Activate the SmartForm

Test the print output (F8)

Select Test / Execute in the “Function block” area

Select “FBlocks” → “Execute” (F8) in the menu bar

Enter the previously created device “cab_new” in the “Output device” field
Activate “Output immediately” in the spool control

Start the output by clicking on “Print”

Gültig für: SQUIX , MACH 4S , HERMES Q , XC Q , XD Q , 3. Printing with SmartForms

Ultima modifica dell’articolo: 11.02.2025 - 09:18


Zurück zur FAQ-Übersicht

cab Produkttechnik GmbH & Co KG

Wilhelm-Schickard-Str. 14
76131 Karlsruhe
Germania

Chiamarci prego
Scrivetenoi una email
Richiesta di assistenza

cab Newsletter

Con la newsletter di cab, vi teniamo periodicamente informati per e-mail su tutto quello che riguarda l’etichettatura dei prodotti. Lei potrà cancellare l’iscrizione alla newsletter in qualunque momento.

Abbonatevi subito!
Annullare l’iscrizione alla newsletter

cab è presente anche su: