can we force dot matrix printer to Start the Printing from the Begining of the next page for every printout ?
-
Hi All,:) i m trying to produce printout for the gas reimbursement slips (those are continue sheets use in dmp) and i m producing print out through microsoft Excel printout is ok But I want that if the next printing command is give by user the printing is starts at the beigning of the next page this time it is start from where the printer stops i m using the code is :~ X| Finally i want to Start the Printing from the Begining of the next page?
ExlWorkSheet.PageSetup.PaperSize = Excel.XlPaperSize.lPaperEnvelopeMonarch; ExlWorkSheet.PageSetup.Orientation = Excel.XlPageOrientation.xlPortrait; ExlWorkBook.PrintOut(1, 1, 1, false, val, false, false, val);
where ExlWorkSheet and ExlWorkBook are excel workbook and sheet object. :rose: Please help me.........:confused: X|Nikesh Kr. Yadav Programing is easiest with .Net
-
Hi All,:) i m trying to produce printout for the gas reimbursement slips (those are continue sheets use in dmp) and i m producing print out through microsoft Excel printout is ok But I want that if the next printing command is give by user the printing is starts at the beigning of the next page this time it is start from where the printer stops i m using the code is :~ X| Finally i want to Start the Printing from the Begining of the next page?
ExlWorkSheet.PageSetup.PaperSize = Excel.XlPaperSize.lPaperEnvelopeMonarch; ExlWorkSheet.PageSetup.Orientation = Excel.XlPageOrientation.xlPortrait; ExlWorkBook.PrintOut(1, 1, 1, false, val, false, false, val);
where ExlWorkSheet and ExlWorkBook are excel workbook and sheet object. :rose: Please help me.........:confused: X|Nikesh Kr. Yadav Programing is easiest with .Net
Try printing a form-feed character 0xC (?) at the start of every slip. Not sure how to configure the printer to recognise the length of a slip though :P
Mark Churchill Director Dunn & Churchill
-
Try printing a form-feed character 0xC (?) at the start of every slip. Not sure how to configure the printer to recognise the length of a slip though :P
Mark Churchill Director Dunn & Churchill
Sir, i m using 4 inch X 12 inch slip.please give me code or logic:) thanks for your reply.
help as a alias. Be happy and make others happy.Cheer up...........