2016 Jan 07 10:32 AM
Hi All
I have defined a custom page format for a dot matrix printer .
The page format is as shown below :
This page format is assigned to a format type
I have used the page format in following way in my smart form
In the printer initialization for the format Z_WHT_FTY I have used below printer initialization commands :
First I copied printer initial commands from DINA4 and then made changes based on suggestions like :
I referred the link : http ://www.samplecodeabap.com/sap-custom-page-format/
And as per guideline below I made the printer initialization commands .
Kindly help in printer initialization command as still not the able to get correct output on dot matrix printer of page size : 24* 28 cm.
Thanks.
2016 Jan 11 3:59 PM
Hi,
The majority of dot matrix printers have their own set of command codes so you cannot just take any old set of dot matrix codes so saying 'a dotmatrix printer' is not going to get you anywhere.
SO, what make and model is your printer ?
You have shown the LPI, CPI and your page size. You also need to specify whether you require 'Skip Over Perforation' active.
Then get the printer manual from the web and apply the codes from there.
Rich
2016 Jan 11 3:59 PM
Hi,
The majority of dot matrix printers have their own set of command codes so you cannot just take any old set of dot matrix codes so saying 'a dotmatrix printer' is not going to get you anywhere.
SO, what make and model is your printer ?
You have shown the LPI, CPI and your page size. You also need to specify whether you require 'Skip Over Perforation' active.
Then get the printer manual from the web and apply the codes from there.
Rich
2016 Jan 12 9:25 AM
Hi Richard .
Thanks for replying . We are using model OKI ML 5590 . I downloaded one printer manual but couldn't find the codes . Kindly help.
Thanks.
2016 Jan 12 10:53 AM
Hi,
What you have there is the printer specification.
Have a look at http://cdn.cnetcontent.com/91/63/9163b875-34d1-4e2e-89ba-94865340f78e.pdf and the chapter 'Control Codes'. It looks like it uses the Epson LQ control set so if the control codes you are after are not in the aboce list then loomfor Epson LQ control codes.
Regards
Rich
2016 Jan 18 11:36 AM
Hi Richard
I have gone through the Epson control codes , but still unable to understand how this will set in printer initialization . Kindly help.
2016 Jan 18 11:42 AM
Hi,
Create a new device type in Spad, (or copy for example the epson LQ550) then in the PRINT-CONTROLS tab find the correct control code and enter the hexadecimal printer control codes as specified.
In fact, I would try to start of with by defining the printer in SAP as an LQ550.
Rich