10-05-2007 12:46 PM
Dear Friends,
How to get default printer name? here in my module pool program I am using the print button ones I click the Print button the report output should go default printer.
This is my syntax which I am using.
NEW-PAGE PRINT ON DESTINATION 'LOCL'
In place of LOCL....I need to give the printer name.
Need one more..At the same time I need to display the report output. is it possible? i will look at this later but I need solution to my first query..
Thanks in advance
Sridhar.
10-05-2007 12:49 PM
Hi,
Check the table USR01-SLPD.
It gives the Default Printer Name.
Thanks,
Reward If Helpful.
10-05-2007 12:52 PM
Hi Sridhar,
If you are using Script.
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.
Regards,
Hemant
10-05-2007 1:04 PM
Hi,
YOu can set your printer as default by executing transaction SU3.
Goto PARAMETERS tab & type LOCL.. in the value ..enter the printer name,..
SAVE it
You can get the printer name from SPAD transaction.
SPAD=>Output Devices.. Will list down all devices.. use the 4 character device type name.
Best regards,
Prashant
10-05-2007 1:08 PM