cancel
Showing results for 
Search instead for 
Did you mean: 

Printer issue

Former Member
0 Kudos

When we develop form is it printer specific?

I developed a form using default local printer. When some other user prints the forms the data is not displayed properly(aligment id getting messed up). What should I do?

Thanks,

AP

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

how did u assign the printer,

try this

In the OPEN_FORM function, you will find a parameter 'DEVICE'

Pass your printer name to this.. it will automatically take this printer for spool.

use the FM FTR_CORR_CHECK_DEFAULT_PRINTER to get the printer for that user and then pass this to DEVICE

Former Member
0 Kudos

Chandrasekhar-

I did not assign the printer as I want to send the PDF file. Without setting the printer how can I manage.

Thanks

Former Member
0 Kudos

Chandrasekhar-

This is for smart form. Sending PDF email using smart form.

Thanks.

Former Member
0 Kudos

smart form is definetly a printer dependent

if you have developed it using LOCL then it will have layout like some alignment issue ..

you have 2 options :

1. check the real printer and adjust accordingly

2.check what printer r u using i mean there will a printer assigned to ur device type LOCL it will be like HP 4000...HP5000....

you need to use the same printer for the original device as well then you need not make any changes

Reward points if found useful

Regards,

KK

Former Member
0 Kudos

KK-

Can you clarify point 2.

Thanks.

Former Member
0 Kudos

Hi,

The form (SAPscript or Smartform) is assigned a Page format.

The page format is defined in transaction SPAD

The page format is assigned to a Format Type

The Format type is assigned to a Device Type

The Device type is assigned to a printer

The printer will then print via either a frontend printer, operating system printer or networked printer. And all of these could use different drivers.

So, while the form is only assigned to a page format, there's a lot that can vary between there and the physical printer.

Regards,

Nick

Former Member
0 Kudos

Nick-

I developed a from in smart form to send it as PDF attachment in email. It worked fine but I have a issue.

When I send PDF it send in the way the the layout was designed but if some user sends it the fields are printed zigzag. Alignment is getting messed up. I have page layout defined in the smartfom. I am not printing the form so no printer is involved in development.

How to handle the issue?

Thanks.

Former Member
0 Kudos

Any suggestions please.

Thanks