Skip to Content

Landscape and Portrait in dot matrix printer

Hi, I have this scenario; I have two smartforms, one of them is configured as portrait and the other one in landscape. Both are printed by the same program but unfortunately both are printed in portrait. The requirement is that for an specific stock movement we should print additional data that fits only in landscape but with the others we should use the portrait way and that's is why we have two smartforms. We achieve this changing the smartform to be issued at runtime by making an enhacement in program 'YBUS_M07DR';

if mseg-bwart = 'Z99'.

lf_formname = 'ZMYSMARTFORM_Z99'.

endif.

* determine smartform function module for invoice

call function 'SSF_FUNCTION_MODULE_NAME'

exporting formname = lf_formname

* variant = ' '

* direct_call = ' '

importing fm_name = lf_fm_name

exceptions no_form = 1

no_function_module = 2

others = 3.

However when printing in the dot matrix the printer prints the smartform as portrait because it is configured as portrait.

Is it possible to make the printer to decide to change to landscape or portrait according to the smartform? Is there a better alternative?

Best regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 12, 2014 at 06:00 PM

    What format type are you using, is another than DINA4 ?

    If it's different check in the SPAD the format type you are using in Page Format check if that format type support both displays:

    This is for DINA4 :


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.