Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. can we force dot matrix printer to Start the Printing from the Begining of the next page for every printout ?

can we force dot matrix printer to Start the Printing from the Begining of the next page for every printout ?

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    help as an alias
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • H help as an alias

      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

      M Offline
      M Offline
      Mark Churchill
      wrote on last edited by
      #2

      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

      H 1 Reply Last reply
      0
      • M Mark 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

        H Offline
        H Offline
        help as an alias
        wrote on last edited by
        #3

        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...........

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups